public interface WarmRegressor extends Regressor
warmFromSameDataOnly()
method. Modifier and Type | Method and Description |
---|---|
void |
train(RegressionDataSet dataSet,
Regressor warmSolution)
Trains the regressor and constructs a model for regression using the
given data set.
|
void |
train(RegressionDataSet dataSet,
Regressor warmSolution,
ExecutorService threadPool)
Trains the regressor and constructs a model for regression using the
given data set.
|
boolean |
warmFromSameDataOnly()
Some models can only be warm started from a solution trained on the
exact same data set as the model it is warm starting from.
|
boolean warmFromSameDataOnly()
true
will be returned. The behavior for training on a
different data set when this is defined is undefined. It may cause an
error, or it may cause the algorithm to take longer or reach a worse
solution. true
, it is important that the data set be unaltered - this
includes mutating the values stored or re-arranging the data points
within the data set.true
if the algorithm can only be warm started from the
model trained on the exact same data set.void train(RegressionDataSet dataSet, Regressor warmSolution, ExecutorService threadPool)
dataSet
- the data set to train onwarmSolution
- the solution to use to warm start this modelthreadPool
- the source of threads to use.void train(RegressionDataSet dataSet, Regressor warmSolution)
dataSet
- the data set to train onwarmSolution
- the solution to use to warm start this modelCopyright © 2017. All rights reserved.