EClassificationMetrics::GetWeightedAccuracy
The label weighted accuracy.
Namespace: Euresys::Open_eVision::EasyDeepLearning
[C++]
float GetWeightedAccuracy(
const std::vector<float>& weights
)
float GetWeightedAccuracy(
const EClassificationDataset& dataset
)
Parameters
weights
Array of label weights for the labels of the classifier (see EClassifier)
dataset
Dataset from which to use the label weights
Remarks
The weighted accuracy is the weighted average of the label accuracies (see EClassificationMetrics::GetLabelAccuracy). If there is no results for a given label, it will be ignored in the weighted accuracy.
EClassificationMetrics.GetWeightedAccuracy
The label weighted accuracy.
Namespace: Euresys.Open_eVision.EasyDeepLearning
[C#]
float GetWeightedAccuracy(
float[] weights
)
float GetWeightedAccuracy(
Euresys.Open_eVision.EasyDeepLearning.EClassificationDataset dataset
)
Parameters
weights
Array of label weights for the labels of the classifier (see EClassifier)
dataset
Dataset from which to use the label weights
Remarks
The weighted accuracy is the weighted average of the label accuracies (see EClassificationMetrics::GetLabelAccuracy). If there is no results for a given label, it will be ignored in the weighted accuracy.