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