The base model for all machine and deep learning models that uses gradient descent
Creates a new gradient method base model.
GradientMethodBaseModel.new(): GradientMethodBaseModelObject
GradientMethodBaseModel:setAreGradientSaved(option: boolean)
Set if the optimizers resets at the end of iterations.
BaseModel:setAutoResetOptimizers(option: boolean)
GradientMethodBaseModel:getGradients(doNotDeepCopy: boolean): any
GradientMethodBaseModel:setGradients(Gradients: any, doNotDeepCopy: boolean)
Gradients: The gradient to be stored by the model.
doNotDeepCopy: Set whether or not to get a deep copy of the gradients.
Clears stored gradients inside the gradient method base model.
GradientMethodBaseModel:clearGradients()