ClusteringMetrics.fromJson constructor
ClusteringMetrics.fromJson(
- Map json_
Implementation
ClusteringMetrics.fromJson(core.Map json_)
: this(
clusters: (json_['clusters'] as core.List?)
?.map((value) => Cluster.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
daviesBouldinIndex:
(json_['daviesBouldinIndex'] as core.num?)?.toDouble(),
meanSquaredDistance:
(json_['meanSquaredDistance'] as core.num?)?.toDouble(),
);