Login
Back to bricks list
Introduction Version

Agglomerative clustering trainer

TASK
Typing name :  TASK.gws_gaia.AgglomerativeClusteringTrainer Brick :  gws_gaia

Train a the hierarchical clustering model

Trainer of the hierarchical clustering. Fits the hierarchical clustering from features, or distance matrix. @ See https://scikit-learn.org/stable/modules/generated/sklearn.cluster.AgglomerativeClustering.html for more details

Input

Table
The input table

Output

result
The output result

Configuration

nb_clusters

Optional

Type : intDefault value : 2

linkage

Optional

Type : stringAllowed values : ward  complete  average  single  Default value : ward

affinity

Optional

Metric used to compute the linkage.

Type : stringAllowed values : euclidean  l1  l2  manhattan  cosine  precomputed  Default value : euclidean