K means image clustering with time series data

조회 수: 14 (최근 30일)
Atreyee Mondal
Atreyee Mondal 2020년 7월 1일
댓글: Atreyee Mondal 2020년 7월 1일
Hi all,
I am trying to do a clustering in time series using K means. But K means is not supporting high 1D data points. Is there any way I can do the clustering of 10 time series data into 3 different groups using K means?
Thanks in advanced.

채택된 답변

KSSV
KSSV 2020년 7월 1일
Let x be your 1D data. Assuming it column vector.
t = 1:length(x);
t = t';
idx = kmeans([t x],3);
  댓글 수: 5
KSSV
KSSV 2020년 7월 1일
Try converting your series into 10*n matrix.....and use kmeans.
Atreyee Mondal
Atreyee Mondal 2020년 7월 1일
Thank you so much

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by