Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #436 fix #437

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

Conversation

giulliadeux
Copy link

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.

@nityansuman
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants