Clustering

Retailers who track 
customer purchases can use this information to automatically detect groups of customers

with similar buying patterns, in addition to regular demographic information.

blogs can be grouped according to their text


Techniques that use example inputs and outputs to learn how to make predictions
are known as supervised learning methods. Many supervised learning
methods includes neural networks, decision trees, support-vector
machines, and Bayesian filtering.


Clustering is an example of unsupervised learning. Unlike a neural network or a decision
tree, unsupervised learning algorithms are not trained with examples of correct
answers. Other examples of unsupervised
learning include non-negative matrix factorization


By clustering blogs based on word frequencies, it might be possible to determine if
there are groups of blogs that frequently write about similar subjects or write in similar
styles. Such a result could be very useful in searching, cataloging, and discovering
the huge number of blogs that are currently online.

Hierarchical Clustering

Hierarchical clustering builds up a hierarchy of groups by continuously merging the two most similar groups. In each iteration this method calculates the distances between every
pair of groups, and the closest ones are merged together to form a new group. This is
repeated until there is only one group.



After hierarchical clustering is completed, you usually view the results in a type of
graph called a dendrogram, which displays the nodes arranged into their hierarchy.




This dendrogram not only uses connections to show which items ended up in each
cluster, it also uses the distance to show how far apart the items were. The AB cluster
is a lot closer to the individual A and B items than the DE cluster is to the individual
D and E items. Rendering the graph this way can help you determine how similar the
items within a cluster are, which could be interpreted as the tightness of the cluster.



Hierarchical clustering gives a nice tree as a result, but it has a couple of disadvantages.
The tree view doesn’t really break the data into distinct groups without
additional work, and the algorithm is extremely computationally intensive. Because
the relationship between every pair of items must be calculated and then recalculated
when items are merged, the algorithm will run slowly on very large datasets.
An alternative method of clustering is K-means clustering.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值