## Uses of Class
org.apache.mahout.cf.taste.common.TasteException

Packages that use TasteException
org.apache.mahout.cf.taste.common
org.apache.mahout.cf.taste.eval
org.apache.mahout.cf.taste.impl.common
org.apache.mahout.cf.taste.impl.common.jdbc
org.apache.mahout.cf.taste.impl.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.neighborhood
org.apache.mahout.cf.taste.impl.recommender
org.apache.mahout.cf.taste.impl.recommender.knn
org.apache.mahout.cf.taste.impl.recommender.slopeone
org.apache.mahout.cf.taste.impl.recommender.slopeone.jdbc
org.apache.mahout.cf.taste.impl.recommender.svd
org.apache.mahout.cf.taste.impl.similarity
org.apache.mahout.cf.taste.impl.similarity.file
org.apache.mahout.cf.taste.impl.similarity.jdbc
org.apache.mahout.cf.taste.impl.transforms
org.apache.mahout.cf.taste.model
org.apache.mahout.cf.taste.neighborhood
org.apache.mahout.cf.taste.recommender
org.apache.mahout.cf.taste.recommender.slopeone
org.apache.mahout.cf.taste.similarity
org.apache.mahout.cf.taste.transforms

Uses of TasteException in org.apache.mahout.cf.taste.common

Subclasses of TasteException in org.apache.mahout.cf.taste.common
`class` `NoSuchItemException`
`class` `NoSuchUserException`

Uses of TasteException in org.apache.mahout.cf.taste.eval

Methods in org.apache.mahout.cf.taste.eval that throw TasteException
`Recommender` `RecommenderBuilder.buildRecommender(DataModel dataModel)` Builds a `Recommender` implementation to be evaluated, using the given `DataModel`.
`double` `RecommenderEvaluator.evaluate(RecommenderBuilder recommenderBuilder, DataModelBuilder dataModelBuilder, DataModel dataModel, double trainingPercentage, double evaluationPercentage)` Evaluates the quality of a `Recommender`'s recommendations.
`IRStatistics` `RecommenderIRStatsEvaluator.evaluate(RecommenderBuilder recommenderBuilder, DataModelBuilder dataModelBuilder, DataModel dataModel, IDRescorer rescorer, int at, double relevanceThreshold, double evaluationPercentage)`

Uses of TasteException in org.apache.mahout.cf.taste.impl.common

Methods in org.apache.mahout.cf.taste.impl.common that throw TasteException
`V` `Retriever.get(K key)`
`V` `Cache.get(K key)` Returns cached value for a key.

Uses of TasteException in org.apache.mahout.cf.taste.impl.common.jdbc

Methods in org.apache.mahout.cf.taste.impl.common.jdbc that throw TasteException
`static javax.sql.DataSource` `AbstractJDBCComponent.lookupDataSource(java.lang.String dataSourceName)` Looks up a `DataSource` by name from JNDI.

Uses of TasteException in org.apache.mahout.cf.taste.impl.eval

Methods in org.apache.mahout.cf.taste.impl.eval that throw TasteException
`IRStatistics` `GenericRecommenderIRStatsEvaluator.evaluate(RecommenderBuilder recommenderBuilder, DataModelBuilder dataModelBuilder, DataModel dataModel, IDRescorer rescorer, int at, double relevanceThreshold, double evaluationPercentage)`
`static void` `LoadEvaluator.runLoad(Recommender recommender)`

Uses of TasteException in org.apache.mahout.cf.taste.impl.model

