public class Evaluator extends Object
Constructor and Description |
---|
Evaluator() |
Modifier and Type | Method and Description |
---|---|
static <K,V> EvaluationResult |
evaluate(DatasetBuilder<K,V> datasetBuilder,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor,
Metric... metrics)
Evaluate model.
|
static <K,V> double |
evaluate(IgniteCache<K,V> dataCache,
IgniteBiPredicate<K,V> filter,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor,
Metric metric)
Computes the given metric on the given cache.
|
static <K,V> double |
evaluate(IgniteCache<K,V> dataCache,
IgniteBiPredicate<K,V> filter,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor,
MetricName metric)
Computes the given metric on the given cache.
|
static <K,V> double |
evaluate(IgniteCache<K,V> dataCache,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor,
Metric metric)
Computes the given metric on the given cache.
|
static <K,V> double |
evaluate(IgniteCache<K,V> dataCache,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor,
MetricName metric)
Computes the given metric on the given cache.
|
static <K,V> double |
evaluate(Map<K,V> dataCache,
IgniteBiPredicate<K,V> filter,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor,
Metric metric)
Computes the given metric on the given cache.
|
static <K,V> double |
evaluate(Map<K,V> dataCache,
IgniteBiPredicate<K,V> filter,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor,
MetricName metric)
Computes the given metric on the given cache.
|
static <K,V> double |
evaluate(Map<K,V> dataCache,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor,
Metric metric)
Computes the given metric on the given cache.
|
static <K,V> double |
evaluate(Map<K,V> dataCache,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor,
MetricName metric)
Computes the given metric on the given cache.
|
static <K,V> EvaluationResult |
evaluateBinaryClassification(IgniteCache<K,V> dataCache,
IgniteBiPredicate<K,V> filter,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor)
Evaluate binary classifier by default metrics (see package classification).
|
static <K,V> EvaluationResult |
evaluateBinaryClassification(IgniteCache<K,V> dataCache,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor)
Evaluate binary classifier by default metrics (see package classification).
|
static <K,V> EvaluationResult |
evaluateBinaryClassification(Map<K,V> dataCache,
IgniteBiPredicate<K,V> filter,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor)
Evaluate binary classifier by default metrics (see package classification).
|
static <K,V> EvaluationResult |
evaluateBinaryClassification(Map<K,V> dataCache,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor)
Evaluate binary classifier by default metrics (see package classification).
|
static <K,V> EvaluationResult |
evaluateRegression(IgniteCache<K,V> dataCache,
IgniteBiPredicate<K,V> filter,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor)
Evaluate regression by default metrics (see package regression).
|
static <K,V> EvaluationResult |
evaluateRegression(IgniteCache<K,V> dataCache,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor)
Evaluate regression by default metrics (see package regression).
|
static <K,V> EvaluationResult |
evaluateRegression(Map<K,V> dataCache,
IgniteBiPredicate<K,V> filter,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor)
Evaluate regression by default metrics (see package regression).
|
static <K,V> EvaluationResult |
evaluateRegression(Map<K,V> dataCache,
IgniteModel<Vector,Double> mdl,
Preprocessor<K,V> preprocessor)
Evaluate regression by default metrics (see package regression).
|
public static <K,V> double evaluate(IgniteCache<K,V> dataCache, IgniteModel<Vector,Double> mdl, Preprocessor<K,V> preprocessor, Metric 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 metric.public static <K,V> double evaluate(IgniteCache<K,V> dataCache, IgniteBiPredicate<K,V> filter, IgniteModel<Vector,Double> mdl, Preprocessor<K,V> preprocessor, Metric metric)
K
- The type of cache entry key.V
- The type of cache entry value.dataCache
- The given cache.filter
- The filter.mdl
- The model.preprocessor
- The preprocessor.metric
- The metric.public static <K,V> double evaluate(IgniteCache<K,V> dataCache, IgniteModel<Vector,Double> mdl, Preprocessor<K,V> preprocessor, MetricName 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 metric name.public static <K,V> double evaluate(IgniteCache<K,V> dataCache, IgniteBiPredicate<K,V> filter, IgniteModel<Vector,Double> mdl, Preprocessor<K,V> preprocessor, MetricName metric)
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 metric name.public static <K,V> double evaluate(Map<K,V> dataCache, IgniteModel<Vector,Double> mdl, Preprocessor<K,V> preprocessor, Metric 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 <K,V> double evaluate(Map<K,V> dataCache, IgniteBiPredicate<K,V> filter, IgniteModel<Vector,Double> mdl, Preprocessor<K,V> preprocessor, Metric metric)
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> double evaluate(Map<K,V> dataCache, IgniteModel<Vector,Double> mdl, Preprocessor<K,V> preprocessor, MetricName 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 <K,V> double evaluate(Map<K,V> dataCache, IgniteBiPredicate<K,V> filter, IgniteModel<Vector,Double> mdl, Preprocessor<K,V> preprocessor, MetricName metric)
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> EvaluationResult evaluateBinaryClassification(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> EvaluationResult evaluateBinaryClassification(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 filter.mdl
- The model.preprocessor
- The preprocessor.public static <K,V> EvaluationResult evaluateBinaryClassification(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> EvaluationResult evaluateBinaryClassification(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> EvaluationResult evaluateRegression(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> EvaluationResult 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
- The given cache.filter
- The given filter.mdl
- The model.preprocessor
- The preprocessor.public static <K,V> EvaluationResult evaluateRegression(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> EvaluationResult evaluateRegression(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> EvaluationResult evaluate(DatasetBuilder<K,V> datasetBuilder, IgniteModel<Vector,Double> mdl, Preprocessor<K,V> preprocessor, Metric... metrics)
K
- Type of key.V
- Type of value.mdl
- The model.datasetBuilder
- Dataset builder.preprocessor
- Preprocessor.metrics
- Metrics to compute.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021