4f54b7a4b921a35a8b247ee180c2d565987d30db,autokeras/auto_model.py,AutoModel,fit,#AutoModel#Any#Any#Any#Any#,62

Before Change


        self.hypermodel.set_io_shapes(dataset)
        hp = kerastuner.HyperParameters()
        self.hypermodel.hyper_build(hp)
        preprocessed_dataset, _ = self.hypermodel.preprocess(
            hp=kerastuner.HyperParameters(),
            dataset=dataset,
            validation_data=validation_data,
            fit=True)
        self.tuner = tuner.RandomSearch(
            hypermodel=self.hypermodel,
            objective="val_loss",
            max_trials=self.max_trials,

After Change


        self.hypermodel.set_io_shapes(dataset)
        hp = kerastuner.HyperParameters()
        self.hypermodel.hyper_build(hp)
        self.hypermodel.preprocess(
            hp=kerastuner.HyperParameters(),
            dataset=dataset,
            validation_data=validation_data,
            fit=True)
        self.tuner = tuner.RandomSearch(
            hypermodel=self.hypermodel,
            objective="val_loss",
            max_trials=self.max_trials,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 3

Instances


Project Name: keras-team/autokeras
Commit Name: 4f54b7a4b921a35a8b247ee180c2d565987d30db
Time: 2019-07-27
Author: jhfjhfj1@gmail.com
File Name: autokeras/auto_model.py
Class Name: AutoModel
Method Name: fit


Project Name: GPflow/GPflow
Commit Name: dbf3e7f7a57a5af8cc9e8da683d922c1777422ef
Time: 2017-06-21
Author: james@prowler.io
File Name: testing/test_notebooks.py
Class Name: TestNotebooks
Method Name: _execNotebook


Project Name: pymc-devs/pymc3
Commit Name: 4bdcb696e8ba616d15daabcaddc074c5e18d0723
Time: 2017-04-05
Author: colcarroll@gmail.com
File Name: scripts/run_notebooks.py
Class Name:
Method Name: execute_notebook


Project Name: rlworkgroup/garage
Commit Name: ddbb89c6c2f62c6bcfbc3c443315f9bbac38b71d
Time: 2020-04-25
Author: naeioi@hotmail.com
File Name: src/garage/sampler/worker_factory.py
Class Name: WorkerFactory
Method Name: prepare_worker_messages


Project Name: BindsNET/bindsnet
Commit Name: 7e13101c996339edf93b0ae81389a1c4eb2d1ef8
Time: 2018-05-01
Author: hqkhan@umass.edu
File Name: bindsnet/environment/__init__.py
Class Name: SpaceInvaders
Method Name: reset