MLBazaar / MLBazaar/BTB

Support HyperParameter composition

Open
#80 0 comments 0 reactions 1 assignee View on GitHub

@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_features features at each split.
  • If float, then max_features is 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.