MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   具有大数据集的FITCKNN? (https://www.labfans.com/bbs/showthread.php?t=22319)

poster 2019-12-01 22:40

具有大数据集的FITCKNN?
 
我有一些大小为39366 * 9的数据集,需要应用KNN回归

当我使用所有数据集时,我的问题出现了,MATLAB给了我一条错误消息:

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 我搜索了此错误,并找到了一些解决方案,建议在尝试使用高阵列时出现此错误

Error using fitcknn (line 247) FITCKNN does not support tall arrays. 我的问题是,是否可以对所有这些数据使用fitcknn还是应该尝试其他方法?如果可能的话我该怎么办?



[url=https://stackoverflow.com/q/57186442]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 19:43

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.