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

Fixing sklearn error when using RandomizedSearchCV with Interpret's LogisticRegression #315

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

Conversation

luisffranca
Copy link
Collaborator

This PR fixes #301

No get_params method was implemented in interpret.glassbox.linear.LogisticRegression which caused RandomizedSearchCV to fail.

With this fix, get_params and set_params are implemented and Interpret's LinearRegression and LogisticRegression can be used with RandomizedSearchCV and other model selection options.

Signed-off-by: Luis França <luis.franca@microsoft.com>
@luisffranca luisffranca force-pushed the lamorinfranc/fix-sklearn-compatibility-issue branch from 48c52b5 to b7a99af Compare January 14, 2022 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Logistic Regression and Randomized Search CV
1 participant