FITCKNN with large data sets?
3 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!