필터 지우기
필터 지우기

K-means clustering, is it possible to get vertical boundaries?

조회 수: 3 (최근 30일)
John
John 2012년 3월 3일
Hello,
I have performed K-means clustering on some data and formed 3 clusters. Here is a graph
One thing that I notice is that the boundaries between the clusters are horizontal.
In my case, I have a congestion percentage plotted against average velocity. Naturally as the congestion percentage increases the average velocity decrease. However it would be more intuitive if the boundaries were vertical not horizontal.
Is it possible to do this with clustering algorithms?
Sincere thanks
John

채택된 답변

Tom Lane
Tom Lane 2012년 3월 3일
I believe the boundaries are horizontal because the scale of the y variable is much larger. Differences in the y direction dominate the measure of the distance between two points. You could simply cluster on the x variable. You could also experiment with clustering on other matrices that adjust the x and y scale:
[x,y/10] or [100*x,y] or ...
and see if you find any of the results appealing.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Cluster Analysis and Anomaly Detection에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by