net.librec.increment.rating.KNNRecommender Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of librec-core Show documentation
Show all versions of librec-core Show documentation
A repackaged librec-core fork
The newest version!
package net.librec.increment.rating;
import net.librec.increment.IncrementalRatingRecommender;
abstract public class KNNRecommender extends IncrementalRatingRecommender {
// number of neighbors to take into account for predictions
public int K = 80;
// underlying baseline predictor
protected UserItemBaseline baselinesPredictor = new UserItemBaseline();
}