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

Ignore/ raise warning when "extra" parameters are provided to certain functions. #38

Open
rickvanveen opened this issue Jan 22, 2021 · 0 comments

Comments

@rickvanveen
Copy link
Owner

Is your feature request related to a problem? Please describe.
The parameters between activation functions and solvers change depending on the type that is selected. When constructing a grid for sklearn's gridsearch it would be very convenient if "extra" parameters would be ignored instead of raising an error.

Describe the solution you'd like
Raise warnings instead of error when "extra" parameters are provided

Describe alternatives you've considered
Provide custom function that deletes any "extra" parameters from the grid. This would need to be called before passing the grid to gridsearch. Less convenient solution.

Additional context
N/a

@rickvanveen rickvanveen self-assigned this Jan 22, 2021
@rickvanveen rickvanveen removed their assignment Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant