public class FunkSVDItemScorer extends BiasedMFItemScorer
Do recommendations and predictions based on SVD matrix factorization. This is simply a convenience class to make it easy to get a FunkSVD scorer; it specializes the biased MF scorer to require a FunkSVD model.
Constructor and Description |
---|
FunkSVDItemScorer(FunkSVDModel model,
ItemScorer baseline,
PreferenceDomain dom)
Construct the item scorer.
|
Modifier and Type | Method and Description |
---|---|
FunkSVDModel |
getModel() |
getUserPreferenceVector, scoreWithDetails
score, score
@Inject public FunkSVDItemScorer(FunkSVDModel model, @BaselineScorer ItemScorer baseline, @Nullable PreferenceDomain dom)
Construct the item scorer.
model
- The model.baseline
- The baseline scorer. Be very careful when configuring a different baseline at runtime than at model-build time; such a configuration is unlikely to perform well.dom
- The preference domain.public FunkSVDModel getModel()
getModel
in class BiasedMFItemScorer