ClusteringMetrics class Null safety

Evaluation metrics for clustering models.

Constructors

ClusteringMetrics({List<Cluster>? clusters, double? daviesBouldinIndex, double? meanSquaredDistance})
ClusteringMetrics.fromJson(Map json_)

Properties

clusters List<Cluster>?
Information for all clusters.
read / write
daviesBouldinIndex double?
Davies-Bouldin index.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
meanSquaredDistance double?
Mean of squared distances between each sample to its cluster centroid.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited