Open JaguarPaw2409 opened 3 years ago
@JaguarPaw2409 thank you for reporting the problem. Could you please provide a data sample? Or code to create such a data sample? It will be easier to reproduce the bug.
supervised/preprocessing/preprocessing_categorical.py
line no 40:
PreprocessingUtils.get_type(X[column]) != PreprocessingUtils.CATEGORICAL
Boolean datatypes are treated as categorical variables and LabelEncoder was not working for them. I resolved the issue by converting all boolean datatypes to integers.
Version: 0.9.1
Traceback:
1) There are no null values in the dataframe. 2) datatypes are either boolean or float.