d6e2975df0ccd9e585ace5e9f15ec3168a0b2b1d,autokeras/classifier.py,ClassifierBase,fit,#ClassifierBase#Any#Any#,79

Before Change


        x_train, x_test, y_train, y_test = train_test_split(x_train, y_train, test_size=0.25, random_state=42)

        pickle.dump(self, open(os.path.join(self.path, "classifier"), "wb"))
        self.model_id = self.searcher.search(x_train, y_train, x_test, y_test)

    def predict(self, x_test):
        Return predict result for the testing data.

After Change


                break
            p = multiprocessing.Process(target=run_searcher_once, args=(x_train, y_train, x_test, y_test, self.path))
            p.start()
            p.join()

    def predict(self, x_test):
        Return predict result for the testing data.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: jhfjhfj1/autokeras
Commit Name: d6e2975df0ccd9e585ace5e9f15ec3168a0b2b1d
Time: 2018-03-19
Author: jin@tamu.edu
File Name: autokeras/classifier.py
Class Name: ClassifierBase
Method Name: fit


Project Name: CellProfiler/CellProfiler
Commit Name: fe6d70a51d1a575313906708cf4bcda767b11d07
Time: 2010-09-20
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/measurements.py
Class Name: Measurements
Method Name: apply_metadata