lazypredict icon indicating copy to clipboard operation
lazypredict copied to clipboard

Issue #436 fix

Open giulliadeux opened this issue 2 years ago • 1 comments
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.

giulliadeux avatar Oct 29 '23 12:10 giulliadeux

@shankarpandala

giulliadeux avatar Oct 31 '23 11:10 giulliadeux

@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.

nityansuman avatar Mar 02 '24 21:03 nityansuman