9c889d184047c2613fb9f8473f3f8a4b11bd452d,experiments/mnist.py,,,#,31

Before Change


    scores = clf.cross_validate(X, Y, 10)
    print(scores)
    print(np.mean(scores))
    print(np.std(scores))

    // split into input (X) and output (Y) variables
    // define 10-fold cross validation test harness

After Change



    clf.fit(x_train, y_train, time_limit=12*60*60)
    clf.final_fit(x_train, y_train, x_test, y_test, trainer_args, retrain=True)
    y = clf.evaluate(x_test, y_test)
    print(y)
    // MLP for Pima Indians Dataset with 10-fold cross validation
    // model = clf.load_searcher().load_best_model()
    clf.verbose = True
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: keras-team/autokeras
Commit Name: 9c889d184047c2613fb9f8473f3f8a4b11bd452d
Time: 2018-05-11
Author: jin@tamu.edu
File Name: experiments/mnist.py
Class Name:
Method Name:


Project Name: dmlc/dgl
Commit Name: 562871e76b2d5adbcd907bcf62ca28c0611e50e1
Time: 2020-07-22
Author: zhengda1936@gmail.com
File Name: examples/pytorch/graphsage/experimental/train_dist.py
Class Name:
Method Name: run