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 LocalLabelPairCursor<L,K,V,T> extends Object implements LabelPairCursor<L>
Constructor and Description |
---|
LocalLabelPairCursor(Map<K,V> upstreamMap,
IgniteBiPredicate<K,V> filter,
IgniteBiFunction<K,V,Vector> featureExtractor,
IgniteBiFunction<K,V,L> lbExtractor,
Model<Vector,L> mdl)
Constructs a new instance of local truth with prediction cursor.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
@NotNull Iterator<LabelPair<L>> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public LocalLabelPairCursor(Map<K,V> upstreamMap, IgniteBiPredicate<K,V> filter, IgniteBiFunction<K,V,Vector> featureExtractor, IgniteBiFunction<K,V,L> lbExtractor, Model<Vector,L> mdl)
upstreamMap
- Map with upstream
data.filter
- Filter for upstream
data.featureExtractor
- Feature extractor.lbExtractor
- Label extractor.mdl
- Model for inference.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019