필터 지우기
필터 지우기

data matrix for classification learner

조회 수: 1 (최근 30일)
valeria vetrano
valeria vetrano 2019년 11월 14일
댓글: Athul Prakash 2019년 11월 21일
Hi, I am explaining my problem to you, I have a 283x148096 data matrix that I need to perform the classification through the calssification learner, but the size does not allow me to do it because matlab crashes, so I thought of reducing the matrix through the windowing, so you have 144 samples and 1024 numbers of windows. Can anyone tell me how I could do? thanks
  댓글 수: 2
Adam Danz
Adam Danz 2019년 11월 14일
I'm reluctant to reproduce the crash right now because I don't want to lose some other stuff I'm working on but I find it odd that matlab would crash because of that data size. Do you know what kind of clustering you want to do?
This code reproduces your dataset and applies k-means clustering. It completes in less than 4 seconds.
tic;
data = rand(283,148096);
toc % < 1 sec
tic
c = kmeans(data,5);
toc % < 2 sec
Athul Prakash
Athul Prakash 2019년 11월 21일
Could you elaborate on the question? What kind of classifier were you using?

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Classification에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by