Package | Description |
---|---|
org.apache.mahout.cf.taste.impl.recommender | |
org.apache.mahout.cf.taste.impl.similarity | |
org.apache.mahout.cf.taste.impl.similarity.file |
Modifier and Type | Method and Description |
---|---|
ItemSimilarity |
GenericItemBasedRecommender.getSimilarity() |
Constructor and Description |
---|
AllSimilarItemsCandidateItemsStrategy(ItemSimilarity similarity) |
GenericBooleanPrefItemBasedRecommender(DataModel dataModel,
ItemSimilarity similarity) |
GenericBooleanPrefItemBasedRecommender(DataModel dataModel,
ItemSimilarity similarity,
CandidateItemsStrategy candidateItemsStrategy,
MostSimilarItemsCandidateItemsStrategy mostSimilarItemsCandidateItemsStrategy) |
GenericItemBasedRecommender(DataModel dataModel,
ItemSimilarity similarity) |
GenericItemBasedRecommender(DataModel dataModel,
ItemSimilarity similarity,
CandidateItemsStrategy candidateItemsStrategy,
MostSimilarItemsCandidateItemsStrategy mostSimilarItemsCandidateItemsStrategy) |
MostSimilarEstimator(long toItemID,
ItemSimilarity similarity,
Rescorer<LongPair> rescorer) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractItemSimilarity |
class |
CachingItemSimilarity
Caches the results from an underlying
ItemSimilarity implementation. |
class |
CityBlockSimilarity
Implementation of City Block distance (also known as Manhattan distance) - the absolute value of the difference of
each direction is summed.
|
class |
EuclideanDistanceSimilarity
An implementation of a "similarity" based on the Euclidean "distance" between two users X and Y.
|
class |
GenericItemSimilarity
A "generic"
ItemSimilarity which takes a static list of precomputed item similarities and bases its
responses on that alone. |
class |
LogLikelihoodSimilarity
|
class |
PearsonCorrelationSimilarity
An implementation of the Pearson correlation.
|
class |
TanimotoCoefficientSimilarity
An implementation of a "similarity" based on the
Tanimoto coefficient, or extended Jaccard
coefficient.
|
class |
UncenteredCosineSimilarity
An implementation of the cosine similarity.
|
Constructor and Description |
---|
CachingItemSimilarity(ItemSimilarity similarity,
DataModel dataModel)
Creates this on top of the given
ItemSimilarity . |
CachingItemSimilarity(ItemSimilarity similarity,
int maxCacheSize)
Creates this on top of the given
ItemSimilarity . |
GenericItemSimilarity(ItemSimilarity otherSimilarity,
DataModel dataModel)
Builds a list of item-item similarities given an
ItemSimilarity implementation and a
DataModel , rather than a list of GenericItemSimilarity.ItemItemSimilarity s. |
GenericItemSimilarity(ItemSimilarity otherSimilarity,
DataModel dataModel,
int maxToKeep)
Like
GenericItemSimilarity.GenericItemSimilarity(ItemSimilarity, DataModel) )}, but will only keep the specified
number of similarities from the given DataModel . |
Modifier and Type | Class and Description |
---|---|
class |
FileItemSimilarity
An
ItemSimilarity backed by a comma-delimited file. |
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.