train

abstract fun train(input: FloatArray, target: FloatArray)(source)

Performs a single training step on the model.

Parameters

input

A numerical representation of the training input features.

target

A numerical representation of the expected output (the label).