public class KNNRegressionTrainer extends KNNTrainer<KNNRegressionModel,KNNRegressionTrainer>
Dataset
that consists of a set of resources allocated across the cluster.DatasetTrainer.EmptyDatasetException
distanceMeasure, k, weighted
envBuilder, environment
Constructor and Description |
---|
KNNRegressionTrainer() |
Modifier and Type | Method and Description |
---|---|
protected KNNRegressionModel |
convertDatasetIntoModel(Dataset<EmptyContext,SpatialIndex<Double>> dataset)
Convers given dataset into KNN model (classification or regression depends on implementation).
|
protected KNNRegressionTrainer |
self()
Returns
this instance. |
fitWithInitializedDeployingContext, isUpdateable, updateModel, withDataTtl, withDistanceMeasure, withIdxType, withK, withWeighted
fit, fit, fit, fit, fit, fit, getLastTrainedModelOrThrowEmptyDatasetException, identityTrainer, learningEnvironment, update, update, update, update, update, withConvertedLabels, withEnvironmentBuilder
protected KNNRegressionModel convertDatasetIntoModel(Dataset<EmptyContext,SpatialIndex<Double>> dataset)
convertDatasetIntoModel
in class KNNTrainer<KNNRegressionModel,KNNRegressionTrainer>
dataset
- Dataset of spatial indices.protected KNNRegressionTrainer self()
this
instance.self
in class KNNTrainer<KNNRegressionModel,KNNRegressionTrainer>
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024