The structure representing a point on the ROC (Receiver Operating Characteristic) curve. More...
Public Member Functions | |
| EROCPoint (float threshold, int truePositiveCount, int positiveCount, int falsePositiveCount, int negativeCount) | |
| Constructs a EROCPoint. | |
| void | Load (string path) |
| Loads the ROC point. The given ESerializer must have been created for reading. | |
| void | Load (eVision.ESerializer serializer) |
| Loads the ROC point. The given ESerializer must have been created for reading. | |
| void | Save (string path) |
| Saves the ROC point. The given ESerializer must have been created for writing. | |
| void | Save (eVision.ESerializer serializer) |
| Saves the ROC point. The given ESerializer must have been created for writing. | |
Public Attributes | |
| float | TPR |
| The True Positive Rate: it is the number of defective images classified as defective, normalized by the number of defective images. | |
| int | TP |
| The True Positive count: it is the number of defective images classified as defective. | |
| int | P |
| The Positive count: it is the number of defective images. | |
| float | FPR |
| The False Positive Rate: it is the number of good image classified as defective, normalized by the number of good images. | |
| int | FP |
| The False Positive count: it is the number of good image classified as defective. | |
| int | N |
| The Negative count: it is the number of good images. | |
| float | Threshold |
| The threshold associated with the true and false positive rates (see EUnsupervisedSegmenter.ClassificationThreshold). | |
The structure representing a point on the ROC (Receiver Operating Characteristic) curve.
License(s): None
| eVision.EasyDeepLearning.EROCPoint.EROCPoint | ( | float | threshold, |
| int | truePositiveCount, | ||
| int | positiveCount, | ||
| int | falsePositiveCount, | ||
| int | negativeCount ) |
Constructs a 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. |
| void eVision.EasyDeepLearning.EROCPoint.Load | ( | eVision.ESerializer | serializer | ) |
Loads the ROC point. The given ESerializer must have been created for reading.
| serializer | The serializer. |
| void eVision.EasyDeepLearning.EROCPoint.Load | ( | string | path | ) |
Loads the ROC point. The given ESerializer must have been created for reading.
| path | The file path. |
| void eVision.EasyDeepLearning.EROCPoint.Save | ( | eVision.ESerializer | serializer | ) |
Saves the ROC point. The given ESerializer must have been created for writing.
| serializer | The serializer. |
| void eVision.EasyDeepLearning.EROCPoint.Save | ( | string | path | ) |
Saves the ROC point. The given ESerializer must have been created for writing.
| path | The file path. |
| int eVision.EasyDeepLearning.EROCPoint.FP |
The False Positive count: it is the number of good image classified as defective.
| float eVision.EasyDeepLearning.EROCPoint.FPR |
The False Positive Rate: it is the number of good image classified as defective, normalized by the number of good images.
| int eVision.EasyDeepLearning.EROCPoint.N |
The Negative count: it is the number of good images.
| int eVision.EasyDeepLearning.EROCPoint.P |
The Positive count: it is the number of defective images.
| float eVision.EasyDeepLearning.EROCPoint.Threshold |
The threshold associated with the true and false positive rates (see EUnsupervisedSegmenter.ClassificationThreshold).
| int eVision.EasyDeepLearning.EROCPoint.TP |
The True Positive count: it is the number of defective images classified as defective.
| float eVision.EasyDeepLearning.EROCPoint.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.