public class ClassifierModelEvaluation
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Method and Description |
---|---|
ModelEvaluationMacroAverage |
getMacroAverage()
Gets the macroAverage.
|
ModelEvaluationMicroAverage |
getMicroAverage()
Gets the microAverage.
|
List<PerClassModelEvaluation> |
getPerClass()
Gets the perClass.
|
public ModelEvaluationMicroAverage getMicroAverage()
A micro-average aggregates the contributions of all classes to compute the average metric. Classes refers to the classification labels that are specified in the **answer_field**.
public ModelEvaluationMacroAverage getMacroAverage()
A macro-average computes metric independently for each class and then takes the average. Class refers to the classification label that is specified in the **answer_field**.
public List<PerClassModelEvaluation> getPerClass()
An array of evaluation metrics, one set of metrics for each class, where class refers to the classification label that is specified in the **answer_field**.
Copyright © 2024 IBM Cloud. All rights reserved.