EvaluationMetrics class Null safety

Evaluation metrics of a model.

These are either computed on all training data or just the eval data based on whether eval data was used during training. These are not present for imported models.


EvaluationMetrics({ArimaForecastingMetrics? arimaForecastingMetrics, BinaryClassificationMetrics? binaryClassificationMetrics, ClusteringMetrics? clusteringMetrics, DimensionalityReductionMetrics? dimensionalityReductionMetrics, MultiClassClassificationMetrics? multiClassClassificationMetrics, RankingMetrics? rankingMetrics, RegressionMetrics? regressionMetrics})
EvaluationMetrics.fromJson(Map json_)


arimaForecastingMetrics ArimaForecastingMetrics?
Populated for ARIMA models.
read / write
binaryClassificationMetrics BinaryClassificationMetrics?
Populated for binary classification/classifier models.
read / write
clusteringMetrics ClusteringMetrics?
Populated for clustering models.
read / write
dimensionalityReductionMetrics DimensionalityReductionMetrics?
Evaluation metrics when the model is a dimensionality reduction model, which currently includes PCA.
read / write
hashCode int
The hash code for this object.
multiClassClassificationMetrics MultiClassClassificationMetrics?
Populated for multi-class classification/classifier models.
read / write
rankingMetrics RankingMetrics?
Populated for implicit feedback type matrix factorization models.
read / write
regressionMetrics RegressionMetrics?
Populated for regression models and explicit feedback type matrix factorization models.
read / write
runtimeType Type
A representation of the runtime type of the object.


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toJson() Map<String, dynamic>
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.