0106ae5a4c8eea209473fdae897062ab71a97e7e,tpot/tpot.py,TPOT,__init__,#TPOT#Any#Any#Any#Any#Any#Any#Any#Any#Any#,52
Before Change
self.scoring_kwargs = scoring_kwargs
// If the scoring function has loss in the name, maximize the negative of the fitness score
if "loss" in self.scoring_function.__name__:
self.score_sign = -1
self.clf_eval_func = self._parse_scoring_docstring(self.scoring_function)
self._setup_pset()
self._setup_toolbox()
After Change
np.random.seed(random_state)
if scoring_function:
self.scoring_function = partial(scoring_function, **scoring_kwargs)
else:
self.scoring_function = None
self._setup_pset()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: EpistasisLab/tpot
Commit Name: 0106ae5a4c8eea209473fdae897062ab71a97e7e
Time: 2016-08-18
Author: supacoofoo@gmail.com
File Name: tpot/tpot.py
Class Name: TPOT
Method Name: __init__
Project Name: tensorflow/hub
Commit Name: 81092be4e1e900473cd008fec50dc49c8af2eed9
Time: 2019-10-29
Author: no-reply@google.com
File Name: tensorflow_hub/keras_layer.py
Class Name: KerasLayer
Method Name: call
Project Name: ilastik/ilastik
Commit Name: 968c191e49c625337a09702347ebfbc8b85a9479
Time: 2019-08-19
Author: tomaz.vieira@embl.de
File Name: ilastik/applets/dataSelection/datasetInfoEditorWidget.py
Class Name: DatasetInfoEditorWidget
Method Name: accept