机器学习回归模型SE共2篇
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的头像-决策链社区论坛里里里里卡423天前
0478
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的头像-决策链社区论坛里里里里卡423天前
0705