lenetWithEarlyStoppingCallback
fun lenetWithEarlyStoppingCallback()
Content copied to clipboard
This example shows how to do image classification from scratch using lenet5Classic, without leveraging pre-trained weights or a pre-made model. We demonstrate the workflow on the Mnist classification dataset.
It includes:
dataset loading from S3
callback definition
model compilation with EarlyStopping callback
model summary
model training
model evaluation