Support different data types for optimization parameters
See original GitHub issueIt would be nice to support different data types—e.g. int
, float
, bool
, and maybe a categorical string—for the parameters over which we optimize. I am not sure what the syntax would look like, except for maybe a list of datatypes passed in that corresponds to the parameter bounds.
All three of these types could be handled the same way, with int
being drawn uniformly from the integer interval specified, bool
being drawn uniformly from {0, 1}
, and categorical strings being mapped to a drawing from integer values [0, 1, ..., n_categories-1]
or one-hot encoded as @PedroCardoso suggested below.
See [E. C. Garrido-Merchan and D. Hernandez-Lobato, 2017] for one approach.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:16
- Comments:15 (2 by maintainers)
Top Results From Across the Web
Data Type Optimization in Simulink - MathWorks
Optimize data types in a system based on specified tolerances. Use the Fixed-Point Tool to optimize the data types of a system using...
Read more >Parameter optimization—ArcGIS Pro | Documentation
The key optimization methods calculate parameter values that are used in the interpolation models.
Read more >Hyperparameter Optimization in Machine Learning Models
Although there are many hyperparameter optimization/tuning algorithms now, this post discusses two simple strategies: 1. grid search and 2.
Read more >Parameters - QuantConnect.com
Parameters are project variables that your algorithm uses to define the value of internal variables like indicator arguments or the length ...
Read more >Hyperparameters Optimization - Towards Data Science
Machine Learning models are composed of two different types of parameters: Hyperparameters = are all the parameters which can be arbitrarily ...
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
Interesting, the kernel change they propose wouldn’t be too hard to implement. My only concern is making the API more and more cumbersome by piling features. However this one is requested often enough to be worth considering.
+1 I would like to use integers