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

Remove Unsupported Classifiers and Regressors from LazyPredict andFix ImportError by Updating scikit-learn and scipy Versions #448

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Saurabh620
Copy link

In the LazyPredict module, certain classifiers and regressors were causing compatibility issues or were not fully supported. To address this, I removed the following classifiers and regressors from the list of available models:

Removed Classifiers:

ClassifierChain
ComplementNB
GradientBoostingClassifier
GaussianProcessClassifier
HistGradientBoostingClassifier
MLPClassifier
LogisticRegressionCV
MultiOutputClassifier
MultinomialNB
OneVsOneClassifier
OneVsRestClassifier
OutputCodeClassifier
RadiusNeighborsClassifier
VotingClassifier
SVC (Added SVC to the list of removed classifiers)
Removed Regressors:

TheilSenRegressor
ARDRegression
CCA
IsotonicRegression
StackingRegressor
MultiOutputRegressor
MultiTaskElasticNet
MultiTaskElasticNetCV
MultiTaskLasso
MultiTaskLassoCV
PLSCanonical
PLSRegression
RadiusNeighborsRegressor
RegressorChain
VotingRegressor
Ridge (Added Ridge to the list of removed regressors)
These changes were made to ensure compatibility and reliability when using LazyPredict for model selection and evaluation.

and also
pip install scikit-learn==0.24.0
pip install scipy==1.6.3

Testing:

I tested the modified version of LazyPredict to ensure that it functions as expected after removing the unsupported classifiers and regressors. All necessary functionality remains intact, and the removed models no longer cause issues during usage.

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.

1 participant