Test your knowledge
To test your knowledge of the clustering techniques we've learned, try clustering the full housing dataset or a bigger sample of the housing dataset, available in the GitHub repository for this book under Chapter17/data
. You should be able to use some of the methods we learned (k-means, hierarchical clustering, DBSCAN) and be able to optimize the hyperparameters (such as the number of clusters) by using an elbow plot or other metrics, such as the silhouette score.