public static class LeastSquaresItemScorer.Builder extends Object implements javax.inject.Provider<LeastSquaresItemScorer>
The builder for the least squares predictor.
Constructor and Description |
---|
Builder(double regFactor,
double lrate,
RatingMatrix data,
StoppingCondition stop)
Create a new builder.
|
@Inject public Builder(@RegularizationTerm double regFactor, @LearningRate double lrate, RatingMatrix data, StoppingCondition stop)
Create a new builder.
regFactor
- The regularization termlrate
- The learning ratedata
- The preference datastop
- The training loop condition.public LeastSquaresItemScorer get()
get
in interface javax.inject.Provider<LeastSquaresItemScorer>