Support HyperParameter composition
Open
@kveerama is already working on this.
Since Feb 22, 2019.
new feature
- Dominant language
- Python
- Stars
- 176
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
Some classifiers accept multiple types for the same HyperParameter.
An example of this is the max_features hyperparameter of the RandomForestRegressor:
max_features : int, float, string or None, optional (default="auto")
The number of features to consider when looking for the best split:
- If int, then consider
max_featuresfeatures at each split.- If float, then
max_featuresis a percentage and
int(max_features * n_features)features are considered at each split.- If "auto", then
max_features=n_features.- If "sqrt", then
max_features=sqrt(n_features).- If "log2", then
max_features=log2(n_features).- If None, then
max_features=n_features.
Combining multiple HyperParameters, or multiple Ranges of the same type, in a single HyperParameter (e.g. STRING + INT + FLOAT) should be possible in order to cover cases like this one.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.