Package examples.cnn.mnist.advanced

Types

EvaluateCallback
Link copied to clipboard
class EvaluateCallback : Callback

Simple custom Callback object.

PredictCallback
Link copied to clipboard
class PredictCallback : Callback

Simple custom Callback object.

Functions

lenetWithAlternativeLossFunction
Link copied to clipboard
fun lenetWithAlternativeLossFunction()

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.

lenetWithEarlyStoppingCallback
Link copied to clipboard
fun lenetWithEarlyStoppingCallback()

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.

lenetWithMultipleCallbacks
Link copied to clipboard
fun lenetWithMultipleCallbacks()

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.

lenetWithTimeStoppingCallback
Link copied to clipboard
fun lenetWithTimeStoppingCallback()

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.

main
Link copied to clipboard
fun main()
fun main()
fun main()
fun main()
fun main()
modernLenetWithRegularizers
Link copied to clipboard
fun modernLenetWithRegularizers()

This example shows how to do image classification from scratch using modernLeNet, without leveraging pre-trained weights or a pre-made model. We demonstrate the workflow on the Mnist classification dataset.