fe799dada87ef117262b19ee6776c359dfa6fb04,smac/runhistory/runhistory2epm.py,AbstractRunHistory2EPM,transform,#AbstractRunHistory2EPM#Any#,147

Before Change



        if self.impute_censored_data:
            // Get all censored runs
            c_run_dict = self.__select_runs(rh_data=copy.deepcopy(runhistory.data),
                                            select=RunType.CENSORED)
            if len(c_run_dict) == 0:
                self.logger.debug("No censored data found, skip imputation")

After Change



        if self.impute_censored_data:
            // Get all censored runs
            c_run_dict = {run: runhistory.data[run] for run in runhistory.data.keys()
                          if runhistory.data[run].status in self.impute_state and
                          runhistory.data[run].time < self.cutoff_time}
            if len(c_run_dict) == 0:
                self.logger.debug("No censored data found, skip imputation")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: automl/SMAC3
Commit Name: fe799dada87ef117262b19ee6776c359dfa6fb04
Time: 2017-05-24
Author: joshua.marben@neptun.uni-freiburg.de
File Name: smac/runhistory/runhistory2epm.py
Class Name: AbstractRunHistory2EPM
Method Name: transform


Project Name: pfnet/optuna
Commit Name: d5d2a849496362535ceaeef92aff9bec4e2edeba
Time: 2020-04-30
Author: ytsmiling@gmail.com
File Name: optuna/storages/in_memory.py
Class Name: InMemoryStorage
Method Name: get_all_study_summaries


Project Name: pfnet/optuna
Commit Name: 26453d58671e01410b22287a723f76d6bb98803f
Time: 2020-05-11
Author: ytsmiling@gmail.com
File Name: optuna/storages/in_memory.py
Class Name: InMemoryStorage
Method Name: get_all_study_summaries