Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #662 #772

Merged
merged 4 commits into from
Sep 9, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions smac/runhistory/runhistory2epm.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ def __init__(
num_params : int
number of parameters in config space
success_states: list, optional
List of states considered as successful (such as StatusType.SUCCESS)
If None, set to [StatusType.SUCCESS, ]
List of states considered as successful (such as StatusType.SUCCESS).
If None, raise TypeError.
impute_censored_data: bool, optional
Should we impute data?
consider_for_higher_budgets_state: list, optional
Expand All @@ -73,12 +73,14 @@ def __init__(
impute_state: list, optional
List of states that mark censored data (such as StatusType.TIMEOUT)
in combination with runtime < cutoff_time
If None, set to [StatusType.CAPPED, ]
If None, set to empty list [].
If None and impute_censored_data is True, raise TypeError.
scale_perc: int
scaled y-transformation use a percentile to estimate distance to optimum;
only used by some subclasses of AbstractRunHistory2EPM
rng : numpy.random.RandomState
only used for reshuffling data after imputation
Only used for reshuffling data after imputation.
If None, use np.random.RandomState(seed=1).
"""

self.logger = logging.getLogger(
Expand Down