The structure representing a point on the ROC (Receiver Operating Characteristic) curve. More...
Public Member Functions | |
| None | __init__ (self) |
| Constructs a eVision.EasyDeepLearning.EROCPoint. | |
| None | __init__ (self, float threshold, int truePositiveCount, int positiveCount, int falsePositiveCount, int negativeCount) |
| Constructs a eVision.EasyDeepLearning.EROCPoint. | |
| None | __init__ (self, float TPR) |
| None | __init__ (self, float TPR, int TP) |
| None | __init__ (self, float TPR, int TP, int P) |
| None | __init__ (self, float TPR, int TP, int P, float FPR) |
| None | __init__ (self, float TPR, int TP, int P, float FPR, int FP) |
| None | __init__ (self, float TPR, int TP, int P, float FPR, int FP, int N) |
| None | __init__ (self, float TPR, int TP, int P, float FPR, int FP, int N, float Threshold) |
| None | __init__ (self, eVision.EasyDeepLearning.EROCPoint other) |
| None | Load (self, str path) |
| Loads the ROC point. | |
| None | Load (self, eVision.ESerializer|None serializer) |
| Loads the ROC point. | |
| None | Save (self, str path) |
| Saves the ROC point. | |
| None | Save (self, eVision.ESerializer|None serializer) |
| Saves the ROC point. | |
| float | TPR (self) |
| The True Positive Rate: it is the number of defective images classified as defective, normalized by the number of defective images. | |
| TPR (self, float value) | |
| The True Positive Rate: it is the number of defective images classified as defective, normalized by the number of defective images. | |
| int | TP (self) |
| The True Positive count: it is the number of defective images classified as defective. | |
| TP (self, int value) | |
| The True Positive count: it is the number of defective images classified as defective. | |
| int | P (self) |
| The Positive count: it is the number of defective images. | |
| P (self, int value) | |
| The Positive count: it is the number of defective images. | |
| float | FPR (self) |
| The False Positive Rate: it is the number of good image classified as defective, normalized by the number of good images. | |
| FPR (self, float value) | |
| The False Positive Rate: it is the number of good image classified as defective, normalized by the number of good images. | |
| int | FP (self) |
| The False Positive count: it is the number of good image classified as defective. | |
| FP (self, int value) | |
| The False Positive count: it is the number of good image classified as defective. | |
| int | N (self) |
| The Negative count: it is the number of good images. | |
| N (self, int value) | |
| The Negative count: it is the number of good images. | |
| float | Threshold (self) |
| The threshold associated with the true and false positive rates (see eVision.EasyDeepLearning.EUnsupervisedSegmenter.ClassificationThreshold). | |
| Threshold (self, float value) | |
| The threshold associated with the true and false positive rates (see eVision.EasyDeepLearning.EUnsupervisedSegmenter.ClassificationThreshold). | |
The structure representing a point on the ROC (Receiver Operating Characteristic) curve.
Remarks:
License(s): None
| None eVision.EasyDeepLearning.EROCPoint.__init__ | ( | self | ) |
Constructs a eVision.EasyDeepLearning.EROCPoint.
| None eVision.EasyDeepLearning.EROCPoint.__init__ | ( | self, | |
| float | threshold, | ||
| int | truePositiveCount, | ||
| int | positiveCount, | ||
| int | falsePositiveCount, | ||
| int | negativeCount ) |
Constructs a eVision.EasyDeepLearning.EROCPoint.
| threshold | Threshold corresponding to the ROC point. |
| truePositiveCount | Number of defective images classified as defective. |
| positiveCount | Total number of defective images. |
| falsePositiveCount | Number of good images classified as defective. |
| negativeCount | Total number of good images. |
| None eVision.EasyDeepLearning.EROCPoint.__init__ | ( | self, | |
| float | TPR ) |
| TPR | The True Positive Rate: it is the number of defective images classified as defective, normalized by the number of defective images. |
The TPR can be NaN (Not A Number) if the metrics were computed using only good images.
| None eVision.EasyDeepLearning.EROCPoint.__init__ | ( | self, | |
| float | TPR, | ||
| int | TP ) |
| TPR | The True Positive Rate: it is the number of defective images classified as defective, normalized by the number of defective images. |
The TPR can be NaN (Not A Number) if the metrics were computed using only good images.
| TP | The True Positive count: it is the number of defective images classified as defective. |
| None eVision.EasyDeepLearning.EROCPoint.__init__ | ( | self, | |
| float | TPR, | ||
| int | TP, | ||
| int | P ) |
| TPR | The True Positive Rate: it is the number of defective images classified as defective, normalized by the number of defective images. |
The TPR can be NaN (Not A Number) if the metrics were computed using only good images.
| TP | The True Positive count: it is the number of defective images classified as defective. |
| P | The Positive count: it is the number of defective images. |
| None eVision.EasyDeepLearning.EROCPoint.__init__ | ( | self, | |
| float | TPR, | ||
| int | TP, | ||
| int | P, | ||
| float | FPR ) |
| TPR | The True Positive Rate: it is the number of defective images classified as defective, normalized by the number of defective images. |
The TPR can be NaN (Not A Number) if the metrics were computed using only good images.
| TP | The True Positive count: it is the number of defective images classified as defective. |
| P | The Positive count: it is the number of defective images. |
| FPR | The False Positive Rate: it is the number of good image classified as defective, normalized by the number of good images. |
| None eVision.EasyDeepLearning.EROCPoint.__init__ | ( | self, | |
| float | TPR, | ||
| int | TP, | ||
| int | P, | ||
| float | FPR, | ||
| int | FP ) |
| TPR | The True Positive Rate: it is the number of defective images classified as defective, normalized by the number of defective images. |
The TPR can be NaN (Not A Number) if the metrics were computed using only good images.
| TP | The True Positive count: it is the number of defective images classified as defective. |
| P | The Positive count: it is the number of defective images. |
| FPR | The False Positive Rate: it is the number of good image classified as defective, normalized by the number of good images. |
| FP | The False Positive count: it is the number of good image classified as defective. |
| None eVision.EasyDeepLearning.EROCPoint.__init__ | ( | self, | |
| float | TPR, | ||
| int | TP, | ||
| int | P, | ||
| float | FPR, | ||
| int | FP, | ||
| int | N ) |
| TPR | The True Positive Rate: it is the number of defective images classified as defective, normalized by the number of defective images. |
The TPR can be NaN (Not A Number) if the metrics were computed using only good images.
| TP | The True Positive count: it is the number of defective images classified as defective. |
| P | The Positive count: it is the number of defective images. |
| FPR | The False Positive Rate: it is the number of good image classified as defective, normalized by the number of good images. |
| FP | The False Positive count: it is the number of good image classified as defective. |
| N | The Negative count: it is the number of good images. |
| None eVision.EasyDeepLearning.EROCPoint.__init__ | ( | self, | |
| float | TPR, | ||
| int | TP, | ||
| int | P, | ||
| float | FPR, | ||
| int | FP, | ||
| int | N, | ||
| float | Threshold ) |
| TPR | The True Positive Rate: it is the number of defective images classified as defective, normalized by the number of defective images. |
The TPR can be NaN (Not A Number) if the metrics were computed using only good images.
| TP | The True Positive count: it is the number of defective images classified as defective. |
| P | The Positive count: it is the number of defective images. |
| FPR | The False Positive Rate: it is the number of good image classified as defective, normalized by the number of good images. |
| FP | The False Positive count: it is the number of good image classified as defective. |
| N | The Negative count: it is the number of good images. |
| Threshold | The threshold associated with the true and false positive rates (see eVision.EasyDeepLearning.EUnsupervisedSegmenter.ClassificationThreshold). |
| None eVision.EasyDeepLearning.EROCPoint.__init__ | ( | self, | |
| eVision.EasyDeepLearning.EROCPoint | other ) |
| other | Other instance |
| int eVision.EasyDeepLearning.EROCPoint.FP | ( | self | ) |
The False Positive count: it is the number of good image classified as defective.
| eVision.EasyDeepLearning.EROCPoint.FP | ( | self, | |
| int | value ) |
The False Positive count: it is the number of good image classified as defective.
| float eVision.EasyDeepLearning.EROCPoint.FPR | ( | self | ) |
The False Positive Rate: it is the number of good image classified as defective, normalized by the number of good images.
| eVision.EasyDeepLearning.EROCPoint.FPR | ( | self, | |
| float | value ) |
The False Positive Rate: it is the number of good image classified as defective, normalized by the number of good images.
| None eVision.EasyDeepLearning.EROCPoint.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Loads the ROC point.
The given eVision.ESerializer must have been created for reading.
| serializer | The serializer. |
| None eVision.EasyDeepLearning.EROCPoint.Load | ( | self, | |
| str | path ) |
Loads the ROC point.
The given eVision.ESerializer must have been created for reading.
| path | The file path. |
| int eVision.EasyDeepLearning.EROCPoint.N | ( | self | ) |
The Negative count: it is the number of good images.
| eVision.EasyDeepLearning.EROCPoint.N | ( | self, | |
| int | value ) |
The Negative count: it is the number of good images.
| int eVision.EasyDeepLearning.EROCPoint.P | ( | self | ) |
The Positive count: it is the number of defective images.
| eVision.EasyDeepLearning.EROCPoint.P | ( | self, | |
| int | value ) |
The Positive count: it is the number of defective images.
| None eVision.EasyDeepLearning.EROCPoint.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Saves the ROC point.
The given eVision.ESerializer must have been created for writing.
| serializer | The serializer. |
| None eVision.EasyDeepLearning.EROCPoint.Save | ( | self, | |
| str | path ) |
Saves the ROC point.
The given eVision.ESerializer must have been created for writing.
| path | The file path. |
| float eVision.EasyDeepLearning.EROCPoint.Threshold | ( | self | ) |
The threshold associated with the true and false positive rates (see eVision.EasyDeepLearning.EUnsupervisedSegmenter.ClassificationThreshold).
| eVision.EasyDeepLearning.EROCPoint.Threshold | ( | self, | |
| float | value ) |
The threshold associated with the true and false positive rates (see eVision.EasyDeepLearning.EUnsupervisedSegmenter.ClassificationThreshold).
| int eVision.EasyDeepLearning.EROCPoint.TP | ( | self | ) |
The True Positive count: it is the number of defective images classified as defective.
| eVision.EasyDeepLearning.EROCPoint.TP | ( | self, | |
| int | value ) |
The True Positive count: it is the number of defective images classified as defective.
| float eVision.EasyDeepLearning.EROCPoint.TPR | ( | self | ) |
The True Positive Rate: it is the number of defective images classified as defective, normalized by the number of defective images.
The TPR can be NaN (Not A Number) if the metrics were computed using only good images.
| eVision.EasyDeepLearning.EROCPoint.TPR | ( | self, | |
| float | value ) |
The True Positive Rate: it is the number of defective images classified as defective, normalized by the number of defective images.
The TPR can be NaN (Not A Number) if the metrics were computed using only good images.