ClusteringMetrics class

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.
getter/setter pair
daviesBouldinIndex double?
Davies-Bouldin index.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
meanSquaredDistance double?
Mean of squared distances between each sample to its cluster centroid.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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