public static final class GLM.GLMGradientSolver extends java.lang.Object implements OptimizationUtils.GradientSolver
Constructor and Description |
---|
GLMGradientSolver(water.Job job,
GLMModel.GLMParameters glmp,
DataInfo dinfo,
double l2pen,
GLM.BetaConstraint bc,
GLM.BetaInfo bi) |
GLMGradientSolver(water.Job job,
GLMModel.GLMParameters glmp,
DataInfo dinfo,
double l2pen,
GLM.BetaConstraint bc,
GLM.BetaInfo bi,
double[][][] penaltyMat,
int[][] gamColInd) |
Modifier and Type | Method and Description |
---|---|
GLM.GLMGradientInfo |
getGradient(double[] beta)
Evaluate ginfo at solution beta.
|
GLM.GLMGradientInfo |
getGradient(double[] beta,
ComputationState state)
This method calculates the gradient for constrained GLM without taking into account the contribution of the
constraints in this case.
|
GLM.GLMGradientInfo |
getMultinomialLikelihood(double[] beta) |
OptimizationUtils.GradientInfo |
getObjective(double[] beta) |
public GLMGradientSolver(water.Job job, GLMModel.GLMParameters glmp, DataInfo dinfo, double l2pen, GLM.BetaConstraint bc, GLM.BetaInfo bi)
public GLMGradientSolver(water.Job job, GLMModel.GLMParameters glmp, DataInfo dinfo, double l2pen, GLM.BetaConstraint bc, GLM.BetaInfo bi, double[][][] penaltyMat, int[][] gamColInd)
public GLM.GLMGradientInfo getMultinomialLikelihood(double[] beta)
public GLM.GLMGradientInfo getGradient(double[] beta, ComputationState state)
public GLM.GLMGradientInfo getGradient(double[] beta)
OptimizationUtils.GradientSolver
getGradient
in interface OptimizationUtils.GradientSolver
public OptimizationUtils.GradientInfo getObjective(double[] beta)
getObjective
in interface OptimizationUtils.GradientSolver