setEpochs

abstract fun setEpochs(epochs: Int)

Sets the number of epochs to train the model. 0 means train indefinitely.