GoogleCloudDocumentaiV1EvaluationMetrics.fromJson constructor
GoogleCloudDocumentaiV1EvaluationMetrics.fromJson(
- Map json_
Implementation
GoogleCloudDocumentaiV1EvaluationMetrics.fromJson(core.Map json_)
: this(
f1Score: (json_['f1Score'] as core.num?)?.toDouble(),
falseNegativesCount: json_['falseNegativesCount'] as core.int?,
falsePositivesCount: json_['falsePositivesCount'] as core.int?,
groundTruthDocumentCount:
json_['groundTruthDocumentCount'] as core.int?,
groundTruthOccurrencesCount:
json_['groundTruthOccurrencesCount'] as core.int?,
precision: (json_['precision'] as core.num?)?.toDouble(),
predictedDocumentCount: json_['predictedDocumentCount'] as core.int?,
predictedOccurrencesCount:
json_['predictedOccurrencesCount'] as core.int?,
recall: (json_['recall'] as core.num?)?.toDouble(),
totalDocumentsCount: json_['totalDocumentsCount'] as core.int?,
truePositivesCount: json_['truePositivesCount'] as core.int?,
);