train

open override fun train(iterations: Int): 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.