Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
H
I
L
M
N
O
R
S
T
V
W
A
AccessRecommendedFeatures
- Class in
org.unigram.likelike.util.accessor.cassandra
AccessRecommendedFeatures(Configuration)
- Constructor for class org.unigram.likelike.util.accessor.cassandra.
AccessRecommendedFeatures
AccessRelatedExamples
- Class in
org.unigram.likelike.util.accessor.cassandra
AccessRelatedExamples(Configuration)
- Constructor for class org.unigram.likelike.util.accessor.cassandra.
AccessRelatedExamples
AddFeatureMapper
- Class in
org.unigram.likelike.util
AddFeatureMapper()
- Constructor for class org.unigram.likelike.util.
AddFeatureMapper
AddFeatureReducer
- Class in
org.unigram.likelike.util
AddFeatureReducer()
- Constructor for class org.unigram.likelike.util.
AddFeatureReducer
C
CalcHashValue
- Class in
org.unigram.likelike.lsh.function
Calculate the hashed value for input.
CalcHashValue()
- Constructor for class org.unigram.likelike.lsh.function.
CalcHashValue
Constructor.
Candidate
- Class in
org.unigram.likelike.common
Candidate()
- Constructor for class org.unigram.likelike.common.
Candidate
Default Constructor.
Candidate(LongWritable, LongWritable)
- Constructor for class org.unigram.likelike.common.
Candidate
Constructor.
CASSANDRA_COLUMNFAMILY_NAME
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
symbol: cassandra columnfamily name.
CASSANDRA_KEYSPACE_NAME
- Static variable in class org.unigram.likelike.util.accessor.
CassandraWriter
symbol: cassandra keyspace name.
CASSANDRA_PORT
- Static variable in class org.unigram.likelike.util.accessor.
CassandraWriter
symbol: cassandra port.
CASSANDRA_SERVER_NAME
- Static variable in class org.unigram.likelike.util.accessor.
CassandraWriter
symbol: cassandra server name.
CassandraWriter
- Class in
org.unigram.likelike.util.accessor
CassandraWriter(Configuration)
- Constructor for class org.unigram.likelike.util.accessor.
CassandraWriter
checkPath(Path, FileSystem)
- Static method in class org.unigram.likelike.common.
FsUtil
Check a file or directory exist.
checkPath(Path, Configuration)
- Static method in class org.unigram.likelike.common.
FsUtil
Check a file or directory exist.
clean(FileSystem, String...)
- Static method in class org.unigram.likelike.common.
FsUtil
Delete files.
compareTo(Candidate)
- Method in class org.unigram.likelike.common.
Candidate
Compare query into another one.
compareTo(SeedClusterId)
- Method in class org.unigram.likelike.common.
SeedClusterId
Compare this into given one.
COUNTER_GROUP
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
symbol: counter group.
D
DEFAULT_CASSANDRA_COLUMNFAMILY_NAME
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
default: output table name.
DEFAULT_CASSANDRA_KEYSPACE_NAME
- Static variable in class org.unigram.likelike.util.accessor.
CassandraWriter
default: output type.
DEFAULT_CASSANDRA_PORT
- Static variable in class org.unigram.likelike.util.accessor.
CassandraWriter
default: output type.
DEFAULT_CASSANDRA_SERVER_NAME
- Static variable in class org.unigram.likelike.util.accessor.
CassandraWriter
default: output type.
DEFAULT_FEATURE_DEPTH
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
default: feature.
DEFAULT_HASH_FUNCTION
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
default: default hash function.
DEFAULT_LIKELIKE_OUTPUT_WRITER
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
default: output type.
DEFAULT_MAX_CLUSTER_SIZE
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
default: maximum cluster size.
DEFAULT_MAX_OUTPUT_SIZE
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
default: maximum number of output for one example.
DEFAULT_MIN_CLUSTER_SIZE
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
default: minimum cluster size.
DEFAULT_MINWISE_HASH_SEEDS
- Static variable in class org.unigram.likelike.lsh.
SelectClustersMapper
Default: hash seed.
DEFAULT_NUMBER_OF_REDUCES
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
default: number of reducers.
DEFAULT_VALIDATION_THRESHOLD
- Static variable in class org.unigram.likelike.validate.
ValidationConstants
default: threshold.
DFSWriter
- Class in
org.unigram.likelike.util.accessor
DFSWriter(Configuration)
- Constructor for class org.unigram.likelike.util.accessor.
DFSWriter
E
equals(Object)
- Method in class org.unigram.likelike.common.
Candidate
Validate assigned Object(should Query instance) is the same as this.
equals(Object)
- Method in class org.unigram.likelike.common.
RelatedUsersWritable
equals.
equals(Object)
- Method in class org.unigram.likelike.common.
SeedClusterId
equals.
F
FEATURE_DEPTH
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
symbol: depth.
FeatureExtraction
- Class in
org.unigram.likelike.feature
FeatureExtraction()
- Constructor for class org.unigram.likelike.feature.
FeatureExtraction
FeatureExtractionMapper
- Class in
org.unigram.likelike.feature
FeatureExtractionMapper()
- Constructor for class org.unigram.likelike.feature.
FeatureExtractionMapper
FeatureExtractionReducer
- Class in
org.unigram.likelike.feature
FeatureExtractionReducer()
- Constructor for class org.unigram.likelike.feature.
FeatureExtractionReducer
FsUtil
- Class in
org.unigram.likelike.common
File utility class.
G
getClusterId()
- Method in class org.unigram.likelike.common.
SeedClusterId
get cluster id.
getId()
- Method in class org.unigram.likelike.common.
Candidate
Get userId who submit the query string.
getLogger(String)
- Static method in class org.unigram.likelike.common.
LikelikeLogger
Return LikelikeLogger object.
getLogger()
- Static method in class org.unigram.likelike.common.
LikelikeLogger
Return logger objects reference.
getRecommendations(String, String, Configuration, FileSystem)
- Method in class org.unigram.likelike.lsh.
LSHRecommendations
Get items to be recommended.
GetRecommendationsMapper
- Class in
org.unigram.likelike.lsh
Mapper.
GetRecommendationsMapper()
- Constructor for class org.unigram.likelike.lsh.
GetRecommendationsMapper
GetRecommendationsReducer
- Class in
org.unigram.likelike.lsh
Reducer implementation.
GetRecommendationsReducer()
- Constructor for class org.unigram.likelike.lsh.
GetRecommendationsReducer
getRelatedUsers()
- Method in class org.unigram.likelike.common.
RelatedUsersWritable
Get related users.
getSeed()
- Method in class org.unigram.likelike.common.
SeedClusterId
get hash seed.
getSize()
- Method in class org.unigram.likelike.common.
Candidate
Get the time when user submitted query.
H
HASH_FUNCTION
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
symbol: hash function.
hashCode()
- Method in class org.unigram.likelike.common.
Candidate
hashCode.
hashCode()
- Method in class org.unigram.likelike.common.
RelatedUsersWritable
hashCode.
hashCode()
- Method in class org.unigram.likelike.common.
SeedClusterId
hasCode.
I
IdentityReducer
- Class in
org.unigram.likelike.util
IdentityReducer()
- Constructor for class org.unigram.likelike.util.
IdentityReducer
IHashFunction
- Interface in
org.unigram.likelike.lsh.function
Interface hash function for LSH.
InverseMapper
- Class in
org.unigram.likelike.util
InverseMapper()
- Constructor for class org.unigram.likelike.util.
InverseMapper
IReader
- Interface in
org.unigram.likelike.util.accessor
IWriter
- Interface in
org.unigram.likelike.util.accessor
L
LIKELIKE_CASSANDRA_FEATURE_EXTRACTION_COLUMNFAMILY_NAME
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
LIKELIKE_CASSANDRA_LSH_COLUMNFAMILY_NAME
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
LIKELIKE_INPUT_RECORDS
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
symbol: number of input records.
LIKELIKE_LOGGER
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
symbol: logger.
LIKELIKE_OUTPUT_WRITER
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
symbol: output type.
LikelikeConstants
- Class in
org.unigram.likelike.common
Contains constans used in Likelike.
LikelikeException
- Exception in
org.unigram.likelike.common
LikelikeException.
LikelikeException()
- Constructor for exception org.unigram.likelike.common.
LikelikeException
Default constructor.
LikelikeException(Throwable)
- Constructor for exception org.unigram.likelike.common.
LikelikeException
Constructor.
LikelikeException(String, Throwable)
- Constructor for exception org.unigram.likelike.common.
LikelikeException
Constructor.
LikelikeException(String)
- Constructor for exception org.unigram.likelike.common.
LikelikeException
Constructor.
LikelikeLogger
- Class in
org.unigram.likelike.common
Logger.
logConfig(String)
- Method in class org.unigram.likelike.common.
LikelikeLogger
Flush msg for configuration information.
logFine(String)
- Method in class org.unigram.likelike.common.
LikelikeLogger
Flush msg to tell the state is fine.
logger
- Variable in class org.unigram.likelike.lsh.
LSHRecommendations
logger.
logInfo(String)
- Method in class org.unigram.likelike.common.
LikelikeLogger
Flush msg as log information.
logSevere(String)
- Method in class org.unigram.likelike.common.
LikelikeLogger
Flush msg as Severe Information.
logWarning(String)
- Method in class org.unigram.likelike.common.
LikelikeLogger
Flush msg as warning.
LSHRecommendations
- Class in
org.unigram.likelike.lsh
Extract recommendations for input examples.
LSHRecommendations()
- Constructor for class org.unigram.likelike.lsh.
LSHRecommendations
M
main(String[])
- Static method in class org.unigram.likelike.feature.
FeatureExtraction
Main method.
main(String[])
- Static method in class org.unigram.likelike.lsh.
LSHRecommendations
Main method.
main(String[])
- Static method in class org.unigram.likelike.validate.
Validation
Main method.
map(LongWritable, Text, Mapper<LongWritable, Text, LongWritable, Text>.Context)
- Method in class org.unigram.likelike.feature.
FeatureExtractionMapper
map.
map(SeedClusterId, RelatedUsersWritable, Mapper<SeedClusterId, RelatedUsersWritable, LongWritable, Candidate>.Context)
- Method in class org.unigram.likelike.lsh.
GetRecommendationsMapper
Map method.
map(LongWritable, Text, Mapper<LongWritable, Text, Text, Text>.Context)
- Method in class org.unigram.likelike.lsh.
ReassignClusterIDsMapper
map.
map(LongWritable, Text, Mapper<LongWritable, Text, SeedClusterId, Text>.Context)
- Method in class org.unigram.likelike.lsh.
SelectClustersMapper
map.
map(LongWritable, Text, Mapper<LongWritable, Text, Text, Text>.Context)
- Method in class org.unigram.likelike.lsh.
SortClusterIDsMapper
map.
map(LongWritable, Text, Mapper<LongWritable, Text, LongWritable, Text>.Context)
- Method in class org.unigram.likelike.util.
AddFeatureMapper
Map method.
map(LongWritable, Text, Mapper<LongWritable, Text, LongWritable, Text>.Context)
- Method in class org.unigram.likelike.util.
InverseMapper
Map method.
map(LongWritable, Text, Mapper<LongWritable, Text, LongWritable, Text>.Context)
- Method in class org.unigram.likelike.validate.
ValidationMapper
map.
MAX_CLUSTER_SIZE
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
symbol: maximum cluster size.
MAX_OUTPUT_SIZE
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
symbol: maximum number of recommendation per example.
MIN_CLUSTER_SIZE
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
symbol: minimum cluster size.
MINWISE_HASH_SEEDS
- Static variable in class org.unigram.likelike.lsh.
SelectClustersMapper
Symbol: hash seed.
MinWiseFunction
- Class in
org.unigram.likelike.lsh.function
MinWiseFunction.
MinWiseFunction(Configuration)
- Constructor for class org.unigram.likelike.lsh.function.
MinWiseFunction
Constructor.
N
NUMBER_OF_REDUCES
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
symbol: number of reducers.
O
org.unigram.likelike.common
- package org.unigram.likelike.common
org.unigram.likelike.feature
- package org.unigram.likelike.feature
org.unigram.likelike.lsh
- package org.unigram.likelike.lsh
org.unigram.likelike.lsh.function
- package org.unigram.likelike.lsh.function
org.unigram.likelike.util
- package org.unigram.likelike.util
org.unigram.likelike.util.accessor
- package org.unigram.likelike.util.accessor
org.unigram.likelike.util.accessor.cassandra
- package org.unigram.likelike.util.accessor.cassandra
org.unigram.likelike.validate
- package org.unigram.likelike.validate
R
read(Long)
- Method in class org.unigram.likelike.util.accessor.cassandra.
AccessRecommendedFeatures
read(Long)
- Method in class org.unigram.likelike.util.accessor.cassandra.
AccessRelatedExamples
read(Long)
- Method in class org.unigram.likelike.util.accessor.
CassandraWriter
read(Long)
- Method in interface org.unigram.likelike.util.accessor.
IReader
readFields(DataInput)
- Method in class org.unigram.likelike.common.
Candidate
Read the serialized the query information.
readFields(DataInput)
- Method in class org.unigram.likelike.common.
RelatedUsersWritable
Create RelatedUsersWritable from input stream.
readFields(DataInput)
- Method in class org.unigram.likelike.common.
SeedClusterId
readFields.
ReassignClusterIDsMapper
- Class in
org.unigram.likelike.lsh
ReassignClusterIDsMapper.
ReassignClusterIDsMapper()
- Constructor for class org.unigram.likelike.lsh.
ReassignClusterIDsMapper
ReassignClusterIDsReducer
- Class in
org.unigram.likelike.lsh
ReassignClusterIDsReducer.
ReassignClusterIDsReducer()
- Constructor for class org.unigram.likelike.lsh.
ReassignClusterIDsReducer
reduce(LongWritable, Iterable<Text>, Reducer<LongWritable, Text, LongWritable, LongWritable>.Context)
- Method in class org.unigram.likelike.feature.
FeatureExtractionReducer
reduce.
reduce(LongWritable, Iterable<Candidate>, Reducer<LongWritable, Candidate, LongWritable, LongWritable>.Context)
- Method in class org.unigram.likelike.lsh.
GetRecommendationsReducer
reduce.
reduce(Text, Iterable<Text>, Reducer<Text, Text, Text, Text>.Context)
- Method in class org.unigram.likelike.lsh.
ReassignClusterIDsReducer
Reduce.
reduce(SeedClusterId, Iterable<Text>, Reducer<SeedClusterId, Text, SeedClusterId, Text>.Context)
- Method in class org.unigram.likelike.lsh.
SelectClustersReducer
Reduce.
reduce(Text, Iterable<Text>, Reducer<Text, Text, Text, Text>.Context)
- Method in class org.unigram.likelike.lsh.
SortClusterIDsReducer
Reduce.
reduce(LongWritable, Iterable<Text>, Reducer<LongWritable, Text, LongWritable, Text>.Context)
- Method in class org.unigram.likelike.util.
AddFeatureReducer
Reduce method.
reduce(LongWritable, Iterable<Text>, Reducer<LongWritable, Text, LongWritable, Text>.Context)
- Method in class org.unigram.likelike.util.
IdentityReducer
Reduce method.
reduce(LongWritable, Iterable<Text>, Reducer<LongWritable, Text, LongWritable, Text>.Context)
- Method in class org.unigram.likelike.validate.
ValidationReducer
Reduce method.
RelatedUsersWritable
- Class in
org.unigram.likelike.common
RelatedUsersWritable()
- Constructor for class org.unigram.likelike.common.
RelatedUsersWritable
Constructor.
RelatedUsersWritable(List<LongWritable>)
- Constructor for class org.unigram.likelike.common.
RelatedUsersWritable
Constructor.
RelatedUsersWritable(Long)
- Constructor for class org.unigram.likelike.common.
RelatedUsersWritable
Constructor.
returnClusterId(Set<Long>, long)
- Method in interface org.unigram.likelike.lsh.function.
IHashFunction
Compute hashing function.
returnClusterId(Set<Long>, long)
- Method in class org.unigram.likelike.lsh.function.
MinWiseFunction
Return cluster id on the hash value for input feature vector.
run(String[])
- Method in class org.unigram.likelike.feature.
FeatureExtraction
run.
run(String[], Configuration)
- Method in class org.unigram.likelike.feature.
FeatureExtraction
run.
run(long, long)
- Method in class org.unigram.likelike.lsh.function.
CalcHashValue
Create hashed value from the given parameter and seed.
run(String[])
- Method in class org.unigram.likelike.lsh.
LSHRecommendations
Run from ToolRunner.
run(String[], Configuration)
- Method in class org.unigram.likelike.lsh.
LSHRecommendations
Run.
run(String[])
- Method in class org.unigram.likelike.validate.
Validation
Run.
run(String[], Configuration)
- Method in class org.unigram.likelike.validate.
Validation
Run.
S
SeedClusterId
- Class in
org.unigram.likelike.common
SeedClusterId()
- Constructor for class org.unigram.likelike.common.
SeedClusterId
Constructor.
SeedClusterId(long, long)
- Constructor for class org.unigram.likelike.common.
SeedClusterId
Constructor.
SelectClustersMapper
- Class in
org.unigram.likelike.lsh
SelectClustersMapper.
SelectClustersMapper()
- Constructor for class org.unigram.likelike.lsh.
SelectClustersMapper
SelectClustersReducer
- Class in
org.unigram.likelike.lsh
SelectClustersReducer.
SelectClustersReducer()
- Constructor for class org.unigram.likelike.lsh.
SelectClustersReducer
setResultConf(Counters, Configuration)
- Method in class org.unigram.likelike.lsh.
LSHRecommendations
Add the configuration information from the result of extract candidates to conf.
setup(Reducer<LongWritable, Text, LongWritable, LongWritable>.Context)
- Method in class org.unigram.likelike.feature.
FeatureExtractionReducer
setup.
setup(Reducer<LongWritable, Candidate, LongWritable, LongWritable>.Context)
- Method in class org.unigram.likelike.lsh.
GetRecommendationsReducer
setup.
setup(Mapper<LongWritable, Text, Text, Text>.Context)
- Method in class org.unigram.likelike.lsh.
ReassignClusterIDsMapper
setup.
setup(Reducer<Text, Text, Text, Text>.Context)
- Method in class org.unigram.likelike.lsh.
ReassignClusterIDsReducer
setup.
setup(Mapper<LongWritable, Text, SeedClusterId, Text>.Context)
- Method in class org.unigram.likelike.lsh.
SelectClustersMapper
setup.
setup(Reducer<SeedClusterId, Text, SeedClusterId, Text>.Context)
- Method in class org.unigram.likelike.lsh.
SelectClustersReducer
setup.
setup(Mapper<LongWritable, Text, Text, Text>.Context)
- Method in class org.unigram.likelike.lsh.
SortClusterIDsMapper
setup.
setup(Reducer<Text, Text, Text, Text>.Context)
- Method in class org.unigram.likelike.lsh.
SortClusterIDsReducer
setup.
setup(Reducer<LongWritable, Text, LongWritable, Text>.Context)
- Method in class org.unigram.likelike.validate.
ValidationReducer
setup.
showParameters()
- Method in class org.unigram.likelike.lsh.
LSHRecommendations
Show parameters for FreqentNGramExtraction.
SortClusterIDsMapper
- Class in
org.unigram.likelike.lsh
SortClusterIDsMapper.
SortClusterIDsMapper()
- Constructor for class org.unigram.likelike.lsh.
SortClusterIDsMapper
SortClusterIDsReducer
- Class in
org.unigram.likelike.lsh
SortClusterIDsReducer.
SortClusterIDsReducer()
- Constructor for class org.unigram.likelike.lsh.
SortClusterIDsReducer
T
tokenize(String, String)
- Static method in class org.unigram.likelike.lsh.
ReassignClusterIDsMapper
tokenize(Text, String)
- Static method in class org.unigram.likelike.lsh.
ReassignClusterIDsMapper
tokenize(String, String)
- Static method in class org.unigram.likelike.lsh.
ReassignClusterIDsReducer
tokenize(Text, String)
- Static method in class org.unigram.likelike.lsh.
ReassignClusterIDsReducer
tokenize(String, String)
- Static method in class org.unigram.likelike.lsh.
SelectClustersMapper
tokenize(Text, String)
- Static method in class org.unigram.likelike.lsh.
SelectClustersMapper
tokenize(String, String)
- Static method in class org.unigram.likelike.lsh.
SelectClustersReducer
tokenize(Text, String)
- Static method in class org.unigram.likelike.lsh.
SelectClustersReducer
tokenize(String, String)
- Static method in class org.unigram.likelike.lsh.
SortClusterIDsMapper
tokenize(Text, String)
- Static method in class org.unigram.likelike.lsh.
SortClusterIDsMapper
toString()
- Method in class org.unigram.likelike.common.
RelatedUsersWritable
Create String.
toString()
- Method in class org.unigram.likelike.common.
SeedClusterId
toString.
V
Validation
- Class in
org.unigram.likelike.validate
Validation()
- Constructor for class org.unigram.likelike.validate.
Validation
VALIDATION_THRESHOLD
- Static variable in class org.unigram.likelike.validate.
ValidationConstants
symbol: selector class name.
ValidationConstants
- Class in
org.unigram.likelike.validate
ValidationConstants()
- Constructor for class org.unigram.likelike.validate.
ValidationConstants
ValidationMapper
- Class in
org.unigram.likelike.validate
ValidationMapper()
- Constructor for class org.unigram.likelike.validate.
ValidationMapper
ValidationReducer
- Class in
org.unigram.likelike.validate
ValidationReducer()
- Constructor for class org.unigram.likelike.validate.
ValidationReducer
VERSION
- Static variable in class org.unigram.likelike.common.
LikelikeConstants
version.
W
write(DataOutput)
- Method in class org.unigram.likelike.common.
Candidate
Write the query information for serialization.
write(DataOutput)
- Method in class org.unigram.likelike.common.
RelatedUsersWritable
write.
write(DataOutput)
- Method in class org.unigram.likelike.common.
SeedClusterId
write.
write(Long, Long, Reducer.Context)
- Method in class org.unigram.likelike.util.accessor.cassandra.
AccessRecommendedFeatures
write(Long, Long, Reducer.Context)
- Method in class org.unigram.likelike.util.accessor.cassandra.
AccessRelatedExamples
write(Long, Long, Reducer.Context)
- Method in class org.unigram.likelike.util.accessor.
CassandraWriter
write(Long, Long, Reducer.Context)
- Method in class org.unigram.likelike.util.accessor.
DFSWriter
write(Long, Long, Reducer.Context)
- Method in interface org.unigram.likelike.util.accessor.
IWriter
A
C
D
E
F
G
H
I
L
M
N
O
R
S
T
V
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes