Initializer

init(validationData:maxIterations:penalty:convergenceThreshold:featureRescaling:)

Creates a new set of parameters.

Declaration

init(validationData: MLDataTable?, maxIterations: Int = 11, penalty: Double = 1.0, convergenceThreshold: Double = 0.01, featureRescaling: Bool = true)

Parameters

validationData

The dataset used to monitor how well the model is generalizing.

The default value is `nil` which will use an automatically sampled validation set.

maxIterations

penalty

convergenceThreshold

featureRescaling