public class RBMRecommender extends AbstractRecommender
The origin paper:
Salakhutdinov, R., Mnih, A. Hinton, G, Restricted BoltzmanMachines for Collaborative Filtering, To appear inProceedings of the 24thInternational Conference onMachine Learning 2007. http://www.cs.toronto.edu/~rsalakhu/papers/rbmcf.pdf
conf, context, decay, earlyStop, globalMean, isBoldDriver, isRanking, itemMappingData, lastLoss, LOG, loss, maxRate, minRate, numItems, numRates, numUsers, ratingScale, recommendedList, testMatrix, topN, trainMatrix, userMappingData, validMatrix, verbose| Constructor and Description |
|---|
RBMRecommender() |
| Modifier and Type | Method and Description |
|---|---|
protected double |
predict(int u,
int m)
predict a specific rating for user userIdx on item itemIdx, note that the
prediction is not bounded.
|
protected void |
setup()
setup
|
protected void |
trainModel()
train Model
|
cleanup, evaluate, evaluateMap, getContext, getDataModel, getRecommendedList, isConverged, loadModel, predict, recommend, recommend, recommendRank, recommendRating, saveModel, setContextprotected void setup()
throws LibrecException
AbstractRecommendersetup in class AbstractRecommenderLibrecException - if error occurs during setupprotected void trainModel()
throws LibrecException
AbstractRecommendertrainModel in class AbstractRecommenderLibrecException - if error occurs during training modelprotected double predict(int u,
int m)
throws LibrecException
AbstractRecommenderpredict in class AbstractRecommenderu - user indexm - item indexLibrecException - if error occurs during predictingCopyright © 2017. All Rights Reserved.