toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final f1Score = this.f1Score;
final falseNegativesCount = this.falseNegativesCount;
final falsePositivesCount = this.falsePositivesCount;
final groundTruthDocumentCount = this.groundTruthDocumentCount;
final groundTruthOccurrencesCount = this.groundTruthOccurrencesCount;
final precision = this.precision;
final predictedDocumentCount = this.predictedDocumentCount;
final predictedOccurrencesCount = this.predictedOccurrencesCount;
final recall = this.recall;
final totalDocumentsCount = this.totalDocumentsCount;
final truePositivesCount = this.truePositivesCount;
return {
'f1Score': ?f1Score,
'falseNegativesCount': ?falseNegativesCount,
'falsePositivesCount': ?falsePositivesCount,
'groundTruthDocumentCount': ?groundTruthDocumentCount,
'groundTruthOccurrencesCount': ?groundTruthOccurrencesCount,
'precision': ?precision,
'predictedDocumentCount': ?predictedDocumentCount,
'predictedOccurrencesCount': ?predictedOccurrencesCount,
'recall': ?recall,
'totalDocumentsCount': ?totalDocumentsCount,
'truePositivesCount': ?truePositivesCount,
};
}