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 ClassifierMetadata = ClassifierMetadata' {}
- newClassifierMetadata :: ClassifierMetadata
- classifierMetadata_numberOfLabels :: Lens' ClassifierMetadata (Maybe Int)
- classifierMetadata_evaluationMetrics :: Lens' ClassifierMetadata (Maybe ClassifierEvaluationMetrics)
- classifierMetadata_numberOfTrainedDocuments :: Lens' ClassifierMetadata (Maybe Int)
- classifierMetadata_numberOfTestDocuments :: Lens' ClassifierMetadata (Maybe Int)
Documentation
data ClassifierMetadata Source #
Provides information about a document classifier.
See: newClassifierMetadata
smart constructor.
ClassifierMetadata' | |
|
Instances
newClassifierMetadata :: ClassifierMetadata Source #
Create a value of ClassifierMetadata
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:numberOfLabels:ClassifierMetadata'
, classifierMetadata_numberOfLabels
- The number of labels in the input data.
$sel:evaluationMetrics:ClassifierMetadata'
, classifierMetadata_evaluationMetrics
- Describes the result metrics for the test data associated with an
documentation classifier.
$sel:numberOfTrainedDocuments:ClassifierMetadata'
, classifierMetadata_numberOfTrainedDocuments
- The number of documents in the input data that were used to train the
classifier. Typically this is 80 to 90 percent of the input documents.
$sel:numberOfTestDocuments:ClassifierMetadata'
, classifierMetadata_numberOfTestDocuments
- The number of documents in the input data that were used to test the
classifier. Typically this is 10 to 20 percent of the input documents,
up to 10,000 documents.
classifierMetadata_numberOfLabels :: Lens' ClassifierMetadata (Maybe Int) Source #
The number of labels in the input data.
classifierMetadata_evaluationMetrics :: Lens' ClassifierMetadata (Maybe ClassifierEvaluationMetrics) Source #
Describes the result metrics for the test data associated with an documentation classifier.
classifierMetadata_numberOfTrainedDocuments :: Lens' ClassifierMetadata (Maybe Int) Source #
The number of documents in the input data that were used to train the classifier. Typically this is 80 to 90 percent of the input documents.
classifierMetadata_numberOfTestDocuments :: Lens' ClassifierMetadata (Maybe Int) Source #
The number of documents in the input data that were used to test the classifier. Typically this is 10 to 20 percent of the input documents, up to 10,000 documents.