why is centroid negative

My data are all non-negative. How can a centroid from kmeans have a negative value? My data are time series and I use most distance functions (to compare clusters). Each centroid is a time series, and should have C(t) >= min(data). Am I missing something?

댓글 수: 3

Image Analyst
Image Analyst 2012년 3월 15일
So you have a scatter plot with the "x" axis being time, t, and the "y" axis being C? And neither x nor y (t nor C(t)) have negative values. Is that correct?
Harvey
Harvey 2012년 3월 16일
that is correct. I have t = 1:H and x >= 0, where x is N by H matrix. The centroid has C(t) < 0.
Image Analyst
Image Analyst 2012년 3월 16일
Please supply some sample data that illustrates your situation.

댓글을 달려면 로그인하십시오.

답변 (0개)

태그

질문:

2012년 3월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by