Package examples.ml

Functions

irisClassification
Link copied to clipboard
fun irisClassification()

This example shows how to do classification from scratch, starting from static Iris dataset, using simple Dense-based model.

linearRegression
Link copied to clipboard
fun linearRegression()

This example shows how to do regression from scratch, starting from generated dataset, using simple Dense-based model with 1 neuron.

linearRegressionWithTwoMetrics
Link copied to clipboard
fun linearRegressionWithTwoMetrics()

This example shows how to do regression from scratch, starting from generated dataset, using simple Dense-based model with 1 neuron.

main
Link copied to clipboard
fun main()
fun main()
fun main()
fun main()
prepareDataset
Link copied to clipboard
fun prepareDataset(): Dataset
sineRegression
Link copied to clipboard
fun sineRegression()

This example shows how to do regression from scratch, starting from generated dataset, using simple Dense-based model with 1 neuron.