Hierarchical class
Constructors
Properties
-
cluster
→ List<
List< int> > -
Cluster of final level
no setter
-
dataset
↔ List<
List< double> > -
Complete list of points (in vector form)
getter/setter pair
-
distanceMeasure
↔ double Function(List<
double> , List<double> ) -
Distance measurement between two points.
Default is Euclidean
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
label
→ List<
int> -
Cluster label, if prefer sklearn structure of output
no setter
-
level
→ List<
Level> -
Resulting level
no setter
- linkage ↔ LINKAGE
-
Linkage type
getter/setter pair
-
linkageMeasure
↔ (double Function(List<
double> distanceList)?) -
Linkage measurement
getter/setter pair
- maxLinkage → double
-
Terminate clustering process based on linkage
final
- minCluster → int
-
Terminate clustering process based number of cluster
final
-
noise
→ List<
int> -
Index of points considered as noise
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
averageLink(
List< double> distanceList) → double -
buildDistanceMatrix(
) → void - Build distance matrix (only 1/2 filled)
-
completeLink(
List< double> distanceList) → double -
getDistance(
int i, int j) → double - Get distance between 2 point in dataset
-
getLinkage(
List< int> cluster1, List<int> cluster2) → double - Calculate linkage between 2 clusters
-
mergeCluster(
) → Level - Merging two clusters.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
List< List< dataset) → List<double> >List< int> > - Run clustering process and returns list of cluster
-
singleLink(
List< double> distanceList) → double -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited