2e7dc431b92fd66702ec1c1cd3142c3335c0f490,optuna/storages/_rdb/storage.py,RDBStorage,_build_frozen_trial_from_trial_model,#Any#,1087
Before Change
for value_model in trial.step_to_values:
n_objectives = max(n_objectives, value_model.objective_id + 1)
for value_model in trial.step_to_values:
if value_model.step not in step_to_values:
step_to_values[value_model.step] = [0 for _ in range(n_objectives)]
step_to_values[value_model.step][value_model.objective_id] = value_model.value
return FrozenTrial(
number=trial.number,
After Change
system_attrs={
attr.key: json.loads(attr.value_json) for attr in trial.system_attributes
},
intermediate_values={value.step: value.value for value in trial.intermediate_values},
trial_id=trial.trial_id,
)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 7
Instances
Project Name: pfnet/optuna
Commit Name: 2e7dc431b92fd66702ec1c1cd3142c3335c0f490
Time: 2020-11-10
Author: imamura@ms.k.u-tokyo.ac.jp
File Name: optuna/storages/_rdb/storage.py
Class Name: RDBStorage
Method Name: _build_frozen_trial_from_trial_model
Project Name: AlexsLemonade/refinebio
Commit Name: 851a4d3df459e36fb500828815cd6840860d3467
Time: 2018-06-07
Author: kurt.wheeler91@gmail.com
File Name: foreman/data_refinery_foreman/surveyor/array_express.py
Class Name: ArrayExpressSurveyor
Method Name: create_experiment_from_api
Project Name: AlexsLemonade/refinebio
Commit Name: f55c645373b2057a5c1c7861cdb6c717585cf0b7
Time: 2018-05-29
Author: kurt.wheeler91@gmail.com
File Name: foreman/data_refinery_foreman/surveyor/array_express.py
Class Name: ArrayExpressSurveyor
Method Name: create_experiment_from_api
Project Name: thenetcircle/dino
Commit Name: 530477aa97ec2dd5a7b872aae7883f6c8bd7e926
Time: 2019-05-13
Author: oscar.eriks@gmail.com
File Name: dino/db/rdbms/handler.py
Class Name: DatabaseRdbms
Method Name: get_rooms_with_sid