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

Packages that use DataModel
org.apache.mahout.cf.taste.eval
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.svd
org.apache.mahout.cf.taste.impl.similarity
org.apache.mahout.cf.taste.impl.transforms
org.apache.mahout.cf.taste.model
org.apache.mahout.cf.taste.recommender

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

Methods in org.apache.mahout.cf.taste.eval that return DataModel
`DataModel` `DataModelBuilder.buildDataModel(FastByIDMap<PreferenceArray> trainingData)` Builds a `DataModel` implementation to be used in an evaluation, given training data.

Methods in org.apache.mahout.cf.taste.eval with parameters of type DataModel
`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 DataModel in org.apache.mahout.cf.taste.impl.eval

Methods in org.apache.mahout.cf.taste.impl.eval with parameters of type DataModel
`IRStatistics` `GenericRecommenderIRStatsEvaluator.evaluate(RecommenderBuilder recommenderBuilder, DataModelBuilder dataModelBuilder, DataModel dataModel, IDRescorer rescorer, int at, double relevanceThreshold, double evaluationPercentage)`

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

Classes in org.apache.mahout.cf.taste.impl.model that implement DataModel
`class` `AbstractDataModel` Contains some features common to all implementations.
`class` `GenericBooleanPrefDataModel` A simple `DataModel` which uses given user data as its data source.
`class` `GenericDataModel` A simple `DataModel` which uses a given `List` of users as its data source.
`class` `PlusAnonymousUserDataModel` This `DataModel` decorator class is useful in a situation where you wish to recommend to a user that doesn't really exist yet in your actual `DataModel`.

Methods in org.apache.mahout.cf.taste.impl.model with parameters of type DataModel
`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.

Constructors in org.apache.mahout.cf.taste.impl.model with parameters of type DataModel
`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)`
`PlusAnonymousUserDataModel(DataModel delegate)`

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

Classes in org.apache.mahout.cf.taste.impl.model.file that implement DataModel
`class` `FileDataModel` A `DataModel` backed by a delimited file.

Methods in org.apache.mahout.cf.taste.impl.model.file that return DataModel
`protected DataModel` `FileDataModel.buildModel()`

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

Classes in org.apache.mahout.cf.taste.impl.model.jdbc that implement DataModel
`class` `AbstractBooleanPrefJDBCDataModel`
`class` `AbstractJDBCDataModel` An abstract superclass for `JDBCDataModel` implementations, providing most of the common functionality that any such implementation would need.
`class` `GenericJDBCDataModel` A generic `DataModel` designed for use with other JDBC data sources; one just specifies all necessary SQL queries to the constructor here.
`class` `MySQLBooleanPrefJDBCDataModel` See also `MySQLJDBCDataModel` -- same except deals with a table without preference info:
`class` `MySQLJDBCDataModel` A `JDBCDataModel` backed by a MySQL database and accessed via JDBC.

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

Constructors in org.apache.mahout.cf.taste.impl.neighborhood with parameters of type DataModel
`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)`
`ThresholdUserNeighborhood(double threshold, UserSimilarity userSimilarity, DataModel dataModel)`
`ThresholdUserNeighborhood(double threshold, UserSimilarity userSimilarity, DataModel dataModel, double samplingRate)`

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

Methods in org.apache.mahout.cf.taste.impl.recommender that return DataModel
`DataModel` `CachingRecommender.getDataModel()`
`DataModel` `AbstractRecommender.getDataModel()`

Methods in org.apache.mahout.cf.taste.impl.recommender with parameters of type DataModel
`FastIDSet` `SamplingCandidateItemsStrategy.getCandidateItems(long userID, DataModel dataModel)`
`FastIDSet` `PreferredItemsNeighborhoodCandidateItemsStrategy.getCandidateItems(long userID, DataModel dataModel)`
`FastIDSet` `AllUnknownItemsCandidateItemsStrategy.getCandidateItems(long userID, DataModel dataModel)`

Constructors in org.apache.mahout.cf.taste.impl.recommender with parameters of type DataModel
`AbstractRecommender(DataModel dataModel)`
`AbstractRecommender(DataModel dataModel, CandidateItemsStrategy candidateItemsStrategy)`
`EstimatedPreferenceCapper(DataModel model)`
`GenericBooleanPrefUserBasedRecommender(DataModel dataModel, UserNeighborhood neighborhood, UserSimilarity similarity)`
`GenericItemBasedRecommender(DataModel dataModel, ItemSimilarity similarity)`
`GenericItemBasedRecommender(DataModel dataModel, ItemSimilarity similarity, CandidateItemsStrategy candidateItemsStrategy)`
`GenericUserBasedRecommender(DataModel dataModel, UserNeighborhood neighborhood, UserSimilarity similarity)`
`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 DataModel in org.apache.mahout.cf.taste.impl.recommender.knn

Constructors in org.apache.mahout.cf.taste.impl.recommender.knn with parameters of type DataModel
`KnnItemBasedRecommender(DataModel dataModel, ItemSimilarity similarity, Optimizer optimizer, CandidateItemsStrategy candidateItemsStrategy, int neighborhoodSize)`
`KnnItemBasedRecommender(DataModel dataModel, ItemSimilarity similarity, Optimizer optimizer, int neighborhoodSize)`

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

Constructors in org.apache.mahout.cf.taste.impl.recommender.slopeone with parameters of type DataModel
`MemoryDiffStorage(DataModel dataModel, Weighting stdDevWeighted, boolean compactAverages, long maxEntries)` Creates a new .
`SlopeOneRecommender(DataModel dataModel)` Creates a default (weighted) based on the given `DataModel`.
`SlopeOneRecommender(DataModel dataModel, Weighting weighting, Weighting stdDevWeighting, DiffStorage diffStorage)` Creates a based on the given `DataModel`.

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

Constructors in org.apache.mahout.cf.taste.impl.recommender.svd with parameters of type DataModel
`SVDRecommender(DataModel dataModel, CandidateItemsStrategy candidateItemsStrategy, int numFeatures, int initialSteps)`
`SVDRecommender(DataModel dataModel, int numFeatures, int initialSteps)`

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

Constructors in org.apache.mahout.cf.taste.impl.similarity with parameters of type DataModel
`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)`
`LogLikelihoodSimilarity(DataModel dataModel)`
`PearsonCorrelationSimilarity(DataModel dataModel)`
`PearsonCorrelationSimilarity(DataModel dataModel, Weighting weighting)`
`SpearmanCorrelationSimilarity(DataModel dataModel)`
`TanimotoCoefficientSimilarity(DataModel dataModel)`
`UncenteredCosineSimilarity(DataModel dataModel)`
`UncenteredCosineSimilarity(DataModel dataModel, Weighting weighting)`

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

Constructors in org.apache.mahout.cf.taste.impl.transforms with parameters of type DataModel
`InverseUserFrequency(DataModel dataModel, double logBase)` Creates a transformation.
`ZScore(DataModel dataModel)`

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

Subinterfaces of DataModel in org.apache.mahout.cf.taste.model
`interface` `JDBCDataModel`

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

Methods in org.apache.mahout.cf.taste.recommender that return DataModel
`DataModel` `Recommender.getDataModel()`

Methods in org.apache.mahout.cf.taste.recommender with parameters of type DataModel
`FastIDSet` `CandidateItemsStrategy.getCandidateItems(long userID, DataModel dataModel)` #return IDs of all items that could be recommended to the user

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