EntityTypesEvaluationMetrics.fromJson constructor

EntityTypesEvaluationMetrics.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory EntityTypesEvaluationMetrics.fromJson(Map<String, dynamic> json) {
  return EntityTypesEvaluationMetrics(
    f1Score: json['F1Score'] as double?,
    precision: json['Precision'] as double?,
    recall: json['Recall'] as double?,
  );
}