Training the network

Now that we've constructed the network, we feed it with data and train it, as follows:

# Training
model.fit(X_train, y_train, batch_size=128, nb_epoch=4, verbose=1,validation_data=(X_test, y_test))
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset