Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to understand k-center clustering in R language clustering algorithm

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

In this issue, the editor will bring you about how to understand k-center clustering in R language clustering algorithm. the article is rich in content and analyzes and describes it from a professional point of view. I hope you can get something after reading this article.

1. Principle analysis:

An improved algorithm aiming at the disadvantage that the K-means algorithm is easily affected by the extreme value. The difference in principle is that when selecting the center point of each category, it does not take the sample mean point, but selects the sample with the smallest sum of the distance to the rest of the sample in the category as the center.

two。 Application in R language

K-centric clustering (K-medoids) is mainly applied to the pam function of cluster package in R language (R language built-in package).

Pam (x, "dist"), metric= "euclidean", MedoidsDiscriptionNULL, standardised FALSErect cluster.onlywritten FALSEREE do.swapped trust keep.disswriting disswriting records

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 240

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report