public class EvaluationResult extends Object
Constructor and Description |
---|
EvaluationResult(Map<MetricName,Double> values)
Creates an instance of EvaluationResult class.
|
Modifier and Type | Method and Description |
---|---|
double |
get(MetricName name)
Returns metric value by its name.
|
Iterable<Map.Entry<MetricName,Double>> |
getAll()
Returns a collection of metric name and value pairs.
|
double |
getSingle()
Returns any computed metric value.
|
String |
toString() |
String |
toString(int precision)
Returns string representation of model estimation.
|
public EvaluationResult(Map<MetricName,Double> values)
values
- Values.public double get(MetricName name)
name
- Name.public double getSingle()
public Iterable<Map.Entry<MetricName,Double>> getAll()
public String toString(int precision)
precision
- Precision.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020