libZSservicesZSamazonka-glueZSamazonka-glue
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Glue.Types.ConfusionMatrix

Description

 
Synopsis

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.

Constructors

ConfusionMatrix' 

Fields

  • numTrueNegatives :: Maybe Integer

    The number of nonmatches in the data that the transform correctly rejected, in the confusion matrix for your transform.

  • numFalseNegatives :: Maybe Integer

    The number of matches in the data that the transform didn't find, in the confusion matrix for your transform.

  • numTruePositives :: Maybe Integer

    The number of matches in the data that the transform correctly found, in the confusion matrix for your transform.

  • numFalsePositives :: Maybe Integer

    The number of nonmatches in the data that the transform incorrectly classified as a match, in the confusion matrix for your transform.

Instances

Instances details
Eq ConfusionMatrix Source # 
Instance details

Defined in Amazonka.Glue.Types.ConfusionMatrix

Read ConfusionMatrix Source # 
Instance details

Defined in Amazonka.Glue.Types.ConfusionMatrix

Show ConfusionMatrix Source # 
Instance details

Defined in Amazonka.Glue.Types.ConfusionMatrix

Generic ConfusionMatrix Source # 
Instance details

Defined in Amazonka.Glue.Types.ConfusionMatrix

Associated Types

type Rep ConfusionMatrix :: Type -> Type #

NFData ConfusionMatrix Source # 
Instance details

Defined in Amazonka.Glue.Types.ConfusionMatrix

Methods

rnf :: ConfusionMatrix -> () #

Hashable ConfusionMatrix Source # 
Instance details

Defined in Amazonka.Glue.Types.ConfusionMatrix

FromJSON ConfusionMatrix Source # 
Instance details

Defined in Amazonka.Glue.Types.ConfusionMatrix

type Rep ConfusionMatrix Source # 
Instance details

Defined in Amazonka.Glue.Types.ConfusionMatrix

type Rep ConfusionMatrix = D1 ('MetaData "ConfusionMatrix" "Amazonka.Glue.Types.ConfusionMatrix" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "ConfusionMatrix'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "numTrueNegatives") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "numFalseNegatives") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "numTruePositives") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "numFalsePositives") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))

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.