-
Book Overview & Buying
-
Table Of Contents
scikit-learn Cookbook - Third Edition
By :
In this final section, you will engage in practical exercises that involve building, tuning, and evaluating clustering models on real-world datasets. These exercises are designed to reinforce the concepts learned throughout the chapter and demonstrate how to effectively apply clustering techniques in various scenarios. By the end of this section, you will have hands-on experience that they can leverage in their own ML projects.
In this example, we’ll apply K-means clustering to the well-known Iris dataset and evaluate the results using multiple metrics.
Implementation steps:
This exercise demonstrates how DBSCAN can outperform K-means on data with non-convex shapes.
Implementation...