|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of PreferenceArray in org.apache.mahout.cf.taste.eval |
---|
Method parameters in org.apache.mahout.cf.taste.eval with type arguments of type PreferenceArray | |
---|---|
DataModel |
DataModelBuilder.buildDataModel(FastByIDMap<PreferenceArray> trainingData)
Builds a DataModel implementation to be used in an evaluation, given training data. |
void |
RelevantItemsDataSplitter.processOtherUser(long userID,
FastIDSet relevantItemIDs,
FastByIDMap<PreferenceArray> trainingUsers,
long otherUserID,
DataModel dataModel)
Adds a single user and all their preferences to the training model. |
Uses of PreferenceArray in org.apache.mahout.cf.taste.impl.eval |
---|
Method parameters in org.apache.mahout.cf.taste.impl.eval with type arguments of type PreferenceArray | |
---|---|
void |
GenericRelevantItemsDataSplitter.processOtherUser(long userID,
FastIDSet relevantItemIDs,
FastByIDMap<PreferenceArray> trainingUsers,
long otherUserID,
DataModel dataModel)
|
Constructors in org.apache.mahout.cf.taste.impl.eval with parameters of type PreferenceArray | |
---|---|
AbstractDifferenceRecommenderEvaluator.PreferenceEstimateCallable(Recommender recommender,
long testUserID,
PreferenceArray prefs,
AtomicInteger noEstimateCounter)
|
Uses of PreferenceArray in org.apache.mahout.cf.taste.impl.model |
---|
Classes in org.apache.mahout.cf.taste.impl.model that implement PreferenceArray | |
---|---|
class |
BooleanItemPreferenceArray
Like BooleanUserPreferenceArray but stores preferences for one item (all item IDs the same) rather
than one user. |
class |
BooleanUserPreferenceArray
Like GenericUserPreferenceArray but stores, conceptually, BooleanPreference objects which
have no associated preference value. |
class |
GenericItemPreferenceArray
Like GenericUserPreferenceArray but stores preferences for one item (all item IDs the same) rather
than one user. |
class |
GenericUserPreferenceArray
Like GenericItemPreferenceArray but stores preferences for one user (all user IDs the same) rather
than one item. |
Methods in org.apache.mahout.cf.taste.impl.model that return PreferenceArray | |
---|---|
PreferenceArray |
PlusAnonymousUserDataModel.getPreferencesForItem(long itemID)
|
PreferenceArray |
PlusAnonymousConcurrentUserDataModel.getPreferencesForItem(long itemID)
|
PreferenceArray |
GenericDataModel.getPreferencesForItem(long itemID)
|
PreferenceArray |
GenericBooleanPrefDataModel.getPreferencesForItem(long itemID)
|
PreferenceArray |
PlusAnonymousUserDataModel.getPreferencesFromUser(long userID)
|
PreferenceArray |
PlusAnonymousConcurrentUserDataModel.getPreferencesFromUser(long userID)
|
PreferenceArray |
GenericDataModel.getPreferencesFromUser(long userID)
|
PreferenceArray |
GenericBooleanPrefDataModel.getPreferencesFromUser(long userID)
|
Methods in org.apache.mahout.cf.taste.impl.model that return types with arguments of type PreferenceArray | |
---|---|
FastByIDMap<PreferenceArray> |
GenericDataModel.getRawItemData()
This is used mostly internally to the framework, and shouldn't be relied upon otherwise. |
FastByIDMap<PreferenceArray> |
GenericDataModel.getRawUserData()
This is used mostly internally to the framework, and shouldn't be relied upon otherwise. |
static FastByIDMap<PreferenceArray> |
GenericDataModel.toDataMap(DataModel dataModel)
Exports the simple user IDs and preferences in the data model. |
static FastByIDMap<PreferenceArray> |
GenericDataModel.toDataMap(FastByIDMap<Collection<Preference>> data,
boolean byUser)
Swaps, in-place, List s for arrays in Map values . |
Methods in org.apache.mahout.cf.taste.impl.model with parameters of type PreferenceArray | |
---|---|
void |
PlusAnonymousUserDataModel.setTempPrefs(PreferenceArray prefs)
|
void |
PlusAnonymousConcurrentUserDataModel.setTempPrefs(PreferenceArray prefs,
long anonymousUserID)
Sets temporary preferences for a given anonymous user. |
Method parameters in org.apache.mahout.cf.taste.impl.model with type arguments of type PreferenceArray | |
---|---|
static FastByIDMap<FastIDSet> |
GenericBooleanPrefDataModel.toDataMap(FastByIDMap<PreferenceArray> data)
|
Constructor parameters in org.apache.mahout.cf.taste.impl.model with type arguments of type PreferenceArray | |
---|---|
GenericDataModel(FastByIDMap<PreferenceArray> userData)
Creates a new GenericDataModel from the given users (and their preferences). |
|
GenericDataModel(FastByIDMap<PreferenceArray> userData,
FastByIDMap<FastByIDMap<Long>> timestamps)
Creates a new GenericDataModel from the given users (and their preferences). |
Uses of PreferenceArray in org.apache.mahout.cf.taste.impl.model.file |
---|
Methods in org.apache.mahout.cf.taste.impl.model.file that return PreferenceArray | |
---|---|
PreferenceArray |
FileDataModel.getPreferencesForItem(long itemID)
|
PreferenceArray |
FileDataModel.getPreferencesFromUser(long userID)
|
Uses of PreferenceArray in org.apache.mahout.cf.taste.impl.recommender |
---|
Methods in org.apache.mahout.cf.taste.impl.recommender with parameters of type PreferenceArray | |
---|---|
protected float |
GenericItemBasedRecommender.doEstimatePreference(long userID,
PreferenceArray preferencesFromUser,
long itemID)
|
protected float |
GenericBooleanPrefItemBasedRecommender.doEstimatePreference(long userID,
PreferenceArray preferencesFromUser,
long itemID)
This computation is in a technical sense, wrong, since in the domain of "boolean preference users" where all preference values are 1, this method should only ever return 1.0 or NaN. |
protected FastIDSet |
AbstractRecommender.getAllOtherItems(long userID,
PreferenceArray preferencesFromUser)
|
FastIDSet |
AbstractCandidateItemsStrategy.getCandidateItems(long userID,
PreferenceArray preferencesFromUser,
DataModel dataModel)
|
Uses of PreferenceArray in org.apache.mahout.cf.taste.impl.recommender.svd |
---|
Methods in org.apache.mahout.cf.taste.impl.recommender.svd with parameters of type PreferenceArray | |
---|---|
protected static Vector |
ALSWRFactorizer.ratingVector(PreferenceArray prefs)
|
protected Vector |
ALSWRFactorizer.sparseItemRatingVector(PreferenceArray prefs)
|
protected Vector |
ALSWRFactorizer.sparseUserRatingVector(PreferenceArray prefs)
|
Uses of PreferenceArray in org.apache.mahout.cf.taste.model |
---|
Methods in org.apache.mahout.cf.taste.model that return PreferenceArray | |
---|---|
PreferenceArray |
PreferenceArray.clone()
|
PreferenceArray |
DataModel.getPreferencesForItem(long itemID)
|
PreferenceArray |
DataModel.getPreferencesFromUser(long userID)
|
Methods in org.apache.mahout.cf.taste.model that return types with arguments of type PreferenceArray | |
---|---|
FastByIDMap<PreferenceArray> |
JDBCDataModel.exportWithPrefs()
Hmm, should this exist elsewhere? seems like most relevant for a DB implementation, which is not in memory, which might want to export to memory. |
Uses of PreferenceArray in org.apache.mahout.cf.taste.recommender |
---|
Methods in org.apache.mahout.cf.taste.recommender with parameters of type PreferenceArray | |
---|---|
FastIDSet |
CandidateItemsStrategy.getCandidateItems(long userID,
PreferenceArray preferencesFromUser,
DataModel dataModel)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |