public static final class ComputationState.GramXY
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
Gram |
gram |
double |
likelihood |
double |
sumOfRowWeights |
double[] |
xy |
double |
yy |
Constructor and Description |
---|
GramXY(Gram gram,
double[] xy,
double[] grads,
double[] beta,
int[] activeCols,
int[] newActiveCols,
double yy,
double likelihood) |
Modifier and Type | Method and Description |
---|---|
static ComputationState.GramXY |
addCols(double[] beta,
int[] newActiveCols,
int[] newColsIds,
ComputationState.GramXY oldGram,
double[][] xxUpdate,
double[] xyUpdate) |
double[] |
getCODGradients() |
boolean |
match(double[] beta,
int[] activeCols) |
public final Gram gram
public final double[] xy
public double yy
public final double likelihood
public double sumOfRowWeights
public GramXY(Gram gram, double[] xy, double[] grads, double[] beta, int[] activeCols, int[] newActiveCols, double yy, double likelihood)
public final double[] getCODGradients()
public boolean match(double[] beta, int[] activeCols)
public static ComputationState.GramXY addCols(double[] beta, int[] newActiveCols, int[] newColsIds, ComputationState.GramXY oldGram, double[][] xxUpdate, double[] xyUpdate)