BinaryClassificationMetrics.fromJson constructor
BinaryClassificationMetrics.fromJson(
- Map json_
Implementation
BinaryClassificationMetrics.fromJson(core.Map json_)
: this(
aggregateClassificationMetrics:
json_.containsKey('aggregateClassificationMetrics')
? AggregateClassificationMetrics.fromJson(
json_['aggregateClassificationMetrics']
as core.Map<core.String, core.dynamic>)
: null,
binaryConfusionMatrixList:
(json_['binaryConfusionMatrixList'] as core.List?)
?.map((value) => BinaryConfusionMatrix.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
negativeLabel: json_['negativeLabel'] as core.String?,
positiveLabel: json_['positiveLabel'] as core.String?,
);