linearRegressionWithTwoMetrics
fun linearRegressionWithTwoMetrics()
Content copied to clipboard
This example shows how to do regression from scratch, starting from generated dataset, using simple Dense-based model with 1 neuron.
It includes:
dataset creation
dataset splitting
model compilation
model training
model evaluation
model weights printing