public class Evaluator extends Object
| Constructor and Description |
|---|
Evaluator() |
| Modifier and Type | Method and Description |
|---|---|
static <L,K,V> double |
evaluate(IgniteCache<K,V> dataCache,
IgniteBiPredicate<K,V> filter,
Model<Vector,L> mdl,
IgniteBiFunction<K,V,Vector> featureExtractor,
IgniteBiFunction<K,V,L> lbExtractor,
Accuracy<L> metric)
Computes the given metric on the given cache.
|
static <L,K,V> double |
evaluate(IgniteCache<K,V> dataCache,
Model<Vector,L> mdl,
IgniteBiFunction<K,V,Vector> featureExtractor,
IgniteBiFunction<K,V,L> lbExtractor,
Accuracy<L> metric)
Computes the given metric on the given cache.
|
public static <L,K,V> double evaluate(IgniteCache<K,V> dataCache, Model<Vector,L> mdl, IgniteBiFunction<K,V,Vector> featureExtractor, IgniteBiFunction<K,V,L> lbExtractor, Accuracy<L> metric)
L - The type of label.K - The type of cache entry key.V - The type of cache entry value.dataCache - The given cache.mdl - The model.featureExtractor - The feature extractor.lbExtractor - The label extractor.metric - The binary classification metric.public static <L,K,V> double evaluate(IgniteCache<K,V> dataCache, IgniteBiPredicate<K,V> filter, Model<Vector,L> mdl, IgniteBiFunction<K,V,Vector> featureExtractor, IgniteBiFunction<K,V,L> lbExtractor, Accuracy<L> metric)
L - The type of label.K - The type of cache entry key.V - The type of cache entry value.dataCache - The given cache.filter - The given filter.mdl - The model.featureExtractor - The feature extractor.lbExtractor - The label extractor.metric - The binary classification metric.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019