When I use ngboost's classification function, if base calls sklearn's DecisionTreeClassifier, it gets an error: ValueError: Unknown label type: 'continuous'. My trainy already uses astype('int') when using the fit feature, but I still get this error.
When I use ngboost's classification function, if base calls sklearn's DecisionTreeClassifier, it gets an error: ValueError: Unknown label type: 'continuous'. My trainy already uses astype('int') when using the fit feature, but I still get this error.
当我使用ngboost的分类功能时,如果base调用sklearn的DecisionTreeClassifier,会报错:ValueError: Unknown label type: 'continuous'。在使用fit功能时,我的trainy已经使用了astype('int'),但是仍然会出现这个错误。