17e9e017a0ffc92148778686ab86d681a42085e3,autokeras/classifier.py,ClassifierBase,__init__,#ClassifierBase#Any#Any#Any#Any#,118
Before Change
Otherwise it would create a new one.
if has_file(os.path.join(path, "classifier")) and resume:
classifier = pickle.load(open(os.path.join(path, "classifier"), "rb"))
self.__dict__ = classifier.__dict__
else:
self.y_encoder = None
self.verbose = verbose
After Change
Otherwise it would create a new one.
if has_file(os.path.join(path, "classifier")) and resume:
classifier = pickle_from_file(os.path.join(path, "classifier"))
self.__dict__ = classifier.__dict__
else:
self.y_encoder = None
self.verbose = verbose
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 4
Instances Project Name: jhfjhfj1/autokeras
Commit Name: 17e9e017a0ffc92148778686ab86d681a42085e3
Time: 2018-04-04
Author: jin@tamu.edu
File Name: autokeras/classifier.py
Class Name: ClassifierBase
Method Name: __init__
Project Name: keras-team/autokeras
Commit Name: 17e9e017a0ffc92148778686ab86d681a42085e3
Time: 2018-04-04
Author: jin@tamu.edu
File Name: autokeras/classifier.py
Class Name:
Method Name: run_searcher_once
Project Name: jhfjhfj1/autokeras
Commit Name: 17e9e017a0ffc92148778686ab86d681a42085e3
Time: 2018-04-04
Author: jin@tamu.edu
File Name: autokeras/classifier.py
Class Name: ClassifierBase
Method Name: load_searcher