M - Type of a produced model.L - Type of a label.public interface DatasetTrainer<M extends Model,L>
| Modifier and Type | Method and Description |
|---|---|
<K,V> M |
fit(DatasetBuilder<K,V> datasetBuilder,
IgniteBiFunction<K,V,double[]> featureExtractor,
IgniteBiFunction<K,V,L> lbExtractor)
Trains model based on the specified data.
|
default <K,V> M |
fit(Ignite ignite,
IgniteCache<K,V> cache,
IgniteBiFunction<K,V,double[]> featureExtractor,
IgniteBiFunction<K,V,L> lbExtractor)
Trains model based on the specified data.
|
default <K,V> M |
fit(Map<K,V> data,
int parts,
IgniteBiFunction<K,V,double[]> featureExtractor,
IgniteBiFunction<K,V,L> lbExtractor)
Trains model based on the specified data.
|
<K,V> M fit(DatasetBuilder<K,V> datasetBuilder, IgniteBiFunction<K,V,double[]> featureExtractor, IgniteBiFunction<K,V,L> lbExtractor)
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.default <K,V> M fit(Ignite ignite, IgniteCache<K,V> cache, IgniteBiFunction<K,V,double[]> featureExtractor, IgniteBiFunction<K,V,L> lbExtractor)
K - Type of a key in upstream data.V - Type of a value in upstream data.ignite - Ignite instance.cache - Ignite cache.featureExtractor - Feature extractor.lbExtractor - Label extractor.default <K,V> M fit(Map<K,V> data, int parts, IgniteBiFunction<K,V,double[]> featureExtractor, IgniteBiFunction<K,V,L> lbExtractor)
K - Type of a key in upstream data.V - Type of a value in upstream data.data - Data.parts - Number of partitions.featureExtractor - Feature extractor.lbExtractor - Label extractor.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018