官术网_书友最值得收藏!

Summary

In this chapter, we discussed how hierarchical clustering works and where it may be best employed. In particular, we discussed various aspects of how clusters can be subjectively chosen through the evaluation of a dendrogram plot. This is a huge advantage over k-means clustering if you have absolutely no idea of what you're looking for in the data. Two key parameters that drive the success of hierarchical clustering were also discussed: the agglomerative versus pisive approach and linkage criteria. Agglomerative clustering takes a bottom-up approach by recursively grouping nearby data together until it results in one large cluster. Divisive clustering takes a top-down approach by starting with the one large cluster and recursively breaking it down until each data point falls into its own cluster. Divisive clustering has the potential to be more accurate since it has a complete view of the data from the start; however, it adds a layer of complexity that can decrease the stability and increase the runtime.

Linkage criteria grapples with the concept of how distance is calculated between candidate clusters. We have explored how centroids can make an appearance again beyond k-means clustering, as well as single and complete linkage criteria. Single linkage finds cluster distances by comparing the closest points in each cluster, while complete linkage finds cluster distances by comparing more distant points in each cluster. With the knowledge that you have gained in this chapter, you are now able to evaluate how both k-means and hierarchical clustering can best fit the challenge that you are working on.

While hierarchical clustering can result in better performance than k-means due to its increased complexity, please remember that more complexity is not always good. Your duty as a practitioner of unsupervised learning is to explore all the options and identify the solution that is both resource-efficient and performant. In the next chapter, we will cover a clustering approach that will serve us best when it comes to highly complex and noisy data: Density-Based Spatial Clustering of Applications with Noise.

主站蜘蛛池模板: 桐柏县| 锡林浩特市| 卫辉市| 务川| 青州市| 乌鲁木齐县| 库车县| 安丘市| 拉萨市| 西和县| 和政县| 青冈县| 沙坪坝区| 庄河市| 汝阳县| 永仁县| 漾濞| 铁岭县| 项城市| 自贡市| 当阳市| 玉山县| 石渠县| 泸定县| 会泽县| 镇坪县| 疏勒县| 贡嘎县| 闽清县| 中超| 宝鸡市| 仁怀市| 华蓥市| 虞城县| 博乐市| 云梦县| 元朗区| 江川县| 四子王旗| 疏勒县| 肥西县|