As stated in the doc, categorical_features are the indices of the categorical 
column and not the name of the columns. This is similar to the one hot encoder 
API. 

Sent from my phone - sorry to be brief and potential misspell.


_______________________________________________
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn

Reply via email to