public class IncrementalLearnerFunction extends Object implements Function<IndependentPair<Map<String,Map<String,Double>>,Map<String,Double>>,IncrementalBilinearSparseOnlineLearner>
IncrementalBilinearSparseOnlineLearner
which are used
to measure loss of an underlying model, and then used to train the underlying model.Constructor and Description |
---|
IncrementalLearnerFunction()
Constructs the underlying learner to train
|
IncrementalLearnerFunction(BilinearLearnerParameters params)
Feeds the parameters to a new learner to train
|
IncrementalLearnerFunction(IncrementalBilinearSparseOnlineLearner learner)
Takes an existing learner and continues training it.
|
Modifier and Type | Method and Description |
---|---|
IncrementalBilinearSparseOnlineLearner |
apply(IndependentPair<Map<String,Map<String,Double>>,Map<String,Double>> in)
Apply the function to the input argument and return the result.
|
public IncrementalLearnerFunction()
public IncrementalLearnerFunction(BilinearLearnerParameters params)
params
- public IncrementalLearnerFunction(IncrementalBilinearSparseOnlineLearner learner)
learner
-