L - Type of a label (truth or prediction).K - Type of a key in upstream data.V - Type of a value in upstream data.public class CacheBasedLabelPairCursor<L,K,V> extends Object implements LabelPairCursor<L>
| Constructor and Description |
|---|
CacheBasedLabelPairCursor(IgniteCache<K,V> upstreamCache,
IgniteBiFunction<K,V,Vector> featureExtractor,
IgniteBiFunction<K,V,L> lbExtractor,
Model<Vector,L> mdl)
Constructs a new instance of cache based truth with prediction cursor.
|
CacheBasedLabelPairCursor(IgniteCache<K,V> upstreamCache,
IgniteBiPredicate<K,V> filter,
IgniteBiFunction<K,V,Vector> featureExtractor,
IgniteBiFunction<K,V,L> lbExtractor,
Model<Vector,L> mdl)
Constructs a new instance of cache based truth with prediction cursor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Iterator<LabelPair<L>> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic CacheBasedLabelPairCursor(IgniteCache<K,V> upstreamCache, IgniteBiPredicate<K,V> filter, IgniteBiFunction<K,V,Vector> featureExtractor, IgniteBiFunction<K,V,L> lbExtractor, Model<Vector,L> mdl)
upstreamCache - Ignite cache with upstream data.filter - Filter for upstream data.featureExtractor - Feature extractor.lbExtractor - Label extractor.mdl - Model for inference.public CacheBasedLabelPairCursor(IgniteCache<K,V> upstreamCache, IgniteBiFunction<K,V,Vector> featureExtractor, IgniteBiFunction<K,V,L> lbExtractor, Model<Vector,L> mdl)
upstreamCache - Ignite cache with upstream data.featureExtractor - Feature extractor.lbExtractor - Label extractor.mdl - Model for inference.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019