February 2018
Intermediate to advanced
218 pages
5h 31m
English
For this example, you'll define the following:
# Defining the neural network def build_model(): model = Sequential() model.add(Dense(512, input_shape=(784,))) model.add(Activation('relu')) # An "activation" is just a non-linear function that is applied to the output # of the above layer. In this case, with a "rectified linear unit", # we perform clamping on all values below 0 to 0. model ...
Read now
Unlock full access