blob: 0cdea503c2dd1eb1938590928accd18bc0a192c0 [file] [log] [blame]
/*
package io.prediction.engines.java.olditemrec.algos;
public class SVDPlusPlusParams extends MahoutParams {
int numFeatures;
double learningRate;
double preventOverfitting;
double randomNoise;
int numIterations;
double learningRateDecay;
public SVDPlusPlusParams(int numRecommendations, int numFeatures, double learningRate,
double preventOverfitting, double randomNoise, int numIterations, double learningRateDecay) {
super(numRecommendations);
this.numFeatures = numFeatures;
this.learningRate = learningRate;
this.preventOverfitting = preventOverfitting;
this.randomNoise = randomNoise;
this.numIterations = numIterations;
this.learningRateDecay = learningRateDecay;
}
// with default values
public SVDPlusPlusParams(int numRecommendations) {
this(numRecommendations, 3, 0.01, 0.1, 0.01, 3, 1);
}
}
*/