Methods in org.apache.mahout.cf.taste.impl.model that throw TasteException
`LongPrimitiveIterator` `PlusAnonymousUserDataModel.getItemIDs()`
`FastIDSet` `PlusAnonymousUserDataModel.getItemIDsFromUser(long userID)`
`FastIDSet` `GenericDataModel.getItemIDsFromUser(long userID)`
`FastIDSet` `GenericBooleanPrefDataModel.getItemIDsFromUser(long userID)`
`int` `PlusAnonymousUserDataModel.getNumItems()`
`int` `PlusAnonymousUserDataModel.getNumUsers()`
`int` `PlusAnonymousUserDataModel.getNumUsersWithPreferenceFor(long... itemIDs)`
`PreferenceArray` `PlusAnonymousUserDataModel.getPreferencesForItem(long itemID)`
`PreferenceArray` `PlusAnonymousUserDataModel.getPreferencesFromUser(long userID)`
`java.lang.Long` `PlusAnonymousUserDataModel.getPreferenceTime(long userID, long itemID)`
`java.lang.Long` `GenericDataModel.getPreferenceTime(long userID, long itemID)`
`java.lang.Long` `GenericBooleanPrefDataModel.getPreferenceTime(long userID, long itemID)`
`java.lang.Float` `PlusAnonymousUserDataModel.getPreferenceValue(long userID, long itemID)`
`java.lang.Float` `GenericDataModel.getPreferenceValue(long userID, long itemID)`
`LongPrimitiveIterator` `PlusAnonymousUserDataModel.getUserIDs()`
`void` `AbstractJDBCIDMigrator.initialize(java.lang.Iterable<java.lang.String> stringIDs)`
`void` `PlusAnonymousUserDataModel.removePreference(long userID, long itemID)`
`void` `PlusAnonymousUserDataModel.setPreference(long userID, long itemID, float value)`
`void` `AbstractJDBCIDMigrator.storeMapping(long longID, java.lang.String stringID)`
`static FastByIDMap<PreferenceArray>` `GenericDataModel.toDataMap(DataModel dataModel)` Exports the simple user IDs and preferences in the data model.
`static FastByIDMap<FastIDSet>` `GenericBooleanPrefDataModel.toDataMap(DataModel dataModel)` Exports the simple user IDs and associated item IDs in the data model.
`java.lang.String` `AbstractJDBCIDMigrator.toStringID(long longID)`

Constructors in org.apache.mahout.cf.taste.impl.model that throw TasteException
`GenericBooleanPrefDataModel(DataModel dataModel)` Deprecated. without direct replacement. Consider `GenericBooleanPrefDataModel.toDataMap(DataModel)` with `GenericBooleanPrefDataModel.GenericBooleanPrefDataModel(FastByIDMap)`
`GenericDataModel(DataModel dataModel)` Deprecated. without direct replacement. Consider `GenericDataModel.toDataMap(DataModel)` with `GenericDataModel.GenericDataModel(FastByIDMap)`

Uses of TasteException in org.apache.mahout.cf.taste.impl.model.file

Methods in org.apache.mahout.cf.taste.impl.model.file that throw TasteException
`LongPrimitiveIterator` `FileDataModel.getItemIDs()`
`FastIDSet` `FileDataModel.getItemIDsFromUser(long userID)`
`int` `FileDataModel.getNumItems()`
`int` `FileDataModel.getNumUsers()`
`int` `FileDataModel.getNumUsersWithPreferenceFor(long... itemIDs)`
`PreferenceArray` `FileDataModel.getPreferencesForItem(long itemID)`
`PreferenceArray` `FileDataModel.getPreferencesFromUser(long userID)`
`java.lang.Long` `FileDataModel.getPreferenceTime(long userID, long itemID)`
`java.lang.Float` `FileDataModel.getPreferenceValue(long userID, long itemID)`
`LongPrimitiveIterator` `FileDataModel.getUserIDs()`
`void` `FileDataModel.removePreference(long userID, long itemID)` See the warning at `FileDataModel.setPreference(long, long, float)`.
`void` `FileDataModel.setPreference(long userID, long itemID, float value)` Note that this method only updates the in-memory preference data that this maintains; it does not modify any data on disk.

Uses of TasteException in org.apache.mahout.cf.taste.impl.model.jdbc

Methods in org.apache.mahout.cf.taste.impl.model.jdbc that throw TasteException
`protected java.util.List<Preference>` `AbstractJDBCDataModel.doGetPreferencesForItem(long itemID)`
`FastByIDMap<FastIDSet>` `AbstractJDBCDataModel.exportWithIDsOnly()`
`FastByIDMap<PreferenceArray>` `AbstractJDBCDataModel.exportWithPrefs()`
`LongPrimitiveIterator` `AbstractJDBCDataModel.getItemIDs()`
`FastIDSet` `AbstractJDBCDataModel.getItemIDsFromUser(long id)`
`int` `AbstractJDBCDataModel.getNumItems()`
`int` `AbstractJDBCDataModel.getNumUsers()`
`int` `AbstractJDBCDataModel.getNumUsersWithPreferenceFor(long... itemIDs)`
`PreferenceArray` `AbstractJDBCDataModel.getPreferencesForItem(long itemID)`
`PreferenceArray` `AbstractJDBCDataModel.getPreferencesFromUser(long id)`
`java.lang.Long` `AbstractJDBCDataModel.getPreferenceTime(long userID, long itemID)`
`java.lang.Float` `AbstractJDBCDataModel.getPreferenceValue(long userID, long itemID)`
`LongPrimitiveIterator` `AbstractJDBCDataModel.getUserIDs()`
`void` `AbstractJDBCDataModel.removePreference(long userID, long itemID)`
`void` `AbstractJDBCDataModel.setPreference(long userID, long itemID, float value)`
`void` `AbstractBooleanPrefJDBCDataModel.setPreference(long userID, long itemID, float value)`

Constructors in org.apache.mahout.cf.taste.impl.model.jdbc that throw TasteException
`GenericJDBCDataModel(java.io.File propertiesFile)` See `GenericJDBCDataModel.GenericJDBCDataModel(java.util.Properties)`.
`GenericJDBCDataModel(java.util.Properties props)` Specifies all SQL queries in a `Properties` object.
`GenericJDBCDataModel(java.lang.String resourcePath)` See `GenericJDBCDataModel.GenericJDBCDataModel(Properties)`.
`MySQLBooleanPrefJDBCDataModel()` Creates a using the default `DataSource` (named `AbstractJDBCComponent.DEFAULT_DATASOURCE_NAME` and default table/column names.
`MySQLBooleanPrefJDBCDataModel(java.lang.String dataSourceName)` Creates a using the default `DataSource` found under the given name, and using default table/column names.
`MySQLJDBCDataModel()` Creates a using the default `DataSource` (named `AbstractJDBCComponent.DEFAULT_DATASOURCE_NAME` and default table/column names.
`MySQLJDBCDataModel(java.lang.String dataSourceName)` Creates a using the default `DataSource` found under the given name, and using default table/column names.

Uses of TasteException in org.apache.mahout.cf.taste.impl.neighborhood

Methods in org.apache.mahout.cf.taste.impl.neighborhood that throw TasteException
`long[]` `ThresholdUserNeighborhood.getUserNeighborhood(long userID)`
`long[]` `NearestNUserNeighborhood.getUserNeighborhood(long userID)`
`long[]` `CachingUserNeighborhood.getUserNeighborhood(long userID)`

Constructors in org.apache.mahout.cf.taste.impl.neighborhood that throw TasteException
`CachingUserNeighborhood(UserNeighborhood neighborhood, DataModel dataModel)`
`NearestNUserNeighborhood(int n, double minSimilarity, UserSimilarity userSimilarity, DataModel dataModel)`
`NearestNUserNeighborhood(int n, double minSimilarity, UserSimilarity userSimilarity, DataModel dataModel, double samplingRate)`
`NearestNUserNeighborhood(int n, UserSimilarity userSimilarity, DataModel dataModel)`

Uses of TasteException in org.apache.mahout.cf.taste.impl.recommender

Methods in org.apache.mahout.cf.taste.impl.recommender that throw TasteException
`protected float` `GenericItemBasedRecommender.doEstimatePreference(long userID, long itemID)`
`protected float` `GenericUserBasedRecommender.doEstimatePreference(long theUserID, long[] theNeighborhood, long itemID)`
`protected float` `GenericBooleanPrefUserBasedRecommender.doEstimatePreference(long theUserID, long[] theNeighborhood, 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.
`double` `GenericItemBasedRecommender.MostSimilarEstimator.estimate(java.lang.Long itemID)`
`double` `TopItems.Estimator.estimate(T thing)`
`float` `TreeClusteringRecommender2.estimatePreference(long userID, long itemID)`
`float` `TreeClusteringRecommender.estimatePreference(long userID, long itemID)`
`float` `ItemUserAverageRecommender.estimatePreference(long userID, long itemID)`
`float` `ItemAverageRecommender.estimatePreference(long userID, long itemID)`
`float` `GenericUserBasedRecommender.estimatePreference(long userID, long itemID)`
`float` `GenericItemBasedRecommender.estimatePreference(long userID, long itemID)`
`float` `CachingRecommender.estimatePreference(long userID, long itemID)`
`protected FastIDSet` `AbstractRecommender.getAllOtherItems(long theUserID)`
`protected FastIDSet` `GenericUserBasedRecommender.getAllOtherItems(long[] theNeighborhood, long theUserID)`
`protected FastIDSet` `GenericBooleanPrefUserBasedRecommender.getAllOtherItems(long[] theNeighborhood, long theUserID)`
`FastIDSet` `SamplingCandidateItemsStrategy.getCandidateItems(long userID, DataModel dataModel)`
`FastIDSet` `PreferredItemsNeighborhoodCandidateItemsStrategy.getCandidateItems(long userID, DataModel dataModel)`
`FastIDSet` `AllUnknownItemsCandidateItemsStrategy.getCandidateItems(long userID, DataModel dataModel)`
`FastIDSet` `TreeClusteringRecommender2.getCluster(long userID)`
`FastIDSet` `TreeClusteringRecommender.getCluster(long userID)`
`FastIDSet[]` `TreeClusteringRecommender2.getClusters()`
`FastIDSet[]` `TreeClusteringRecommender.getClusters()`
`double` `NearestNeighborClusterSimilarity.getSimilarity(FastIDSet cluster1, FastIDSet cluster2)`
`double` `FarthestNeighborClusterSimilarity.getSimilarity(FastIDSet cluster1, FastIDSet cluster2)`
`double` `ClusterSimilarity.getSimilarity(FastIDSet cluster1, FastIDSet cluster2)`
`static java.util.List<RecommendedItem>` `TopItems.getTopItems(int howMany, LongPrimitiveIterator possibleItemIDs, IDRescorer rescorer, TopItems.Estimator<java.lang.Long> estimator)`
`static long[]` `TopItems.getTopUsers(int howMany, LongPrimitiveIterator allUserIDs, IDRescorer rescorer, TopItems.Estimator<java.lang.Long> estimator)`
`java.util.List<RecommendedItem>` `GenericItemBasedRecommender.mostSimilarItems(long[] itemIDs, int howMany)`
`java.util.List<RecommendedItem>` `GenericItemBasedRecommender.mostSimilarItems(long[] itemIDs, int howMany, Rescorer<LongPair> rescorer)`
`java.util.List<RecommendedItem>` `GenericItemBasedRecommender.mostSimilarItems(long itemID, int howMany)`
`java.util.List<RecommendedItem>` `GenericItemBasedRecommender.mostSimilarItems(long itemID, int howMany, Rescorer<LongPair> rescorer)`
`long[]` `GenericUserBasedRecommender.mostSimilarUserIDs(long userID, int howMany)`
`long[]` `GenericUserBasedRecommender.mostSimilarUserIDs(long userID, int howMany, Rescorer<LongPair> rescorer)`
`java.util.List<RecommendedItem>` `CachingRecommender.recommend(long userID, int howMany)`
`java.util.List<RecommendedItem>` `AbstractRecommender.recommend(long userID, int howMany)` Default implementation which just calls `Recommender.recommend(long, int, org.apache.mahout.cf.taste.recommender.IDRescorer)`, with a `Rescorer` that does nothing.
`java.util.List<RecommendedItem>` `TreeClusteringRecommender2.recommend(long userID, int howMany, IDRescorer rescorer)`
`java.util.List<RecommendedItem>` `TreeClusteringRecommender.recommend(long userID, int howMany, IDRescorer rescorer)`
`java.util.List<RecommendedItem>` `RandomRecommender.recommend(long userID, int howMany, IDRescorer rescorer)`
`java.util.List<RecommendedItem>` `ItemUserAverageRecommender.recommend(long userID, int howMany, IDRescorer rescorer)`
`java.util.List<RecommendedItem>` `ItemAverageRecommender.recommend(long userID, int howMany, IDRescorer rescorer)`
`java.util.List<RecommendedItem>` `GenericUserBasedRecommender.recommend(long userID, int howMany, IDRescorer rescorer)`
`java.util.List<RecommendedItem>` `GenericItemBasedRecommender.recommend(long userID, int howMany, IDRescorer rescorer)`
`java.util.List<RecommendedItem>` `CachingRecommender.recommend(long userID, int howMany, IDRescorer rescorer)`
`java.util.List<RecommendedItem>` `GenericItemBasedRecommender.recommendedBecause(long userID, long itemID, int howMany)`
`void` `ItemUserAverageRecommender.removePreference(long userID, long itemID)`
`void` `ItemAverageRecommender.removePreference(long userID, long itemID)`
`void` `CachingRecommender.removePreference(long userID, long itemID)`
`void` `AbstractRecommender.removePreference(long userID, long itemID)` Default implementation which just calls `DataModel.removePreference(long, long)` (Object, Object)}.
`void` `ItemUserAverageRecommender.setPreference(long userID, long itemID, float value)`
`void` `ItemAverageRecommender.setPreference(long userID, long itemID, float value)`
`void` `CachingRecommender.setPreference(long userID, long itemID, float value)`
`void` `AbstractRecommender.setPreference(long userID, long itemID, float value)` Default implementation which just calls `DataModel.setPreference(long, long, float)`.

Constructors in org.apache.mahout.cf.taste.impl.recommender that throw TasteException
`CachingRecommender(Recommender recommender)`
`ItemAverageRecommender(DataModel dataModel)`
`ItemUserAverageRecommender(DataModel dataModel)`
`RandomRecommender(DataModel dataModel)`
`TreeClusteringRecommender(DataModel dataModel, ClusterSimilarity clusterSimilarity, double clusteringThreshold)`
`TreeClusteringRecommender(DataModel dataModel, ClusterSimilarity clusterSimilarity, double clusteringThreshold, double samplingRate)`
`TreeClusteringRecommender(DataModel dataModel, ClusterSimilarity clusterSimilarity, int numClusters)`
`TreeClusteringRecommender(DataModel dataModel, ClusterSimilarity clusterSimilarity, int numClusters, double samplingRate)`
`TreeClusteringRecommender2(DataModel dataModel, ClusterSimilarity clusterSimilarity, double clusteringThreshold)`
`TreeClusteringRecommender2(DataModel dataModel, ClusterSimilarity clusterSimilarity, int numClusters)`

Uses of TasteException in org.apache.mahout.cf.taste.impl.recommender.knn

Methods in org.apache.mahout.cf.taste.impl.recommender.knn that throw TasteException
`protected float` `KnnItemBasedRecommender.doEstimatePreference(long theUserID, long itemID)`

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

Methods in org.apache.mahout.cf.taste.impl.recommender.slopeone that throw TasteException
`float` `SlopeOneRecommender.estimatePreference(long userID, long itemID)`
`FastIDSet` `MemoryDiffStorage.getRecommendableItemIDs(long userID)`
`java.util.List<RecommendedItem>` `SlopeOneRecommender.recommend(long userID, int howMany, IDRescorer rescorer)`
`void` `SlopeOneRecommender.removePreference(long userID, long itemID)`
`void` `SlopeOneRecommender.setPreference(long userID, long itemID, float value)`

Constructors in org.apache.mahout.cf.taste.impl.recommender.slopeone that throw TasteException
`MemoryDiffStorage(DataModel dataModel, Weighting stdDevWeighted, boolean compactAverages, long maxEntries)` Creates a new .
`SlopeOneRecommender(DataModel dataModel)` Creates a default (weighted) based on the given `DataModel`.

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

Methods in org.apache.mahout.cf.taste.impl.recommender.slopeone.jdbc that throw TasteException
`RunningAverage` `AbstractJDBCDiffStorage.getAverageItemPref(long itemID)`
`RunningAverage` `AbstractJDBCDiffStorage.getDiff(long itemID1, long itemID2)`
`RunningAverage[]` `AbstractJDBCDiffStorage.getDiffs(long userID, long itemID, PreferenceArray prefs)`
`FastIDSet` `AbstractJDBCDiffStorage.getRecommendableItemIDs(long userID)`
`void` `AbstractJDBCDiffStorage.updateItemPref(long itemID, float prefDelta, boolean remove)` Note that this implementation does not update standard deviations.

Constructors in org.apache.mahout.cf.taste.impl.recommender.slopeone.jdbc that throw TasteException
`AbstractJDBCDiffStorage(JDBCDataModel dataModel, java.lang.String getDiffSQL, java.lang.String getDiffsSQL, java.lang.String getAverageItemPrefSQL, java.lang.String[] updateDiffSQLs, java.lang.String[] removeDiffSQLs, java.lang.String getRecommendableItemsSQL, java.lang.String deleteDiffsSQL, java.lang.String createDiffsSQL, java.lang.String diffsExistSQL, int minDiffCount)`
`MySQLJDBCDiffStorage(AbstractJDBCDataModel dataModel)`
`MySQLJDBCDiffStorage(AbstractJDBCDataModel dataModel, java.lang.String diffsTable, java.lang.String itemIDAColumn, java.lang.String itemIDBColumn, java.lang.String countColumn, java.lang.String avgColumn, java.lang.String stdevColumn, int minDiffCount)`

Uses of TasteException in org.apache.mahout.cf.taste.impl.recommender.svd

Methods in org.apache.mahout.cf.taste.impl.recommender.svd that throw TasteException
`float` `SVDRecommender.estimatePreference(long userID, long itemID)`
`java.util.List<RecommendedItem>` `SVDRecommender.recommend(long userID, int howMany, IDRescorer rescorer)`

Constructors in org.apache.mahout.cf.taste.impl.recommender.svd that throw TasteException
`SVDRecommender(DataModel dataModel, CandidateItemsStrategy candidateItemsStrategy, int numFeatures, int initialSteps)`
`SVDRecommender(DataModel dataModel, int numFeatures, int initialSteps)`

Uses of TasteException in org.apache.mahout.cf.taste.impl.similarity

Methods in org.apache.mahout.cf.taste.impl.similarity that throw TasteException
`float` `AveragingPreferenceInferrer.inferPreference(long userID, long itemID)`
`double[]` `TanimotoCoefficientSimilarity.itemSimilarities(long itemID1, long[] itemID2s)`
`double[]` `LogLikelihoodSimilarity.itemSimilarities(long itemID1, long[] itemID2s)`
`double[]` `CachingItemSimilarity.itemSimilarities(long itemID1, long[] itemID2s)`
`double` `TanimotoCoefficientSimilarity.itemSimilarity(long itemID1, long itemID2)`
`double` `LogLikelihoodSimilarity.itemSimilarity(long itemID1, long itemID2)`
`double` `CachingItemSimilarity.itemSimilarity(long itemID1, long itemID2)`
`double` `TanimotoCoefficientSimilarity.userSimilarity(long userID1, long userID2)`
`double` `SpearmanCorrelationSimilarity.userSimilarity(long userID1, long userID2)`
`double` `LogLikelihoodSimilarity.userSimilarity(long userID1, long userID2)`
`double` `CachingUserSimilarity.userSimilarity(long userID1, long userID2)`

Constructors in org.apache.mahout.cf.taste.impl.similarity that throw TasteException
`AveragingPreferenceInferrer(DataModel dataModel)`
`CachingItemSimilarity(ItemSimilarity similarity, DataModel dataModel)` Creates a `CachingItemSimilarity` on top of the given `ItemSimilarity`.
`CachingUserSimilarity(UserSimilarity similarity, DataModel dataModel)` Creates a `CachingUserSimilarity` on top of the given `UserSimilarity`.
`EuclideanDistanceSimilarity(DataModel dataModel)`
`EuclideanDistanceSimilarity(DataModel dataModel, Weighting weighting)`
`GenericItemSimilarity(ItemSimilarity otherSimilarity, DataModel dataModel)` Builds a list of item-item similarities given an `GenericItemSimilarity.ItemItemSimilarity` 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`.
`GenericUserSimilarity(UserSimilarity otherSimilarity, DataModel dataModel)`
`GenericUserSimilarity(UserSimilarity otherSimilarity, DataModel dataModel, int maxToKeep)`
`PearsonCorrelationSimilarity(DataModel dataModel)`
`PearsonCorrelationSimilarity(DataModel dataModel, Weighting weighting)`
`UncenteredCosineSimilarity(DataModel dataModel)`
`UncenteredCosineSimilarity(DataModel dataModel, Weighting weighting)`

Uses of TasteException in org.apache.mahout.cf.taste.impl.similarity.file

Methods in org.apache.mahout.cf.taste.impl.similarity.file that throw TasteException
`double[]` `FileItemSimilarity.itemSimilarities(long itemID1, long[] itemID2s)`
`double` `FileItemSimilarity.itemSimilarity(long itemID1, long itemID2)`

Uses of TasteException in org.apache.mahout.cf.taste.impl.similarity.jdbc

Methods in org.apache.mahout.cf.taste.impl.similarity.jdbc that throw TasteException
`double[]` `AbstractJDBCItemSimilarity.itemSimilarities(long itemID1, long[] itemID2s)`
`double` `AbstractJDBCItemSimilarity.itemSimilarity(long itemID1, long itemID2)`

Constructors in org.apache.mahout.cf.taste.impl.similarity.jdbc that throw TasteException
`MySQLJDBCItemSimilarity()`
`MySQLJDBCItemSimilarity(java.lang.String dataSourceName)`

Uses of TasteException in org.apache.mahout.cf.taste.impl.transforms

Methods in org.apache.mahout.cf.taste.impl.transforms that throw TasteException
`float` `ZScore.getTransformedValue(Preference pref)`

Constructors in org.apache.mahout.cf.taste.impl.transforms that throw TasteException
`InverseUserFrequency(DataModel dataModel, double logBase)` Creates a transformation.

Uses of TasteException in org.apache.mahout.cf.taste.model

Methods in org.apache.mahout.cf.taste.model that throw TasteException
`FastByIDMap<FastIDSet>` `JDBCDataModel.exportWithIDsOnly()`
`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.
`LongPrimitiveIterator` `DataModel.getItemIDs()`
`FastIDSet` `DataModel.getItemIDsFromUser(long userID)`
`int` `DataModel.getNumItems()`
`int` `DataModel.getNumUsers()`
`int` `DataModel.getNumUsersWithPreferenceFor(long... itemIDs)`
`PreferenceArray` `DataModel.getPreferencesForItem(long itemID)`
`PreferenceArray` `DataModel.getPreferencesFromUser(long userID)`
`java.lang.Long` `DataModel.getPreferenceTime(long userID, long itemID)` Retrieves the time at which a preference value from a user and item was set, if known.
`java.lang.Float` `DataModel.getPreferenceValue(long userID, long itemID)` Retrieves the preference value for a single user and item.
`LongPrimitiveIterator` `DataModel.getUserIDs()`
`void` `UpdatableIDMigrator.initialize(java.lang.Iterable<java.lang.String> stringIDs)` Make the mapping aware of the given string IDs.
`void` `DataModel.removePreference(long userID, long itemID)` Removes a particular preference for a user.
`void` `DataModel.setPreference(long userID, long itemID, float value)` Sets a particular preference (item plus rating) for a user.
`void` `UpdatableIDMigrator.storeMapping(long longID, java.lang.String stringID)` Stores the reverse long-to-String mapping in some kind of backing store.
`java.lang.String` `IDMigrator.toStringID(long longID)`

Uses of TasteException in org.apache.mahout.cf.taste.neighborhood

Methods in org.apache.mahout.cf.taste.neighborhood that throw TasteException
`long[]` `UserNeighborhood.getUserNeighborhood(long userID)`

Uses of TasteException in org.apache.mahout.cf.taste.recommender

Methods in org.apache.mahout.cf.taste.recommender that throw TasteException
`float` `Recommender.estimatePreference(long userID, long itemID)`
`FastIDSet` `CandidateItemsStrategy.getCandidateItems(long userID, DataModel dataModel)` #return IDs of all items that could be recommended to the user
`FastIDSet` `ClusteringRecommender.getCluster(long userID)` Returns the cluster of users to which the given user, denoted by user ID, belongs.
`FastIDSet[]` `ClusteringRecommender.getClusters()` Returns all clusters of users.
`java.util.List<RecommendedItem>` `ItemBasedRecommender.mostSimilarItems(long[] itemIDs, int howMany)`
`java.util.List<RecommendedItem>` `ItemBasedRecommender.mostSimilarItems(long[] itemIDs, int howMany, Rescorer<LongPair> rescorer)`
`java.util.List<RecommendedItem>` `ItemBasedRecommender.mostSimilarItems(long itemID, int howMany)`
`java.util.List<RecommendedItem>` `ItemBasedRecommender.mostSimilarItems(long itemID, int howMany, Rescorer<LongPair> rescorer)`
`long[]` `UserBasedRecommender.mostSimilarUserIDs(long userID, int howMany)`
`long[]` `UserBasedRecommender.mostSimilarUserIDs(long userID, int howMany, Rescorer<LongPair> rescorer)`
`java.util.List<RecommendedItem>` `Recommender.recommend(long userID, int howMany)`
`java.util.List<RecommendedItem>` `Recommender.recommend(long userID, int howMany, IDRescorer rescorer)`
`java.util.List<RecommendedItem>` `ItemBasedRecommender.recommendedBecause(long userID, long itemID, int howMany)` Lists the items that were most influential in recommending a given item to a given user.
`void` `Recommender.removePreference(long userID, long itemID)`
`void` `Recommender.setPreference(long userID, long itemID, float value)`

Uses of TasteException in org.apache.mahout.cf.taste.recommender.slopeone

Methods in org.apache.mahout.cf.taste.recommender.slopeone that throw TasteException
`RunningAverage` `DiffStorage.getAverageItemPref(long itemID)`
`RunningAverage` `DiffStorage.getDiff(long itemID1, long itemID2)`
`RunningAverage[]` `DiffStorage.getDiffs(long userID, long itemID, PreferenceArray prefs)`
`FastIDSet` `DiffStorage.getRecommendableItemIDs(long userID)`
`void` `DiffStorage.updateItemPref(long itemID, float prefDelta, boolean remove)` Updates internal data structures to reflect an update in a preference value for an item.

Uses of TasteException in org.apache.mahout.cf.taste.similarity

Methods in org.apache.mahout.cf.taste.similarity that throw TasteException
`float` `PreferenceInferrer.inferPreference(long userID, long itemID)` Infers the given user's preference value for an item.
`double[]` `ItemSimilarity.itemSimilarities(long itemID1, long[] itemID2s)` A bulk-get version of `ItemSimilarity.itemSimilarity(long, long)`.
`double` `ItemSimilarity.itemSimilarity(long itemID1, long itemID2)` Returns the degree of similarity, of two items, based on the preferences that users have expressed for the items.
`double` `UserSimilarity.userSimilarity(long userID1, long userID2)` Returns the degree of similarity, of two users, based on the their preferences.

Uses of TasteException in org.apache.mahout.cf.taste.transforms

Methods in org.apache.mahout.cf.taste.transforms that throw TasteException
`float` `PreferenceTransform.getTransformedValue(Preference pref)`

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