...
Note that the Dropout layer only applies when training is set to True
such that no values are dropped during inference. When using model.fit
, training will be appropriately set to True
automatically, and in other contexts, you can set the flag explicitly to True
when calling the layer.
Artificial Neural Network implementation
We can now start to define the first architecture. The most simple approach is using fully connected layers (Dense
layers in Keras/Tensorflow), with selu
activation function and a sigmoid
final layer, since we are affording a binary classification problem.
...