public static class ComputationState.GramGrad
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double[] |
_grad |
double[][] |
_gram |
double |
_sumOfRowWeights |
double[] |
_xy |
double[] |
beta |
double |
objective |
Constructor and Description |
---|
GramGrad(double[][] gramM,
double[] grad,
double[] b,
double obj,
double sumOfRowWeights,
double[] xy) |
Modifier and Type | Method and Description |
---|---|
Gram.Cholesky |
cholesky(Gram.Cholesky chol,
double[][] xx) |
static double[][] |
dropCols(int[] cols,
double[][] xx) |
static double[][] |
dropIgnoredCols(double[][] R,
double[][] Z,
java.util.List<java.lang.Integer> dropped_cols) |
static int[] |
findZeroCols(double[][] xx) |
Gram.Cholesky |
qrCholesky(java.util.List<java.lang.Integer> dropped_cols,
double[][] Z,
boolean standardized) |
public double[][] _gram
public double[] beta
public double[] _grad
public double objective
public double _sumOfRowWeights
public double[] _xy
public GramGrad(double[][] gramM, double[] grad, double[] b, double obj, double sumOfRowWeights, double[] xy)
public Gram.Cholesky cholesky(Gram.Cholesky chol, double[][] xx)
public Gram.Cholesky qrCholesky(java.util.List<java.lang.Integer> dropped_cols, double[][] Z, boolean standardized)
public static double[][] dropIgnoredCols(double[][] R, double[][] Z, java.util.List<java.lang.Integer> dropped_cols)
public static double[][] dropCols(int[] cols, double[][] xx)
public static int[] findZeroCols(double[][] xx)