XGBoost共2篇
XGBoost:Invalid classes inferred from unique values of `y. Expected: [0 1], got [1 2]。-决策链社区论坛

XGBoost:Invalid classes inferred from unique values of `y. Expected: [0 1], got [1 2]。

报错原因:目标变量的值应该为0,1解决方法:检查目标变量的值,确保目标变量的值为0,1
空鱼O的头像-决策链社区论坛空鱼O42天前
08611
This happened PipeOp colapply's $train()-决策链社区论坛

This happened PipeOp colapply’s $train()

Error in .__Task__col_roles(self = self, private = private, super = super, : Assertion on 'names of col_roles' failed: Names must be a permutation of set {'feature','target','name'...
Divine的头像-决策链社区论坛Divine1个月前
06114