b673a26860c1598e7ef66a301743a2ff1d96b61f,examples/keras_integration.py,,create_keras_model,#,16
Before Change
Should be passed to KerasClassifier in the Keras scikit-learn API.
model = Sequential()
model.add(Dense(512, activation="relu", input_shape=(784, ) ))
model.add(Dropout(0.2))
model.add(Dense(512, activation="relu"))
model.add(Dropout(0.2))
After Change
Should be passed to KerasClassifier in the Keras scikit-learn API.
model = Sequential()
model.add(Conv2D(32, kernel_size=(3, 3), activation="relu", input_shape=(28, 28, 1)) )
model.add(MaxPooling2D(pool_size=(2, 2)))
model.add(Dropout(0.25))
model.add(Flatten())
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances Project Name: modAL-python/modAL
Commit Name: b673a26860c1598e7ef66a301743a2ff1d96b61f
Time: 2018-04-16
Author: theodore.danka@gmail.com
File Name: examples/keras_integration.py
Class Name:
Method Name: create_keras_model
Project Name: onnx/onnxmltools
Commit Name: 80e1d0aba201d45ba32542327ab1a63e074a759e
Time: 2018-05-11
Author: wschin@outlook.com
File Name: tests/end2end/test_single_operator_with_cntk_backend.py
Class Name: TestKeras2CoreML2ONNX
Method Name: test_conv_4d
Project Name: broadinstitute/keras-rcnn
Commit Name: f15ccfb70e223f19c5f56273a6384a163aeea9e6
Time: 2017-05-31
Author: allen.goodman@icloud.com
File Name: keras_rcnn/layers/object_detection/_region_proposal_network.py
Class Name: RegionProposalNetwork
Method Name: image_features