Error in gbm.unify(model, data):Models built on data with categorical features are not supported – please encode them before training.

图片[1]-Error in gbm.unify(model, data):Models built on data with categorical features are not supported – please encode them before training.-决策链社区论坛

【报错原因】

类别数据需要encode

【解决方法】

前面链接 独热编码+标签转换编码+转换变量类型 进行encode

© 版权声明
THE END
喜欢就支持一下吧
点赞6 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容