public class Evaluator extends Object
Constructor and Description |
---|
Evaluator() |
Modifier and Type | Method and Description |
---|---|
static <K,V> BinaryClassificationMetricValues |
evaluate(IgniteCache<K,V> dataCache,
IgniteBiPredicate<K,V> filter,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor)
Computes the given metrics on the given cache.
|
static <L,K,V> double |
evaluate(IgniteCache<K,V> dataCache,
IgniteBiPredicate<K,V> filter,
IgniteModel<Vector,L> mdl,
Preprocessor<K,V> preprocessor,
Metric<L> metric)
Computes the given metric on the given cache.
|
static <K,V> BinaryClassificationMetricValues |
evaluate(IgniteCache<K,V> dataCache,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor)
Computes the given metrics on the given cache.
|
static <L,K,V> double |
evaluate(IgniteCache<K,V> dataCache,
IgniteModel<Vector,L> mdl,
Preprocessor<K,V> preprocessor,
Metric<L> metric)
Computes the given metric on the given cache.
|
static <K,V> BinaryClassificationMetricValues |
evaluate(Map<K,V> dataCache,
IgniteBiPredicate<K,V> filter,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor)
Computes the given metrics on the given cache.
|
static <L,K,V> double |
evaluate(Map<K,V> dataCache,
IgniteBiPredicate<K,V> filter,
IgniteModel<Vector,L> mdl,
Preprocessor<K,V> preprocessor,
Metric<L> metric)
Computes the given metric on the given cache.
|
static <K,V> BinaryClassificationMetricValues |
evaluate(Map<K,V> dataCache,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor)
Computes the given metrics on the given cache.
|
static <L,K,V> double |
evaluate(Map<K,V> dataCache,
IgniteModel<Vector,L> mdl,
Preprocessor<K,V> preprocessor,
Metric<L> metric)
Computes the given metric on the given cache.
|
static <K,V> RegressionMetricValues |
evaluateRegression(IgniteCache<K,V> dataCache,
IgniteBiPredicate<K,V> filter,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor)
Computes the regression metrics on the given cache.
|
public static <L,K,V> double evaluate(IgniteCache<K,V> dataCache, IgniteModel<Vector,L> mdl, Preprocessor<K,V> preprocessor, Metric<L> metric)
K
- The type of cache entry key.V
- The type of cache entry value.dataCache
- The given cache.mdl
- The model.preprocessor
- The preprocessor.metric
- The binary classification metric.public static <L,K,V> double evaluate(Map<K,V> dataCache, IgniteModel<Vector,L> mdl, Preprocessor<K,V> preprocessor, Metric<L> metric)
K
- The type of cache entry key.V
- The type of cache entry value.dataCache
- The given local data.mdl
- The model.preprocessor
- The preprocessor.metric
- The binary classification metric.public static <L,K,V> double evaluate(IgniteCache<K,V> dataCache, IgniteBiPredicate<K,V> filter, IgniteModel<Vector,L> mdl, Preprocessor<K,V> preprocessor, Metric<L> metric)
K
- The type of cache entry key.V
- The type of cache entry value.dataCache
- The given cache.mdl
- The model.preprocessor
- The preprocessor.metric
- The binary classification metric.public static <L,K,V> double evaluate(Map<K,V> dataCache, IgniteBiPredicate<K,V> filter, IgniteModel<Vector,L> mdl, Preprocessor<K,V> preprocessor, Metric<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.preprocessor
- The preprocessor.metric
- The binary classification metric.public static <K,V> BinaryClassificationMetricValues evaluate(IgniteCache<K,V> dataCache, IgniteModel<Vector,Double> mdl, Preprocessor<K,V> preprocessor)
K
- The type of cache entry key.V
- The type of cache entry value.dataCache
- The given cache.mdl
- The model.preprocessor
- The preprocessor.public static <K,V> BinaryClassificationMetricValues evaluate(Map<K,V> dataCache, IgniteModel<Vector,Double> mdl, Preprocessor<K,V> preprocessor)
K
- The type of cache entry key.V
- The type of cache entry value.dataCache
- The given cache.mdl
- The model.preprocessor
- The preprocessor.public static <K,V> BinaryClassificationMetricValues evaluate(IgniteCache<K,V> dataCache, IgniteBiPredicate<K,V> filter, IgniteModel<Vector,Double> mdl, Preprocessor<K,V> preprocessor)
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.preprocessor
- The preprocessor.public static <K,V> BinaryClassificationMetricValues evaluate(Map<K,V> dataCache, IgniteBiPredicate<K,V> filter, IgniteModel<Vector,Double> mdl, Preprocessor<K,V> preprocessor)
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.preprocessor
- The preprocessor.public static <K,V> RegressionMetricValues evaluateRegression(IgniteCache<K,V> dataCache, IgniteBiPredicate<K,V> filter, IgniteModel<Vector,Double> mdl, Preprocessor<K,V> preprocessor)
K
- The type of cache entry key.V
- The type of cache entry value.dataCache
- Data cache.filter
- Filter.mdl
- Model.preprocessor
- Preprocessor.
GridGain In-Memory Computing Platform : ver. 8.9.19 Release Date : April 10 2025