机器学习PAI easyrec 多分类的probs 输出类型是什么呢?官方文档里写的是string, 但是一直报错说类型不对
预测的时候-Doutput_cols=’probs string,probs_y double,y bigint’, 会报错_common_io.UserException: table/table_record_data.cpp(171): UserException: Value type does not match the column type. Column index: 5, Column type: string, and cast error:Unable to cast Python instance to C++ type (compile in debug mode for details)
机器学习PAI easyrec 多分类的probs 输出类型是什么呢?[阿里云]
「点点赞赏,手留余香」
还没有人赞赏,快来当第一个赞赏的人吧!
float试试
或者double试试
如果多分类是3,应该是num_class :3 。但是很少用。
https://easyrec.readthedocs.io/en/latest/models/multi_cls.html ,此回答整理自钉群“【EasyRec】推荐算法交流群”