[FEATURE] scale hyperparameter for the RepeatingBasisFunction
See original GitHub issueHi!
How about a hyperparameter that controls the width of the RBFs? You set it to a (sensible) fixed value so far.https://github.com/koaning/scikit-lego/blob/51ef0c7f4fb0ac8717b3660931b78633831e170e/sklego/preprocessing/repeatingbasis.py#L86
But how about some scale
hyperparameter and changing this line to
self.width_ = self.scale / self.n_periods
with a default parameter of 1? I think it’s good to have a choice there.
Best Robert
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Tune Hyperparameters for Classification Machine Learning ...
Machine learning algorithms have hyperparameters that allow you to tailor the behavior of the algorithm to your specific dataset.
Read more >Hyperparameter tuning for machine learning models.
This is often referred to as "searching" the hyperparameter space for the optimum values. In the following visualization, the x and y dimensions ......
Read more >How to tune a Decision Tree?. Hyperparameter tuning
Hyperparameter tuning is searching the hyperparameter space for a set of values that will optimize your model architecture. This is different ...
Read more >Hyperparameter Optimization for Machine Learning Models ...
In practice, it is necessary to continuously adjust hyperparameters and train a number of models with different combinations of values, and then compare...
Read more >Hyperparameter optimization - Wikipedia
In machine learning, hyperparameter optimization or tuning is the problem of choosing a set of optimal hyperparameters for a learning algorithm.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure, I would also keep the default like this. It usually works quite well and 1 is a great constant, nobody asks questions 😉
Oh yeah, I mean scale in the sense of being able to scaling the width of the bumps. Sure, the name can be changed to something else, I just didn’t want to call it width again since there is
width_
already. And this shouldn’t change much, there should be just some scaling factor to it.