30119e9882611a85bf43575c3102281cae43c762,experiments/mnist.py,,,#,9

Before Change


    y = clf.evaluate(x_test, y_test)
    // MLP for Pima Indians Dataset with 10-fold cross validation
    scores = clf.cross_validate(X, Y, 2)
    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


DEVICE_ID = DEVICE_ID_LIST[0] // grab first element from list

// Set CUDA_VISIBLE_DEVICES to mask out all other GPUs than the first available device id
os.environ["CUDA_VISIBLE_DEVICES"] = str(DEVICE_ID)

from autokeras import constant
from autokeras.classifier import ImageClassifier
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: keras-team/autokeras
Commit Name: 30119e9882611a85bf43575c3102281cae43c762
Time: 2018-03-18
Author: jhfjhfj1@gmail.com
File Name: experiments/mnist.py
Class Name:
Method Name:


Project Name: keras-team/autokeras
Commit Name: 30119e9882611a85bf43575c3102281cae43c762
Time: 2018-03-18
Author: jhfjhfj1@gmail.com
File Name: experiments/mnist.py
Class Name:
Method Name:


Project Name: NifTK/NiftyNet
Commit Name: 03e8525394683bb5da7668330cd910c87c7d4501
Time: 2017-04-03
Author: l.fidon@ucl.ac.uk
File Name: data_augmentation.py
Class Name:
Method Name: rand_intensity_normalisation


Project Name: asyml/texar
Commit Name: 99153ad034108b7d0e759fc246cb3d05593ee897
Time: 2018-06-02
Author: zhitinghu@gmail.com
File Name: texar/agents/pg_agent.py
Class Name: PGAgent
Method Name: _train_policy