public abstract static class DLSM.LSMSolver extends Iced
| Modifier and Type | Class and Description |
|---|---|
static class |
DLSM.LSMSolver.LSMSolverException |
| Modifier and Type | Field and Description |
|---|---|
double |
_alpha |
protected boolean |
_converged |
double |
_lambda |
| Constructor and Description |
|---|
DLSM.LSMSolver(double lambda,
double alpha) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
converged() |
abstract java.lang.String |
name() |
abstract boolean |
solve(hex.DGLM.Gram gram,
double[] newBeta) |
abstract com.google.gson.JsonObject |
toJson() |
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFieldspublic double _lambda
public final double _alpha
protected boolean _converged
public abstract boolean solve(hex.DGLM.Gram gram,
double[] newBeta)
xx - - gram matrix. gaussian: X'X, binomial:(1/4)X'Xxy - - guassian: -X'y binomial: -(1/4)X'(XB + (y-p)/(p*1-p))yy - - beta - - previous vector of coefficients, will be modified/destroyednewBeta - - resulting vector of coefficientspublic abstract com.google.gson.JsonObject toJson()
public final boolean converged()
public abstract java.lang.String name()