EClassificationMetrics::GetWeightedError

The label weighted error.

Namespace: Euresys::Open_eVision::EasyDeepLearning

[C++]

float GetWeightedError(
   const std::vector<float>& weights
)

float GetWeightedError(
   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 error is the weighted average of the label errors (see EClassificationMetrics::GetLabelError).
If there isn't any result for a given label, it will be ignored in the weighted error.
If EClassificationMetrics::CanComputeWeightedError is false, this method is an alias for EClassificationMetrics::Error.

EClassificationMetrics.GetWeightedError

The label weighted error.

Namespace: Euresys.Open_eVision.EasyDeepLearning

[C#]

float GetWeightedError(
   float[] weights
)

float GetWeightedError(
   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 error is the weighted average of the label errors (see EClassificationMetrics::GetLabelError).
If there isn't any result for a given label, it will be ignored in the weighted error.
If EClassificationMetrics::CanComputeWeightedError is false, this method is an alias for EClassificationMetrics::Error.