1c1d98a32406ed63e3a89ddd14db9bfe007bd0e9,pfnopt/storages/rdb/models.py,TrialParamModel,TrialParamModel_1,#,201
Before Change
param_value = Column(Float)
trial = orm.relationship(TrialModel)
param_distribution = orm.relationship(TrialParamDistributionModel)
@classmethod
def find_by_trial_and_param_name(cls, trial, param_name, session):
// type: (TrialModel, str, orm.Session) -> Optional[TrialParamModel]
After Change
trial_id = Column(Integer, ForeignKey("trials.trial_id"))
param_name = Column(String(255))
param_value = Column(Float)
distribution_json = Column(String(255))
trial = orm.relationship(TrialModel)
def check_and_add(self, session):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: pfnet/optuna
Commit Name: 1c1d98a32406ed63e3a89ddd14db9bfe007bd0e9
Time: 2018-06-07
Author: sano@preferred.jp
File Name: pfnopt/storages/rdb/models.py
Class Name: TrialParamModel
Method Name: TrialParamModel_1
Project Name: ANSSI-FR/SecuML
Commit Name: fae44a261ffb3d45365d9a1a2f1e6f25ffdb1e80
Time: 2019-02-19
Author: anael.bonneton@ssi.gouv.fr
File Name: secuml/exp/tools/db_tables.py
Class Name: DatasetsAlchemy
Method Name: DatasetsAlchemy_1
Project Name: ANSSI-FR/SecuML
Commit Name: 671bde26dc98619355d0005e56c856c6b885c923
Time: 2019-09-03
Author: anael.beaugnon@ssi.gouv.fr
File Name: secuml/exp/tools/db_tables.py
Class Name: InstancesAlchemy
Method Name: InstancesAlchemy_1