Skip to content

loss of previous learning when change/update in the hyper parameters #710

Answered by MaxHalford
RaMAT-44 asked this question in Q&A
Discussion options

You must be logged in to vote

Ok I understand. Unfortunately, you can't modify parameters on the fly. At least, the _set_params method "resets" the model. You could simply update the parameters manually. But in your case you're changing n_models, so that's not going to work.

May I ask, why do you want to change parameters on-the-fly? I agree that it's a nice thing to have, but it sounds overkill for most tasks.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@RaMAT-44
Comment options

Comment options

You must be logged in to vote
3 replies
@RaMAT-44
Comment options

@MaxHalford
Comment options

@RaMAT-44
Comment options

Answer selected by MaxHalford
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants