FITCKNN with large data sets?

조회 수: 3 (최근 30일)
omar khater
omar khater 2019년 7월 23일
편집: omar khater 2019년 7월 27일
Hello, I have some dataset with size of 39366*9 table which I need to apply KNN regression.
My problem arises when I use all the data set the MATLAB gives me an error message:
Error using bsxfun
Requested 900000000x1 (6.7GB) array exceeds
maximum array size preference. Creation of arrays
greater than this limit may take a long time and
cause MATLAB to become unresponsive. See array
size limit or preference panel for more
information.
Error in comparison2 (line 81)
S1 =
fitcknn(array2table(X_norm),y,'NumNeighbors',K3,'Standardize',1
I have searched this errror and found some solution suggesting using tall arays
when I tried it this error appears
Error using fitcknn (line 247)
FITCKNN does not support tall arrays.
My question is, is it possible to use fitcknn with all of this data or should I try something else? if possible how can I do that?

답변 (1개)

omar khater
omar khater 2019년 7월 27일
편집: omar khater 2019년 7월 27일
Do anyone know how to solve this problem?

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by