public static final class GLM.GLMGradientSolver extends java.lang.Object implements OptimizationUtils.GradientSolver
Constructor and Description |
---|
GLM.GLMGradientSolver(water.Job job,
GLMModel.GLMParameters glmp,
DataInfo dinfo,
double l2pen,
GLM.BetaConstraint bc) |
Modifier and Type | Method and Description |
---|---|
GLM.GLMGradientInfo |
getGradient(double[] beta)
Evaluate ginfo at solution beta.
|
OptimizationUtils.GradientInfo |
getObjective(double[] beta) |
public GLM.GLMGradientSolver(water.Job job, GLMModel.GLMParameters glmp, DataInfo dinfo, double l2pen, GLM.BetaConstraint bc)
public GLM.GLMGradientInfo getGradient(double[] beta)
OptimizationUtils.GradientSolver
getGradient
in interface OptimizationUtils.GradientSolver
public OptimizationUtils.GradientInfo getObjective(double[] beta)
getObjective
in interface OptimizationUtils.GradientSolver