public static class LeastSquaresPredictor.Builder extends Object implements javax.inject.Provider<LeastSquaresPredictor>
Constructor and Description |
---|
LeastSquaresPredictor.Builder(double regFactor,
double lrate,
PreferenceSnapshot data,
StoppingCondition stop)
Create a new builder.
|
@Inject public LeastSquaresPredictor.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 LeastSquaresPredictor get()
get
in interface javax.inject.Provider<LeastSquaresPredictor>
Copyright © 2013 GroupLens Research. All Rights Reserved.