public interface WarmClassifier extends Classifier
warmFromSameDataOnly()
method. Modifier and Type | Method and Description |
---|---|
void |
trainC(ClassificationDataSet dataSet,
Classifier warmSolution)
Trains the classifier and constructs a model for classification using the
given data set.
|
void |
trainC(ClassificationDataSet dataSet,
Classifier warmSolution,
ExecutorService threadPool)
Trains the classifier and constructs a model for classification 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.
|
classify, clone, supportsWeightedData, trainC, trainC
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 trainC(ClassificationDataSet dataSet, Classifier 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 trainC(ClassificationDataSet dataSet, Classifier warmSolution)
dataSet
- the data set to train onwarmSolution
- the solution to use to warm start this modelCopyright © 2017. All rights reserved.