public class LinearRegressionLSQRTrainer extends Object implements SingleLabelDatasetTrainer<LinearRegressionModel>
AbstractLSQR| Constructor and Description |
|---|
LinearRegressionLSQRTrainer() |
| Modifier and Type | Method and Description |
|---|---|
<K,V> LinearRegressionModel |
fit(DatasetBuilder<K,V> datasetBuilder,
IgniteBiFunction<K,V,double[]> featureExtractor,
IgniteBiFunction<K,V,Double> lbExtractor)
Trains model based on the specified data.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfit, fitpublic <K,V> LinearRegressionModel fit(DatasetBuilder<K,V> datasetBuilder, IgniteBiFunction<K,V,double[]> featureExtractor, IgniteBiFunction<K,V,Double> lbExtractor)
fit in interface DatasetTrainer<LinearRegressionModel,Double>K - Type of a key in upstream data.V - Type of a value in upstream data.datasetBuilder - Dataset builder.featureExtractor - Feature extractor.lbExtractor - Label extractor.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018