b115f1f721594772ca12e02dc388b1b210a2ee73,experiments/mnist.py,,,#,31
Before Change
X = np.concatenate((x_train, x_test))
Y = np.concatenate((y_train, y_test))
clf = ImageClassifier(searcher_type=sys.argv[1], path=sys.argv[2], verbose=False)
clf.fit(x_train, y_train)
y = clf.evaluate(x_test, y_test)
print(y)
// MLP for Pima Indians Dataset with 10-fold cross validation
// scores = clf.cross_validate(X, Y, 2)
After Change
os.environ["CUDA_VISIBLE_DEVICES"] = str(3)
constant.LIMIT_MEMORY = True
(x_train, y_train), (x_test, y_test) = mnist.load_data()
x_train = x_train.reshape(x_train.shape + (1,))
x_test = x_test.reshape(x_test.shape + (1,))
X = np.concatenate((x_train, x_test))
Y = np.concatenate((y_train, y_test))
clf = ImageClassifier(searcher_type="bayesian", path="~/temp_models", verbose=True)
clf.fit(x_train, y_train, time_limit=12*60*60)
// clf.final_fit(x_train, y_train)
y = clf.evaluate(x_test, y_test)
print(y)
// MLP for Pima Indians Dataset with 10-fold cross validation

In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: keras-team/autokeras
Commit Name: b115f1f721594772ca12e02dc388b1b210a2ee73
Time: 2018-05-02
Author: jin@tamu.edu
File Name: experiments/mnist.py
Class Name:
Method Name:
Project Name: ClimbsRocks/auto_ml
Commit Name: 019f0c822cd8f2833d3b25855f2df99cd5a465a4
Time: 2017-08-17
Author: ClimbsBytes@gmail.com
File Name: auto_ml/utils_model_training.py
Class Name: FinalModelATC
Method Name: fit
Project Name: keras-team/keras
Commit Name: 6899a9db16e04505b8a17770e7fb068a3c586347
Time: 2015-07-14
Author: francois.chollet@gmail.com
File Name: examples/imdb_conv.py
Class Name:
Method Name: