public static class GLM.ProximalGradientSolver extends java.lang.Object implements OptimizationUtils.GradientSolver, ADMM.ProximalSolver
Constructor and Description |
---|
GLM.ProximalGradientSolver(OptimizationUtils.GradientSolver s,
double[] betaStart,
double[] rho,
double objEps,
double gradEps,
OptimizationUtils.GradientInfo ginfo,
L_BFGS.ProgressMonitor pm) |
Modifier and Type | Method and Description |
---|---|
GLM.ProximalGradientInfo |
getGradient(double[] beta)
Evaluate ginfo at solution beta.
|
OptimizationUtils.GradientInfo |
getObjective(double[] beta) |
OptimizationUtils.GradientInfo |
gradient(double[] beta) |
boolean |
hasGradient() |
int |
iter() |
static double |
proximal_gradient(double[] grad,
double obj,
double[] beta,
double[] beta_given,
double[] rho) |
double[] |
rho() |
boolean |
solve(double[] beta_given,
double[] beta) |
public GLM.ProximalGradientSolver(OptimizationUtils.GradientSolver s, double[] betaStart, double[] rho, double objEps, double gradEps, OptimizationUtils.GradientInfo ginfo, L_BFGS.ProgressMonitor pm)
public static double proximal_gradient(double[] grad, double obj, double[] beta, double[] beta_given, double[] rho)
public GLM.ProximalGradientInfo getGradient(double[] beta)
OptimizationUtils.GradientSolver
getGradient
in interface OptimizationUtils.GradientSolver
public OptimizationUtils.GradientInfo getObjective(double[] beta)
getObjective
in interface OptimizationUtils.GradientSolver
public double[] rho()
rho
in interface ADMM.ProximalSolver
public boolean solve(double[] beta_given, double[] beta)
solve
in interface ADMM.ProximalSolver
public boolean hasGradient()
hasGradient
in interface ADMM.ProximalSolver
public OptimizationUtils.GradientInfo gradient(double[] beta)
gradient
in interface ADMM.ProximalSolver
public int iter()
iter
in interface ADMM.ProximalSolver