public static class LeastSquaresItemScorer.Builder extends java.lang.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.
|
| Modifier and Type | Method and Description |
|---|---|
LeastSquaresItemScorer |
get() |
@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>