cd3430de3cb0bba760544ca85e81dea2cc406c8e,optuna/storages/rdb/storage.py,RDBStorage,get_all_trials,#RDBStorage#Any#,443
Before Change
session = self.scoped_session()
study = models.StudyModel.find_or_raise_by_id(study_id, session)
trials = models.TrialModel.where_study(study, session)
params = models.TrialParamModel.where_study(study, session)
values = models.TrialValueModel.where_study(study, session)
user_attributes = models.TrialUserAttributeModel.where_study(study, session)
system_attributes = models.TrialSystemAttributeModel.where_study(study, session)
After Change
return trials
trial_ids = self._get_all_trial_ids(study_id)
trials = [self.get_trial(trial_id) for trial_id in trial_ids]
return trials
def _get_all_trial_ids(self, study_id):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: pfnet/optuna
Commit Name: cd3430de3cb0bba760544ca85e81dea2cc406c8e
Time: 2019-03-18
Author: phjgt308@gmail.com
File Name: optuna/storages/rdb/storage.py
Class Name: RDBStorage
Method Name: get_all_trials
Project Name: pfnet/optuna
Commit Name: cd3430de3cb0bba760544ca85e81dea2cc406c8e
Time: 2019-03-18
Author: phjgt308@gmail.com
File Name: optuna/storages/rdb/storage.py
Class Name: RDBStorage
Method Name: get_all_trials
Project Name: pfnet/optuna
Commit Name: 1f79291377bfe901af131dcda7f851703ef2bb71
Time: 2019-07-25
Author: phjgt308@gmail.com
File Name: optuna/storages/rdb/storage.py
Class Name: RDBStorage
Method Name: set_trial_param
Project Name: pfnet/optuna
Commit Name: f66fb76753adcc3a07cb83681ffca48b66c56ace
Time: 2019-07-26
Author: phjgt308@gmail.com
File Name: optuna/storages/rdb/storage.py
Class Name: RDBStorage
Method Name: set_trial_param