public final class TrainingEstimator extends Object
Rating estimates used while training the predictor. An estimator can be constructed using FunkSVDUpdateRule.makeEstimator(RatingMatrix)
.
Modifier and Type | Method and Description |
---|---|
double |
get(RatingMatrixEntry pref)
Get the estimate for a getEntry.
|
void |
update(org.apache.commons.math3.linear.RealVector ufvs,
org.apache.commons.math3.linear.RealVector ifvs)
Update the current estimates with trained values for a new feature.
|
public double get(RatingMatrixEntry pref)
Get the estimate for a getEntry.
pref
- The getEntry.public void update(org.apache.commons.math3.linear.RealVector ufvs, org.apache.commons.math3.linear.RealVector ifvs)
Update the current estimates with trained values for a new feature.
ufvs
- The user feature values.ifvs
- The item feature values.