public final class SVDPlusPlusFactorizer extends RatingSGDFactorizer
biasLearningRate, biasReg, dataModel, FEATURE_OFFSET, ITEM_BIAS_INDEX, itemVectors, learningRate, learningRateDecay, numFeatures, preventOverfitting, randomNoise, USER_BIAS_INDEX, userVectors| Constructor and Description |
|---|
SVDPlusPlusFactorizer(DataModel dataModel,
int numFeatures,
double learningRate,
double preventOverfitting,
double randomNoise,
int numIterations,
double learningRateDecay) |
SVDPlusPlusFactorizer(DataModel dataModel,
int numFeatures,
int numIterations) |
| Modifier and Type | Method and Description |
|---|---|
Factorization |
factorize() |
protected void |
prepareTraining() |
protected void |
updateParameters(long userID,
long itemID,
float rating,
double currentLearningRate) |
shufflePreferencescreateFactorization, itemIndex, refresh, userIndexpublic SVDPlusPlusFactorizer(DataModel dataModel, int numFeatures, int numIterations) throws TasteException
TasteExceptionpublic SVDPlusPlusFactorizer(DataModel dataModel, int numFeatures, double learningRate, double preventOverfitting, double randomNoise, int numIterations, double learningRateDecay) throws TasteException
TasteExceptionprotected void prepareTraining()
throws TasteException
prepareTraining in class RatingSGDFactorizerTasteExceptionpublic Factorization factorize() throws TasteException
factorize in interface Factorizerfactorize in class RatingSGDFactorizerTasteExceptionprotected void updateParameters(long userID,
long itemID,
float rating,
double currentLearningRate)
updateParameters in class RatingSGDFactorizerCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.