Prepare the data
Prepare scaled numeric item descriptors without using labels as clustering inputs.
Build a hierarchy. Inspect each merge.
Agglomerative clustering joins nearby groups into a hierarchy. Linkage choice and feature scaling affect the dendrogram and the interpretation of its branches.
Learning concept · Not a validated service
Agglomerative clustering joins nearby groups into a hierarchy. Linkage choice and feature scaling affect the dendrogram and the interpretation of its branches.
A possible application for catalogue editors: Help catalogue editors explore candidate groups before assigning categories. This extension is not delivered by the supplied starter.
Prepare scaled numeric item descriptors without using labels as clustering inputs.
Compare average, complete and Ward linkage with compatible distance choices.
Inspect dendrogram cuts, silhouette scores and cluster stability under resampling.
Provide a dendrogram explorer with representative items and selectable cut heights.
The supplied starter creates 800 synthetic binary-classification rows with ten numeric features. It makes a stratified train/test split, fits a scaled RandomForestClassifier pipeline and prints a classification report.
model = Pipeline(
steps=[
("scale", StandardScaler()),
("classifier", RandomForestClassifier(
n_estimators=250, random_state=RANDOM_STATE)),
]
)
model.fit(X_train, y_train)
predictions = model.predict(X_test)
print(classification_report(y_test, predictions))The source performs supervised binary classification and has no hierarchical clustering. Synthetic binary classification does not establish performance on the proposed application. The source report uses one split; it supplies no deployment or real-world validation.
Proposed extension: Help catalogue editors explore candidate groups before assigning categories.
This is a potential application pathway, not a delivered product. The supplied starter does not implement this service or validate it with real users.
Networkers Home runs this topic inside its AI Engineer Course, with placement support and hands-on labs.