## Uses of Interface
org.apache.mahout.cf.taste.model.PreferenceArray

Packages that use PreferenceArray
org.apache.mahout.cf.taste.eval
org.apache.mahout.cf.taste.impl.model
org.apache.mahout.cf.taste.impl.model.file
org.apache.mahout.cf.taste.impl.model.jdbc
org.apache.mahout.cf.taste.impl.recommender.slopeone
org.apache.mahout.cf.taste.impl.recommender.slopeone.file
org.apache.mahout.cf.taste.impl.recommender.slopeone.jdbc
org.apache.mahout.cf.taste.model
org.apache.mahout.cf.taste.recommender.slopeone

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.

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` This implementation maintains two parallel arrays, of user IDs and values.

Methods in org.apache.mahout.cf.taste.impl.model that return PreferenceArray
`PreferenceArray` `PlusAnonymousUserDataModel.getPreferencesForItem(long itemID)`
`PreferenceArray` `GenericDataModel.getPreferencesForItem(long itemID)`
`PreferenceArray` `GenericBooleanPrefDataModel.getPreferencesForItem(long itemID)`
`PreferenceArray` `PlusAnonymousUserDataModel.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.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<java.util.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)`

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 from the given users (and their preferences).
`GenericDataModel(FastByIDMap<PreferenceArray> userData, FastByIDMap<FastByIDMap<java.lang.Long>> timestamps)` Creates a new 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.model.jdbc

Methods in org.apache.mahout.cf.taste.impl.model.jdbc that return PreferenceArray
`PreferenceArray` `AbstractJDBCDataModel.getPreferencesForItem(long itemID)`
`PreferenceArray` `AbstractJDBCDataModel.getPreferencesFromUser(long id)`

Methods in org.apache.mahout.cf.taste.impl.model.jdbc that return types with arguments of type PreferenceArray
`FastByIDMap<PreferenceArray>` `AbstractJDBCDataModel.exportWithPrefs()`

Uses of PreferenceArray in org.apache.mahout.cf.taste.impl.recommender.slopeone

Methods in org.apache.mahout.cf.taste.impl.recommender.slopeone with parameters of type PreferenceArray
`RunningAverage[]` `MemoryDiffStorage.getDiffs(long userID, long itemID, PreferenceArray prefs)`

Uses of PreferenceArray in org.apache.mahout.cf.taste.impl.recommender.slopeone.file

Methods in org.apache.mahout.cf.taste.impl.recommender.slopeone.file with parameters of type PreferenceArray
`RunningAverage[]` `FileDiffStorage.getDiffs(long userID, long itemID, PreferenceArray prefs)`

Uses of PreferenceArray in org.apache.mahout.cf.taste.impl.recommender.slopeone.jdbc

Methods in org.apache.mahout.cf.taste.impl.recommender.slopeone.jdbc with parameters of type PreferenceArray
`RunningAverage[]` `AbstractJDBCDiffStorage.getDiffs(long userID, long itemID, 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.slopeone

Methods in org.apache.mahout.cf.taste.recommender.slopeone with parameters of type PreferenceArray
`RunningAverage[]` `DiffStorage.getDiffs(long userID, long itemID, PreferenceArray prefs)`

Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.