...
X (features) before splitting (114984, 5) X (features) splitting between test and training Test: (22997, 5) Training: (91987, 5) Y (target) before splitting (114984, 1) Y (target) splitting between test and training Test: (22997, 1) Training: (91987, 1) W (weights) before splitting (114984, 1) W (weights) splitting between test and training Test: (22997, 1) Training: (91987, 1)
...
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 kwarg flag explicitly to True
when calling the layer.
...