简体   繁体   中英

Strange predictions using SVD in mahout

I'm trying to build svdrecommender using mahout. Code is simple:

DataModel model = new FileDataModel(new File("C:\\data.csv"));
SVDRecommender recommender = new SVDRecommender(model, new SVDPlusPlusFactorizer(model, 10, 20));

All my ratings are doubles between 0 and 1. However recommender in most cases predicts values above 1. How could it happen? Is it a feature of svd algorithm?

SVDRecommender uses approximate decomposition of ratings' matrix into two other matrixes. So their product can contain arbitrary numbers in cells.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM