io.github.mandar2812.dynaml.optimization
Solve the convex optimization problem.
Solve the convex optimization problem.
Set fraction of data to be used for each SGD iteration.
Set fraction of data to be used for each SGD iteration. Default 1.0 (corresponding to deterministic/classical gradient descent)
Set the number of iterations for SGD.
Set the number of iterations for SGD. Default 100.
Set the regularization parameter.
Set the regularization parameter. Default 0.0.
Set the initial step size of SGD for the first step.
Set the initial step size of SGD for the first step. Default 1.0. In subsequent steps, the step size will decrease with stepSize/sqrt(t)
Implementation of SGD on spark RDD