lazypredict
lazypredict copied to clipboard
Issue #436 fix
trafficstars
This PR introduces changes to the LazyClassifier class. The primary change is the integration of a function, _convert_bool_to_int, to convert boolean columns in the input data to int (0 and 1). This ensures compatibility across classifiers and avoids potential issues that could arise from boolean data types.
Key changes include:
- Addition of the _convert_bool_to_int function that converts boolean columns to integer values.
- Modification to the fit method to call the _convert_bool_to_int function for both X_train and X_test datasets.
@shankarpandala
@giulliadeux I have decided to start mainatnce of this old repo. Please feel free to raise a PR at https://github.com/nityansuman/lazypredict-nightly. I have fixed a couple of issues and plan to extend the model selection and fix some of the issues mentioned here.