Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## prea.recommender
Interface Recommender

All Known Implementing Classes:
  Average, BaselineRecommender, BayesianPMF, Constant, CustomRecommender, FastNPCA, ItemAverage, ItemBased, MatrixFactorizationRecommender, MemoryBasedRecommender, NMF, NonlinearPMF, PMF, Random, RankBased, RegularizedSVD, SlopeOne, UserAverage, UserBased

    public interface Recommender

Interface of general recommendation system. Contains definition of learning and evaluating functions.

Since:
  2012. 4. 20
Version:
  1.1
Author:
  Joonseok Lee

Method Summary
`void` | `buildModel(SparseMatrix rm)` Interface of learning method.
`EvaluationMetrics` | `evaluate(SparseMatrix tm)` Interface of evaluation method.

Method Detail

### buildModel

    void buildModel(SparseMatrix rm)

  Interface of learning method.

  Parameters:
    `rm` - A rating matrix with train data.

### evaluate

    EvaluationMetrics evaluate(SparseMatrix tm)

  Interface of evaluation method.

  Parameters:
    `tm` - A rating matrix with test data.
  Returns:
    The result of evaluation, such as MAE, RMSE, and rank-score.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD