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 comentarios

Image Analyst
Image Analyst el 15 de Mzo. de 2012
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 el 16 de Mzo. de 2012
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 el 16 de Mzo. de 2012
Please supply some sample data that illustrates your situation.

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Preguntada:

el 15 de Mzo. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by