| /* |
| 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); |
| } |
| } |
| */ |