public class KNNRegressionModel<K,V> extends KNNClassificationModel<K,V>
This is an instance-based learning method.
distanceMeasure, k, stgy| Constructor and Description |
|---|
KNNRegressionModel(Dataset<EmptyContext,LabeledDataset<Double,LabeledVector>> dataset)
Builds the model via prepared dataset.
|
| Modifier and Type | Method and Description |
|---|---|
Double |
apply(Vector v) |
equals, findKNearestNeighbors, hashCode, saveModel, withDistanceMeasure, withK, withStrategypublic KNNRegressionModel(Dataset<EmptyContext,LabeledDataset<Double,LabeledVector>> dataset)
dataset - Specially prepared object to run algorithm over it.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018