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

FIX Move logistic regression parameter validation to fit() #6109

Draft
wants to merge 2 commits into
base: branch-24.12
Choose a base branch
from

Conversation

betatim
Copy link
Member

@betatim betatim commented Oct 14, 2024

To be compatible with scikit-learn no parameter validation should happen in __init__.

Towards #6105

To be compatible with scikit-learn no parameter validation should happen
in `__init__`.
@github-actions github-actions bot added the Cython / Python Cython or Python issue label Oct 14, 2024
@betatim betatim changed the title FIX Move parameter validation to fit() FIX Move logistic regression parameter validation to fit() Oct 14, 2024
linesearch_max_iter=self.linesearch_max_iter,
tol=self.tol,
verbose=self.verbose,
handle=self.handle,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
handle=self.handle,
handle=self.handle,
output_type=self.output_type

If I'm not mistaken, that's what 99% of the pytest failures are complaining about

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

Successfully merging this pull request may close these issues.

2 participants