Collection of metrics used to evaluate the results of a ELocator tool. More...
#include <eVision/EasyDeepLearning/EasyLocate/ELocatorMetrics.h>
Public Member Functions | |
| ELocatorMetrics () | |
| Constructs an ELocatorMetrics object. | |
| ELocatorMetrics (const eVision::EasyDeepLearning::ELocatorMetrics &other) | |
| Copy constructor of an ELocatorMetrics object. | |
| virtual | ~ELocatorMetrics () throw () |
| eVision::EasyDeepLearning::ELocatorMetrics & | operator= (const eVision::EasyDeepLearning::ELocatorMetrics &other) |
| Assignment operator. | |
| void | Load (const std::string &path) |
| Loads a locator metric. The given ESerializer must have been created for reading. | |
| void | Load (eVision::ESerializer *serializer) |
| Loads a locator metric. The given ESerializer must have been created for reading. | |
| void | Save (const std::string &path) |
| Saves a locator metric. The given ESerializer must have been created for writing. | |
| void | Save (eVision::ESerializer *serializer) |
| Saves a locator metric. The given ESerializer must have been created for writing. | |
| bool | IsValid () const |
| Indicates whether the object contains at least one result. | |
| float | GetError () const |
| Error of the EasyLocate training algorithm (only available for the training metrics, see ELocatorBase::GetTrainingMetrics). | |
| float | GetRecall () const |
| Recall (true positive rate, proportion of ground truth object that are correctly detected). | |
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint | GetWeightedPrecisionRecallPoint () const |
| Weighted precision and recall metrics for the current or specified threshold. | |
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint | GetWeightedPrecisionRecallPoint (float threshold) const |
| Weighted precision and recall metrics for the current or specified threshold. | |
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint | GetWeightedPrecisionRecallPoint (const std::vector< float > &weights) const |
| Weighted precision and recall metrics for the current or specified threshold. | |
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint | GetWeightedPrecisionRecallPoint (float threshold, const std::vector< float > &weights) const |
| Weighted precision and recall metrics for the current or specified threshold. | |
| float | GetWeightedRecall () const |
| Weighted average of the recall (true positive rate) for each label. | |
| float | GetWeightedRecall (const std::vector< float > &weights) const |
| Weighted average of the recall (true positive rate) for each label. | |
| float | GetLabelRecall (const std::string &label) const |
| Recall for the given label. | |
| float | GetLabelRecall (int labelId) const |
| Recall for the given label. | |
| float | GetBestWeightedRecall () const |
| Best weighted recall achievable by changing the detection threshold. | |
| float | GetBestWeightedRecall (const std::vector< float > &weights) const |
| Best weighted recall achievable by changing the detection threshold. | |
| float | GetBestWeightedRecallThreshold () const |
| Detection threshold that gives the best weighted recall (ELocatorMetrics::GetWeightedRecall). | |
| float | GetBestWeightedRecallThreshold (const std::vector< float > &weights) const |
| Detection threshold that gives the best weighted recall (ELocatorMetrics::GetWeightedRecall). | |
| void | GetBestWeightedRecallAndThreshold (float &recall, float &threshold) const |
| Best weighted recall achievable with the corresponding threshold. | |
| void | GetBestWeightedRecallAndThreshold (const std::vector< float > &weights, float &recall, float &threshold) const |
| Best weighted recall achievable with the corresponding threshold. | |
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint | GetBestWeightedRecallPoint () const |
| Best weighted recall achievable returned as a weighted precision/recall point. | |
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint | GetBestWeightedRecallPoint (const std::vector< float > &weights) const |
| Best weighted recall achievable returned as a weighted precision/recall point. | |
| float | GetPrecision () const |
| Precision (proportion of detected objects that are correct). | |
| float | GetWeightedPrecision () const |
| Weighted average of the precision (proportion of detected objects that are correct) for each label. | |
| float | GetWeightedPrecision (const std::vector< float > &weights) const |
| Weighted average of the precision (proportion of detected objects that are correct) for each label. | |
| float | GetLabelPrecision (const std::string &label) const |
| Precision for the given label. | |
| float | GetLabelPrecision (int labelId) const |
| Precision for the given label. | |
| float | GetBestWeightedPrecision () const |
| Best weighted precision achievable by changing the detection threshold. | |
| float | GetBestWeightedPrecision (const std::vector< float > &weights) const |
| Best weighted precision achievable by changing the detection threshold. | |
| float | GetBestWeightedPrecisionThreshold () const |
| Detection threshold that gives the best weighted precision (ELocatorMetrics::GetWeightedPrecision). | |
| float | GetBestWeightedPrecisionThreshold (const std::vector< float > &weights) const |
| Detection threshold that gives the best weighted precision (ELocatorMetrics::GetWeightedPrecision). | |
| void | GetBestWeightedPrecisionAndThreshold (float &precision, float &threshold) const |
| Best weighted precision achievable with the corresponding threshold. | |
| void | GetBestWeightedPrecisionAndThreshold (const std::vector< float > &weights, float &precision, float &threshold) const |
| Best weighted precision achievable with the corresponding threshold. | |
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint | GetBestWeightedPrecisionPoint () const |
| Best weighted precision achievable returned as a weighted precision/recall point. | |
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint | GetBestWeightedPrecisionPoint (const std::vector< float > &weights) const |
| Best weighted precision achievable returned as a weighted precision/recall point. | |
| float | GetFScore () const |
| F-Score (harmonic mean of ELocatorMetrics::GetRecall and ELocatorMetrics::GetPrecision). | |
| float | GetWeightedFScore () const |
| Weighted average of the F-Score for each label. | |
| float | GetWeightedFScore (const std::vector< float > &weights) const |
| Weighted average of the F-Score for each label. | |
| float | GetLabelFScore (const std::string &label) const |
| F-Score for the given label. | |
| float | GetLabelFScore (int labelId) const |
| F-Score for the given label. | |
| float | GetBestWeightedFScore () const |
| Best weighted F-Score achievable by changing the detection threshold. | |
| float | GetBestWeightedFScore (const std::vector< float > &weights) const |
| Best weighted F-Score achievable by changing the detection threshold. | |
| float | GetBestWeightedFScoreThreshold () const |
| Detection threshold that gives the best weighted F-Score (ELocatorMetrics::GetWeightedFScore). | |
| float | GetBestWeightedFScoreThreshold (const std::vector< float > &weights) const |
| Detection threshold that gives the best weighted F-Score (ELocatorMetrics::GetWeightedFScore). | |
| void | GetBestWeightedFScoreAndThreshold (float &fScore, float &threshold) const |
| Best weighted F-Score achievable with the corresponding threshold. | |
| void | GetBestWeightedFScoreAndThreshold (const std::vector< float > &weights, float &fScore, float &threshold) const |
| Best weighted F-Score achievable with the corresponding threshold. | |
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint | GetBestWeightedFScorePoint () const |
| Best weighted F-Score achievable returned as a weighted precision/recall point. | |
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint | GetBestWeightedFScorePoint (const std::vector< float > &weights) const |
| Best weighted F-Score achievable returned as a weighted precision/recall point. | |
| uint32_t | GetNumDetectedObjects () const |
| Number of detected objects. | |
| uint32_t | GetNumDetectedObjects (const std::string &label) const |
| Number of detected objects. | |
| uint32_t | GetNumDetectedObjects (int labelId) const |
| Number of detected objects. | |
| uint32_t | GetNumCorrectlyDetectedObjects () const |
| Number of correctly detected objects. | |
| uint32_t | GetNumCorrectlyDetectedObjects (const std::string &label) const |
| Number of correctly detected objects. | |
| uint32_t | GetNumCorrectlyDetectedObjects (int labelId) const |
| Number of correctly detected objects. | |
| uint32_t | GetNumUndetectedObjects () const |
| Number of undetected objects. | |
| uint32_t | GetNumUndetectedObjects (const std::string &label) const |
| Number of undetected objects. | |
| uint32_t | GetNumUndetectedObjects (int labelId) const |
| Number of undetected objects. | |
| float | GetAveragePrecision () const |
| Average Precision when matching prediction and ground truth with a minimum proximity of ELocatorBase::SetSameLabelMaxObjectProximity. | |
| float | GetAveragePrecision50 () const |
| Average precision when matching prediction and ground truth with a minimum "proximity" of 0.5. | |
| float | GetLabelAveragePrecision (int labelIdx) const |
| Average precision for detection of objects from the given label. | |
| float | GetAverageProximity () const |
| Average proximity of the predicted objects to the ground truth objects. | |
| float | GetIntersectionOverUnion () const |
| Same as ELocatorMetrics::GetAverageProximity. | |
| float | GetLabelAverageProximity (int labelIdx) const |
| Average proximity of the predicted objects of the given label to the ground truth objects. | |
| float | GetLabelIntersectionOverUnion (int labelIdx) const |
| Same as ELocatorMetrics::GetLabelAverageProximity. | |
| void | SetDetectionThreshold (float threshold) |
| Threshold for detected objects. | |
| float | GetDetectionThreshold () const |
| Threshold for detected objects. | |
| float | GetImageAccuracy () const |
| Image accuracy: the proportion of images that are correctly detected to contain or not objects, regardless of their labels. | |
| uint32_t | GetNumCorrectlyPredictedImagesWithObjects () const |
| Number of images containing objects that are correctly predicted as containing objects, regardless of the labels of the objects. This is the number of true positives at the image level. | |
| uint32_t | GetNumCorrectlyPredictedImagesWithoutObjects () const |
| Number of images without objects that are correctly predicted as containing no object. This is the number of true negatives at the image level. | |
| uint32_t | GetNumBadlyPredictedImagesWithObjects () const |
| Number of images with objects that are badly predicted as containing no object. This is the number of false negatives at the image level. | |
| uint32_t | GetNumBadlyPredictedImagesWithoutObjects () const |
| Number of images without objects that are badly predicted as containing objects. This is the number of false positives a the image level. | |
| int | GetNumLabels () const |
| Number of labels recognized by the ELocator tool that produced these metrics. | |
| std::string | GetLabel (int idx) const |
| Label. | |
| ELocatorMetrics (CppWrapperInternal::InternalConstructor) | |
Public Attributes | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
Collection of metrics used to evaluate the results of a ELocator tool.
License(s): BasicTypes
| eVision::EasyDeepLearning::ELocatorMetrics::ELocatorMetrics | ( | ) |
Constructs an ELocatorMetrics object.
| eVision::EasyDeepLearning::ELocatorMetrics::ELocatorMetrics | ( | const eVision::EasyDeepLearning::ELocatorMetrics & | other | ) |
Copy constructor of an ELocatorMetrics object.
| other | Reference to the ELocatorMetrics object that should be copied |
|
virtual | ||||||||||||
| eVision::EasyDeepLearning::ELocatorMetrics::ELocatorMetrics | ( | CppWrapperInternal::InternalConstructor | ) |
| float eVision::EasyDeepLearning::ELocatorMetrics::GetAveragePrecision | ( | ) | const |
Average Precision when matching prediction and ground truth with a minimum proximity of ELocatorBase::SetSameLabelMaxObjectProximity.
| float eVision::EasyDeepLearning::ELocatorMetrics::GetAveragePrecision50 | ( | ) | const |
Average precision when matching prediction and ground truth with a minimum "proximity" of 0.5.
| float eVision::EasyDeepLearning::ELocatorMetrics::GetAverageProximity | ( | ) | const |
Average proximity of the predicted objects to the ground truth objects.
This value is the average of ELocatorMetrics::GetLabelAverageProximity over all the labels.
Look at the documentation of ELocator and EInterestPointLocator for their definition of proximity.
| float eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedFScore | ( | ) | const |
Best weighted F-Score achievable by changing the detection threshold.
| float eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedFScore | ( | const std::vector< float > & | weights | ) | const |
Best weighted F-Score achievable by changing the detection threshold.
| weights | Label weights |
| void eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedFScoreAndThreshold | ( | const std::vector< float > & | weights, |
| float & | fScore, | ||
| float & | threshold ) const |
Best weighted F-Score achievable with the corresponding threshold.
| weights | Label weights |
| fScore | Best weighted F-Score achievable |
| threshold | Threshold that achieves the best weighted F-Score |
Use ELocatorMetrics::GetBestWeightedFScorePoint instead.
Deprecated in version 22.8. Scheduled to be removed in version 27.6.
| void eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedFScoreAndThreshold | ( | float & | fScore, |
| float & | threshold ) const |
Best weighted F-Score achievable with the corresponding threshold.
| fScore | Best weighted F-Score achievable |
| threshold | Threshold that achieves the best weighted F-Score |
Use ELocatorMetrics::GetBestWeightedFScorePoint instead.
Deprecated in version 22.8. Scheduled to be removed in version 27.6.
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedFScorePoint | ( | ) | const |
Best weighted F-Score achievable returned as a weighted precision/recall point.
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedFScorePoint | ( | const std::vector< float > & | weights | ) | const |
Best weighted F-Score achievable returned as a weighted precision/recall point.
| weights | Label weights |
| float eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedFScoreThreshold | ( | ) | const |
Detection threshold that gives the best weighted F-Score (ELocatorMetrics::GetWeightedFScore).
| float eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedFScoreThreshold | ( | const std::vector< float > & | weights | ) | const |
Detection threshold that gives the best weighted F-Score (ELocatorMetrics::GetWeightedFScore).
| weights | Label weights |
| float eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedPrecision | ( | ) | const |
Best weighted precision achievable by changing the detection threshold.
| float eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedPrecision | ( | const std::vector< float > & | weights | ) | const |
Best weighted precision achievable by changing the detection threshold.
| weights | Label weights |
| void eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedPrecisionAndThreshold | ( | const std::vector< float > & | weights, |
| float & | precision, | ||
| float & | threshold ) const |
Best weighted precision achievable with the corresponding threshold.
| weights | Label weights |
| precision | Best weighted precision achievable |
| threshold | Threshold that achieves the best weighted precision |
Use ELocatorMetrics::GetBestWeightedPrecisionPoint instead.
Deprecated in version 22.8. Scheduled to be removed in version 27.6.
| void eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedPrecisionAndThreshold | ( | float & | precision, |
| float & | threshold ) const |
Best weighted precision achievable with the corresponding threshold.
| precision | Best weighted precision achievable |
| threshold | Threshold that achieves the best weighted precision |
Use ELocatorMetrics::GetBestWeightedPrecisionPoint instead.
Deprecated in version 22.8. Scheduled to be removed in version 27.6.
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedPrecisionPoint | ( | ) | const |
Best weighted precision achievable returned as a weighted precision/recall point.
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedPrecisionPoint | ( | const std::vector< float > & | weights | ) | const |
Best weighted precision achievable returned as a weighted precision/recall point.
| weights | Label weights |
| float eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedPrecisionThreshold | ( | ) | const |
Detection threshold that gives the best weighted precision (ELocatorMetrics::GetWeightedPrecision).
| float eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedPrecisionThreshold | ( | const std::vector< float > & | weights | ) | const |
Detection threshold that gives the best weighted precision (ELocatorMetrics::GetWeightedPrecision).
| weights | Label weights |
| float eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedRecall | ( | ) | const |
Best weighted recall achievable by changing the detection threshold.
| float eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedRecall | ( | const std::vector< float > & | weights | ) | const |
Best weighted recall achievable by changing the detection threshold.
| weights | Label weights |
| void eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedRecallAndThreshold | ( | const std::vector< float > & | weights, |
| float & | recall, | ||
| float & | threshold ) const |
Best weighted recall achievable with the corresponding threshold.
| weights | Label weights |
| recall | Best weighted recall achievable |
| threshold | Threshold that achieves the best weighted recall |
Use ELocatorMetrics::GetBestWeightedRecallPoint instead.
Deprecated in version 22.8. Scheduled to be removed in version 27.6.
| void eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedRecallAndThreshold | ( | float & | recall, |
| float & | threshold ) const |
Best weighted recall achievable with the corresponding threshold.
| recall | Best weighted recall achievable |
| threshold | Threshold that achieves the best weighted recall |
Use ELocatorMetrics::GetBestWeightedRecallPoint instead.
Deprecated in version 22.8. Scheduled to be removed in version 27.6.
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedRecallPoint | ( | ) | const |
Best weighted recall achievable returned as a weighted precision/recall point.
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedRecallPoint | ( | const std::vector< float > & | weights | ) | const |
Best weighted recall achievable returned as a weighted precision/recall point.
| weights | Label weights |
| float eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedRecallThreshold | ( | ) | const |
Detection threshold that gives the best weighted recall (ELocatorMetrics::GetWeightedRecall).
| float eVision::EasyDeepLearning::ELocatorMetrics::GetBestWeightedRecallThreshold | ( | const std::vector< float > & | weights | ) | const |
Detection threshold that gives the best weighted recall (ELocatorMetrics::GetWeightedRecall).
| weights | Label weights |
| float eVision::EasyDeepLearning::ELocatorMetrics::GetDetectionThreshold | ( | ) | const |
Threshold for detected objects.
| float eVision::EasyDeepLearning::ELocatorMetrics::GetError | ( | ) | const |
Error of the EasyLocate training algorithm (only available for the training metrics, see ELocatorBase::GetTrainingMetrics).
| float eVision::EasyDeepLearning::ELocatorMetrics::GetFScore | ( | ) | const |
F-Score (harmonic mean of ELocatorMetrics::GetRecall and ELocatorMetrics::GetPrecision).
| float eVision::EasyDeepLearning::ELocatorMetrics::GetImageAccuracy | ( | ) | const |
Image accuracy: the proportion of images that are correctly detected to contain or not objects, regardless of their labels.
| float eVision::EasyDeepLearning::ELocatorMetrics::GetIntersectionOverUnion | ( | ) | const |
Same as ELocatorMetrics::GetAverageProximity.
Use ELocatorMetrics::GetAverageProximity instead.
Deprecated in version 22.8. Scheduled to be removed in version 27.6.
| std::string eVision::EasyDeepLearning::ELocatorMetrics::GetLabel | ( | int | idx | ) | const |
Label.
| idx | Index of the label. |
| float eVision::EasyDeepLearning::ELocatorMetrics::GetLabelAveragePrecision | ( | int | labelIdx | ) | const |
Average precision for detection of objects from the given label.
| labelIdx | Label index |
| float eVision::EasyDeepLearning::ELocatorMetrics::GetLabelAverageProximity | ( | int | labelIdx | ) | const |
Average proximity of the predicted objects of the given label to the ground truth objects.
| labelIdx | Index of the label. |
Look at the documentation of ELocator and EInterestPointLocator for their definition of proximity.
| float eVision::EasyDeepLearning::ELocatorMetrics::GetLabelFScore | ( | const std::string & | label | ) | const |
F-Score for the given label.
| label | Label |
| float eVision::EasyDeepLearning::ELocatorMetrics::GetLabelFScore | ( | int | labelId | ) | const |
F-Score for the given label.
| labelId | Label index |
| float eVision::EasyDeepLearning::ELocatorMetrics::GetLabelIntersectionOverUnion | ( | int | labelIdx | ) | const |
Same as ELocatorMetrics::GetLabelAverageProximity.
| labelIdx | Index of the label. |
Use ELocatorMetrics::GetLabelAverageProximity instead.
Deprecated in version 22.8. Scheduled to be removed in version 27.6.
| float eVision::EasyDeepLearning::ELocatorMetrics::GetLabelPrecision | ( | const std::string & | label | ) | const |
Precision for the given label.
| label | Label |
| float eVision::EasyDeepLearning::ELocatorMetrics::GetLabelPrecision | ( | int | labelId | ) | const |
Precision for the given label.
| labelId | Label index |
| float eVision::EasyDeepLearning::ELocatorMetrics::GetLabelRecall | ( | const std::string & | label | ) | const |
Recall for the given label.
| label | Label |
| float eVision::EasyDeepLearning::ELocatorMetrics::GetLabelRecall | ( | int | labelId | ) | const |
Recall for the given label.
| labelId | Label index |
| uint32_t eVision::EasyDeepLearning::ELocatorMetrics::GetNumBadlyPredictedImagesWithObjects | ( | ) | const |
Number of images with objects that are badly predicted as containing no object. This is the number of false negatives at the image level.
| uint32_t eVision::EasyDeepLearning::ELocatorMetrics::GetNumBadlyPredictedImagesWithoutObjects | ( | ) | const |
Number of images without objects that are badly predicted as containing objects. This is the number of false positives a the image level.
| uint32_t eVision::EasyDeepLearning::ELocatorMetrics::GetNumCorrectlyDetectedObjects | ( | ) | const |
Number of correctly detected objects.
A correctly detected object is a predicted object that has a "proximity" higher than ELocatorBase::SetSameLabelMaxObjectProximity with a ground truth object of the same label.
A label can be specified to obtain the number of correctly detected objects for that label. Otherwise, the number of correctly detected objects is for all the labels.
| uint32_t eVision::EasyDeepLearning::ELocatorMetrics::GetNumCorrectlyDetectedObjects | ( | const std::string & | label | ) | const |
Number of correctly detected objects.
A correctly detected object is a predicted object that has a "proximity" higher than ELocatorBase::SetSameLabelMaxObjectProximity with a ground truth object of the same label.
A label can be specified to obtain the number of correctly detected objects for that label. Otherwise, the number of correctly detected objects is for all the labels.
| label | Label |
| uint32_t eVision::EasyDeepLearning::ELocatorMetrics::GetNumCorrectlyDetectedObjects | ( | int | labelId | ) | const |
Number of correctly detected objects.
A correctly detected object is a predicted object that has a "proximity" higher than ELocatorBase::SetSameLabelMaxObjectProximity with a ground truth object of the same label.
A label can be specified to obtain the number of correctly detected objects for that label. Otherwise, the number of correctly detected objects is for all the labels.
| labelId | Index of the label |
| uint32_t eVision::EasyDeepLearning::ELocatorMetrics::GetNumCorrectlyPredictedImagesWithObjects | ( | ) | const |
Number of images containing objects that are correctly predicted as containing objects, regardless of the labels of the objects. This is the number of true positives at the image level.
| uint32_t eVision::EasyDeepLearning::ELocatorMetrics::GetNumCorrectlyPredictedImagesWithoutObjects | ( | ) | const |
Number of images without objects that are correctly predicted as containing no object. This is the number of true negatives at the image level.
| uint32_t eVision::EasyDeepLearning::ELocatorMetrics::GetNumDetectedObjects | ( | ) | const |
Number of detected objects.
A label can be specified to obtain the number of detected objects for that label. Otherwise, the number of detected objects is for all the labels.
| uint32_t eVision::EasyDeepLearning::ELocatorMetrics::GetNumDetectedObjects | ( | const std::string & | label | ) | const |
Number of detected objects.
A label can be specified to obtain the number of detected objects for that label. Otherwise, the number of detected objects is for all the labels.
| label | Label |
| uint32_t eVision::EasyDeepLearning::ELocatorMetrics::GetNumDetectedObjects | ( | int | labelId | ) | const |
Number of detected objects.
A label can be specified to obtain the number of detected objects for that label. Otherwise, the number of detected objects is for all the labels.
| labelId | Index of the label |
| int eVision::EasyDeepLearning::ELocatorMetrics::GetNumLabels | ( | ) | const |
Number of labels recognized by the ELocator tool that produced these metrics.
| uint32_t eVision::EasyDeepLearning::ELocatorMetrics::GetNumUndetectedObjects | ( | ) | const |
Number of undetected objects.
An undetected object is a ground truth object that is not matched to any predicted object of the same label with a proximity higher than ELocatorBase::SetSameLabelMaxObjectProximity.
A label can be specified to obtain the number of undetected objects for that label. Otherwise, the number of undetected objects is for all the labels.
| uint32_t eVision::EasyDeepLearning::ELocatorMetrics::GetNumUndetectedObjects | ( | const std::string & | label | ) | const |
Number of undetected objects.
An undetected object is a ground truth object that is not matched to any predicted object of the same label with a proximity higher than ELocatorBase::SetSameLabelMaxObjectProximity.
A label can be specified to obtain the number of undetected objects for that label. Otherwise, the number of undetected objects is for all the labels.
| label | Label |
| uint32_t eVision::EasyDeepLearning::ELocatorMetrics::GetNumUndetectedObjects | ( | int | labelId | ) | const |
Number of undetected objects.
An undetected object is a ground truth object that is not matched to any predicted object of the same label with a proximity higher than ELocatorBase::SetSameLabelMaxObjectProximity.
A label can be specified to obtain the number of undetected objects for that label. Otherwise, the number of undetected objects is for all the labels.
| labelId | Index of the label |
| float eVision::EasyDeepLearning::ELocatorMetrics::GetPrecision | ( | ) | const |
Precision (proportion of detected objects that are correct).
| float eVision::EasyDeepLearning::ELocatorMetrics::GetRecall | ( | ) | const |
Recall (true positive rate, proportion of ground truth object that are correctly detected).
| float eVision::EasyDeepLearning::ELocatorMetrics::GetWeightedFScore | ( | ) | const |
Weighted average of the F-Score for each label.
| float eVision::EasyDeepLearning::ELocatorMetrics::GetWeightedFScore | ( | const std::vector< float > & | weights | ) | const |
Weighted average of the F-Score for each label.
| weights | Label weights |
| float eVision::EasyDeepLearning::ELocatorMetrics::GetWeightedPrecision | ( | ) | const |
Weighted average of the precision (proportion of detected objects that are correct) for each label.
| float eVision::EasyDeepLearning::ELocatorMetrics::GetWeightedPrecision | ( | const std::vector< float > & | weights | ) | const |
Weighted average of the precision (proportion of detected objects that are correct) for each label.
| weights | Label weights |
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint eVision::EasyDeepLearning::ELocatorMetrics::GetWeightedPrecisionRecallPoint | ( | ) | const |
Weighted precision and recall metrics for the current or specified threshold.
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint eVision::EasyDeepLearning::ELocatorMetrics::GetWeightedPrecisionRecallPoint | ( | const std::vector< float > & | weights | ) | const |
Weighted precision and recall metrics for the current or specified threshold.
| weights | Label weights |
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint eVision::EasyDeepLearning::ELocatorMetrics::GetWeightedPrecisionRecallPoint | ( | float | threshold | ) | const |
Weighted precision and recall metrics for the current or specified threshold.
| threshold | Threshold for which to get the weighted precision/recall point |
| eVision::EasyDeepLearning::EWeightedPrecisionRecallPoint eVision::EasyDeepLearning::ELocatorMetrics::GetWeightedPrecisionRecallPoint | ( | float | threshold, |
| const std::vector< float > & | weights ) const |
Weighted precision and recall metrics for the current or specified threshold.
| threshold | Threshold for which to get the weighted precision/recall point |
| weights | Label weights |
| float eVision::EasyDeepLearning::ELocatorMetrics::GetWeightedRecall | ( | ) | const |
Weighted average of the recall (true positive rate) for each label.
| float eVision::EasyDeepLearning::ELocatorMetrics::GetWeightedRecall | ( | const std::vector< float > & | weights | ) | const |
Weighted average of the recall (true positive rate) for each label.
| weights | Label weights |
| bool eVision::EasyDeepLearning::ELocatorMetrics::IsValid | ( | ) | const |
Indicates whether the object contains at least one result.
| void eVision::EasyDeepLearning::ELocatorMetrics::Load | ( | const std::string & | path | ) |
Loads a locator metric. The given ESerializer must have been created for reading.
| path | The file path. |
| void eVision::EasyDeepLearning::ELocatorMetrics::Load | ( | eVision::ESerializer * | serializer | ) |
Loads a locator metric. The given ESerializer must have been created for reading.
| serializer | The serializer. |
| eVision::EasyDeepLearning::ELocatorMetrics & eVision::EasyDeepLearning::ELocatorMetrics::operator= | ( | const eVision::EasyDeepLearning::ELocatorMetrics & | other | ) |
Assignment operator.
| other | Reference to the ELocatorMetrics object used for the assignment |
| void eVision::EasyDeepLearning::ELocatorMetrics::Save | ( | const std::string & | path | ) |
Saves a locator metric. The given ESerializer must have been created for writing.
| path | The file path. |
| void eVision::EasyDeepLearning::ELocatorMetrics::Save | ( | eVision::ESerializer * | serializer | ) |
Saves a locator metric. The given ESerializer must have been created for writing.
| serializer | The ESerializer object that is written to. |
| void eVision::EasyDeepLearning::ELocatorMetrics::SetDetectionThreshold | ( | float | threshold | ) |
Threshold for detected objects.
| threshold | Threshold |
| CppWrapperInternal::WrappedClass eVision::EasyDeepLearning::ELocatorMetrics::wrappedClass_ |