机器学习分类模型SE共4篇
机器学习分类模型SE:Error in self$assert(xs, sanitize = TRUE) :Assertion on 'xs' failed: num.threads: May not be NA-决策链社区论坛

机器学习分类模型SE:Error in self$assert(xs, sanitize = TRUE) :Assertion on ‘xs’ failed: num.threads: May not be NA

报错原因:线程数输入不是数值解决方法:(1)检查线程数输入不要为空,或者字符串,只能是单个数字,不能带逗号
空鱼O的头像-决策链社区论坛空鱼O3天前
03612
Error in gbm.fit(x = x, y = y, offset = offset, distribution = distribution, :The data set is too small or the subsampling rate is too large: nTrain * bag.fraction <= n.minobsinnode-决策链社区论坛

Error in gbm.fit(x = x, y = y, offset = offset, distribution = distribution, :The data set is too small or the subsampling rate is too large: nTrain * bag.fraction <= n.minobsinnode

【报错原因】 数据量太小或者Minnodesize太大 【解决方法】 增大数据量,或者输入小一点的minnodesize
里里里里卡42的头像-决策链社区论坛里里里里卡422个月前
0758
Error in ranger::ranger(dependent.variable.name = task$target_names, data = task$data(), :User interrupt or internal error.-决策链社区论坛

Error in ranger::ranger(dependent.variable.name = task$target_names, data = task$data(), :User interrupt or internal error.

【解决方法】 增大内存或者减少参数搜索空间mtry不能大于特征数量
里里里里卡42的头像-决策链社区论坛里里里里卡422个月前
0765
Error in tempfile() : cannot find unused tempfile name-决策链社区论坛

Error in tempfile() : cannot find unused tempfile name

【解决方法】 关闭软件,重新开启。
里里里里卡42的头像-决策链社区论坛里里里里卡422个月前
07114