/Users/anatoly/anaconda3/lib/python3.6/site-packages/ipykernel/__main__.py:68: UserWarning: Update your `Dense` call to the Keras 2 API: `Dense(input_dim=108, activation="relu", units=100)`
/Users/anatoly/anaconda3/lib/python3.6/site-packages/ipykernel/__main__.py:74: UserWarning: The `Merge` layer is deprecated and will be removed after 08/2017. Use instead layers from `keras.layers.merge`, e.g. `add`, `concatenate`, etc.
/Users/anatoly/anaconda3/lib/python3.6/site-packages/keras/models.py:844: UserWarning: The `nb_epoch` argument in `fit` has been renamed `epochs`.
warnings.warn('The `nb_epoch` argument in `fit` '
Epoch 1/10
32561/32561 [==============================] - 1s - loss: 0.3832 - acc: 0.8254
Epoch 2/10
32561/32561 [==============================] - 1s - loss: 0.3412 - acc: 0.8444
Epoch 3/10
32561/32561 [==============================] - 1s - loss: 0.3336 - acc: 0.8461
Epoch 4/10
32561/32561 [==============================] - 1s - loss: 0.3284 - acc: 0.8490
Epoch 5/10
32561/32561 [==============================] - 1s - loss: 0.3252 - acc: 0.8512
Epoch 6/10
32561/32561 [==============================] - 1s - loss: 0.3229 - acc: 0.8518
Epoch 7/10
32561/32561 [==============================] - 1s - loss: 0.3201 - acc: 0.8552
Epoch 8/10
32561/32561 [==============================] - 1s - loss: 0.3185 - acc: 0.8553
Epoch 9/10
32561/32561 [==============================] - 1s - loss: 0.3161 - acc: 0.8576
Epoch 10/10
32561/32561 [==============================] - 1s - loss: 0.3163 - acc: 0.8572
11264/16281 [===================>..........] - ETA: 0s
test accuracy: 0.85179043053