我也遇到过很多次这个问题,尤其是再用到tune.svm的时候,这是由这个函数内部决定的。我的建议有两点:
减少tuning parameter的数量或者说范围
用Python sklearn去tune 如果非得需要用R 就python tune的差不多带回到R里直接用
希望对你有帮助!
貌似受到你电脑的内存限制。If 32-bit R is run on most 64-bit versions of Windows the maximum value of obtainable memory is just under 4Gb. For a 64-bit versions of R under 64-bit Windows the limit is currently 8Tb.
相关函数:
memory.limit()#内存上限Mb
memory.size()#使用中的内存Mb
object.size()#变量大小b
希望对你有帮助!