Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ConfusionMatrix = ConfusionMatrix' {}
- newConfusionMatrix :: ConfusionMatrix
- confusionMatrix_numTrueNegatives :: Lens' ConfusionMatrix (Maybe Integer)
- confusionMatrix_numFalseNegatives :: Lens' ConfusionMatrix (Maybe Integer)
- confusionMatrix_numTruePositives :: Lens' ConfusionMatrix (Maybe Integer)
- confusionMatrix_numFalsePositives :: Lens' ConfusionMatrix (Maybe Integer)
Documentation
data ConfusionMatrix Source #
The confusion matrix shows you what your transform is predicting accurately and what types of errors it is making.
For more information, see Confusion matrix in Wikipedia.
See: newConfusionMatrix
smart constructor.
ConfusionMatrix' | |
|
Instances
newConfusionMatrix :: ConfusionMatrix Source #
Create a value of ConfusionMatrix
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:numTrueNegatives:ConfusionMatrix'
, confusionMatrix_numTrueNegatives
- The number of nonmatches in the data that the transform correctly
rejected, in the confusion matrix for your transform.
$sel:numFalseNegatives:ConfusionMatrix'
, confusionMatrix_numFalseNegatives
- The number of matches in the data that the transform didn't find, in
the confusion matrix for your transform.
$sel:numTruePositives:ConfusionMatrix'
, confusionMatrix_numTruePositives
- The number of matches in the data that the transform correctly found, in
the confusion matrix for your transform.
$sel:numFalsePositives:ConfusionMatrix'
, confusionMatrix_numFalsePositives
- The number of nonmatches in the data that the transform incorrectly
classified as a match, in the confusion matrix for your transform.
confusionMatrix_numTrueNegatives :: Lens' ConfusionMatrix (Maybe Integer) Source #
The number of nonmatches in the data that the transform correctly rejected, in the confusion matrix for your transform.
confusionMatrix_numFalseNegatives :: Lens' ConfusionMatrix (Maybe Integer) Source #
The number of matches in the data that the transform didn't find, in the confusion matrix for your transform.
confusionMatrix_numTruePositives :: Lens' ConfusionMatrix (Maybe Integer) Source #
The number of matches in the data that the transform correctly found, in the confusion matrix for your transform.
confusionMatrix_numFalsePositives :: Lens' ConfusionMatrix (Maybe Integer) Source #
The number of nonmatches in the data that the transform incorrectly classified as a match, in the confusion matrix for your transform.