Closed rohan-gt closed 4 years ago
You need to preprocess your categorical data before chucking it into boruta, just like you would before using any other scikit learn functionality. Strings are not numbers, ML algos work on numbers.
@danielhomola True but LightGBM supports category
type variables so it would be a useful feature to have
same situation here. hope lightGBM can support this issue.
In the following code example, the input data has categorical columns in the Pandas DataFrame coded as
category
type:It throws the following error. Is there a way to add support for categorical variables: