train

abstract fun train(iterations: Int = 1): Int

Train the model for a number of iterations, a.k.a. epochs.

Parameters

iterations

The number of epochs to train the model for. Defaults to 1.