4b83c1070cebd0d996ba2cc69779dcb66d5d0032,autokeras/classifier.py,ClassifierBase,fit,#ClassifierBase#Any#Any#Any#Any#Any#,126
Before Change
searcher = self.load_searcher()
if searcher.model_count >= constant.MAX_MODEL_NUM:
return
p = multiprocessing.Process(target=run_searcher_once, args=(x_train, y_train, x_test, y_test, self.path))
p.start()
p.join()
start_time = time.time()
while time.time() - start_time <= time_limit:
p = multiprocessing.Process(target=run_searcher_once, args=(x_train, y_train, x_test, y_test, self.path))
After Change
start_time = time.time()
while time.time() - start_time <= time_limit:
run_searcher_once(x_train, y_train, x_test, y_test, self.path)
if len(self.load_searcher().history) >= constant.MAX_MODEL_NUM:
break
def predict(self, x_test):
Return predict result for the testing data.
Args:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 7
Instances
Project Name: keras-team/autokeras
Commit Name: 4b83c1070cebd0d996ba2cc69779dcb66d5d0032
Time: 2018-05-29
Author: jhfjhfj1@gmail.com
File Name: autokeras/classifier.py
Class Name: ClassifierBase
Method Name: fit
Project Name: keras-team/keras
Commit Name: 3a431ea52d090fb3ef8a1e0e5d7f796d9a42e097
Time: 2018-01-10
Author: me@taehoonlee.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_inceptionresnetv2_notop
Project Name: uber/ludwig
Commit Name: 13eb6bf434f384c45ba1d92ad1dcda04fc6f0517
Time: 2020-08-22
Author: piero@uber.com
File Name: tests/integration_tests/test_collect.py
Class Name:
Method Name: _get_layers
Project Name: keras-team/autokeras
Commit Name: d56ae8d9f2af74d6dd6f9b7bf6f24915d7ca76ec
Time: 2018-05-27
Author: jin@tamu.edu
File Name: autokeras/classifier.py
Class Name: ClassifierBase
Method Name: fit
Project Name: keras-team/autokeras
Commit Name: 4b83c1070cebd0d996ba2cc69779dcb66d5d0032
Time: 2018-05-29
Author: jhfjhfj1@gmail.com
File Name: autokeras/classifier.py
Class Name: ClassifierBase
Method Name: fit