March 2018
Intermediate to advanced
272 pages
7h 53m
English
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "That's exactly what the ModelCheckpoint callback does for us."
A block of code is set as follows:
def binary_accuracy(y_true, y_pred): return K.mean(K.equal(y_true, K.round(y_pred)), axis=-1)
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
def build_network(input_features=None): inputs = Input(shape=(input_features,), name="input") x = Dense(32, activation='relu', name="hidden1")(inputs) x = Dense(32, activation='relu', ...
Read now
Unlock full access