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