K - Type of a key in upstream data.V - Type of a value in upstream data.C - Type of a partition context.public class LabeledDatasetPartitionDataBuilderOnHeap<K,V,C extends Serializable> extends Object implements PartitionDataBuilder<K,V,C,LabeledDataset<Double,LabeledVector>>
LabeledDataset.| Constructor and Description |
|---|
LabeledDatasetPartitionDataBuilderOnHeap(IgniteBiFunction<K,V,double[]> xExtractor,
IgniteBiFunction<K,V,Double> yExtractor)
Constructs a new instance of SVM partition data builder.
|
| Modifier and Type | Method and Description |
|---|---|
LabeledDataset<Double,LabeledVector> |
build(Iterator<UpstreamEntry<K,V>> upstreamData,
long upstreamDataSize,
C ctx)
Builds a new partition
data from a partition upstream data and partition context |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenpublic LabeledDatasetPartitionDataBuilderOnHeap(IgniteBiFunction<K,V,double[]> xExtractor, IgniteBiFunction<K,V,Double> yExtractor)
xExtractor - Extractor of X matrix row.yExtractor - Extractor of Y vector value.public LabeledDataset<Double,LabeledVector> build(Iterator<UpstreamEntry<K,V>> upstreamData, long upstreamDataSize, C ctx)
data from a partition upstream data and partition contextbuild in interface PartitionDataBuilder<K,V,C extends Serializable,LabeledDataset<Double,LabeledVector>>upstreamData - Partition upstream data.upstreamDataSize - Partition upstream data size.ctx - Partition context.data.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018