public static class DGLM.GramMatrixFunc extends NewRowVecTask.RowFunc<hex.DGLM.Gram>
_expandCats, _standardize, TYPE
Constructor and Description |
---|
DGLM.GramMatrixFunc(NewRowVecTask.DataFrame data,
DGLM.GLMParams glmp,
double[] beta) |
Modifier and Type | Method and Description |
---|---|
double |
computeEta(double[] x,
int[] indexes) |
long |
memReq() |
hex.DGLM.Gram |
newResult() |
void |
processRow(hex.DGLM.Gram gram,
double[] x,
int[] indexes) |
hex.DGLM.Gram |
reduce(hex.DGLM.Gram x,
hex.DGLM.Gram y) |
hex.DGLM.Gram |
result(hex.DGLM.Gram g) |
apply
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
public DGLM.GramMatrixFunc(NewRowVecTask.DataFrame data, DGLM.GLMParams glmp, double[] beta)
public hex.DGLM.Gram newResult()
newResult
in class NewRowVecTask.RowFunc<hex.DGLM.Gram>
public long memReq()
memReq
in class NewRowVecTask.RowFunc<hex.DGLM.Gram>
public final double computeEta(double[] x, int[] indexes)
public final void processRow(hex.DGLM.Gram gram, double[] x, int[] indexes)
processRow
in class NewRowVecTask.RowFunc<hex.DGLM.Gram>
public hex.DGLM.Gram reduce(hex.DGLM.Gram x, hex.DGLM.Gram y)
reduce
in class NewRowVecTask.RowFunc<hex.DGLM.Gram>
public hex.DGLM.Gram result(hex.DGLM.Gram g)
result
in class NewRowVecTask.RowFunc<hex.DGLM.Gram>