eVision Python API
Loading...
Searching...
No Matches
eVision.EasyDeepLearning.EWeightedPrecisionRecallPoint Class Reference

Weighted precision and recall for a given threshold. More...

Public Member Functions

None __init__ (self)
 Default constructor.
None __init__ (self, eVision.EasyDeepLearning.EWeightedPrecisionRecallPoint other)
 Copy constructor.
None __init__ (self, float Threshold)
None __init__ (self, float Threshold, float Recall)
None __init__ (self, float Threshold, float Recall, float Precision)
None __init__ (self, float Threshold, float Recall, float Precision, float FScore)
float Threshold (self)
 Threshold of the metric point.
 Threshold (self, float value)
 Threshold of the metric point.
float Recall (self)
 Weighted recall corresponding to the threshold.
 Recall (self, float value)
 Weighted recall corresponding to the threshold.
float Precision (self)
 Weighted precision corresponding to the threshold.
 Precision (self, float value)
 Weighted precision corresponding to the threshold.
float FScore (self)
 Weighted F-Score corresponding to the threshold.
 FScore (self, float value)
 Weighted F-Score corresponding to the threshold.

Detailed Description

Weighted precision and recall for a given threshold.

Remarks:

License(s): BasicTypes

Constructor & Destructor Documentation

◆ __init__() [1/6]

None eVision.EasyDeepLearning.EWeightedPrecisionRecallPoint.__init__ ( self)

Default constructor.

◆ __init__() [2/6]

None eVision.EasyDeepLearning.EWeightedPrecisionRecallPoint.__init__ ( self,
eVision.EasyDeepLearning.EWeightedPrecisionRecallPoint other )

Copy constructor.

Parameters
otherWeighted metric point to copy

◆ __init__() [3/6]

None eVision.EasyDeepLearning.EWeightedPrecisionRecallPoint.__init__ ( self,
float Threshold )
Parameters
ThresholdThreshold of the metric point.

◆ __init__() [4/6]

None eVision.EasyDeepLearning.EWeightedPrecisionRecallPoint.__init__ ( self,
float Threshold,
float Recall )
Parameters
ThresholdThreshold of the metric point.
RecallWeighted recall corresponding to the threshold.

The weighted recall is the weighted average of the recall for each label. The recall for a label is the number of correctly predicted element divided by the number of ground truth elements of that label.

◆ __init__() [5/6]

None eVision.EasyDeepLearning.EWeightedPrecisionRecallPoint.__init__ ( self,
float Threshold,
float Recall,
float Precision )
Parameters
ThresholdThreshold of the metric point.
RecallWeighted recall corresponding to the threshold.

The weighted recall is the weighted average of the recall for each label. The recall for a label is the number of correctly predicted element divided by the number of ground truth elements of that label.

Parameters
PrecisionWeighted precision corresponding to the threshold.

The weighted precision is the weighted average of the precision for each label. The precision for a label is the number of correctly predicted element divided by the number of elements predicted for that label (correctly or wrongly).

◆ __init__() [6/6]

None eVision.EasyDeepLearning.EWeightedPrecisionRecallPoint.__init__ ( self,
float Threshold,
float Recall,
float Precision,
float FScore )
Parameters
ThresholdThreshold of the metric point.
RecallWeighted recall corresponding to the threshold.

The weighted recall is the weighted average of the recall for each label. The recall for a label is the number of correctly predicted element divided by the number of ground truth elements of that label.

Parameters
PrecisionWeighted precision corresponding to the threshold.

The weighted precision is the weighted average of the precision for each label. The precision for a label is the number of correctly predicted element divided by the number of elements predicted for that label (correctly or wrongly).

Parameters
FScoreWeighted F-Score corresponding to the threshold.

The weighted F-Score is the harmonic mean of the weighted recall and weighted precision.

Member Function Documentation

◆ FScore() [1/2]

float eVision.EasyDeepLearning.EWeightedPrecisionRecallPoint.FScore ( self)

Weighted F-Score corresponding to the threshold.

The weighted F-Score is the harmonic mean of the weighted recall and weighted precision.

◆ FScore() [2/2]

eVision.EasyDeepLearning.EWeightedPrecisionRecallPoint.FScore ( self,
float value )

Weighted F-Score corresponding to the threshold.

The weighted F-Score is the harmonic mean of the weighted recall and weighted precision.

◆ Precision() [1/2]

float eVision.EasyDeepLearning.EWeightedPrecisionRecallPoint.Precision ( self)

Weighted precision corresponding to the threshold.

The weighted precision is the weighted average of the precision for each label. The precision for a label is the number of correctly predicted element divided by the number of elements predicted for that label (correctly or wrongly).

◆ Precision() [2/2]

eVision.EasyDeepLearning.EWeightedPrecisionRecallPoint.Precision ( self,
float value )

Weighted precision corresponding to the threshold.

The weighted precision is the weighted average of the precision for each label. The precision for a label is the number of correctly predicted element divided by the number of elements predicted for that label (correctly or wrongly).

◆ Recall() [1/2]

float eVision.EasyDeepLearning.EWeightedPrecisionRecallPoint.Recall ( self)

Weighted recall corresponding to the threshold.

The weighted recall is the weighted average of the recall for each label. The recall for a label is the number of correctly predicted element divided by the number of ground truth elements of that label.

◆ Recall() [2/2]

eVision.EasyDeepLearning.EWeightedPrecisionRecallPoint.Recall ( self,
float value )

Weighted recall corresponding to the threshold.

The weighted recall is the weighted average of the recall for each label. The recall for a label is the number of correctly predicted element divided by the number of ground truth elements of that label.

◆ Threshold() [1/2]

float eVision.EasyDeepLearning.EWeightedPrecisionRecallPoint.Threshold ( self)

Threshold of the metric point.

◆ Threshold() [2/2]

eVision.EasyDeepLearning.EWeightedPrecisionRecallPoint.Threshold ( self,
float value )

Threshold of the metric point.