| Modifier and Type | Class and Description |
|---|---|
static class |
Gram.Cholesky |
static class |
Gram.GramTask
Task to compute gram matrix normalized by the number of observations (not counting rows with NAs).
|
static class |
Gram.InPlaceCholesky |
| Modifier and Type | Field and Description |
|---|---|
double |
_diagAdded |
| Constructor and Description |
|---|
Gram() |
Gram(Gram g) |
Gram(int N,
int diag,
int dense,
int sparse,
boolean hasIntercept) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Gram grm) |
void |
addDiag(double d) |
void |
addDiag(double d,
boolean add2Intercept) |
void |
addRow(double[] x,
int catN,
int[] catIndexes,
double w) |
Gram.Cholesky |
cholesky(Gram.Cholesky chol) |
Gram.Cholesky |
cholesky(Gram.Cholesky chol,
int parallelize)
Compute the cholesky decomposition.
|
Gram |
clone() |
double[][] |
getDenseXX() |
double[][] |
getXX() |
boolean |
hasNaNsOrInfs() |
void |
mul(double x) |
java.lang.String |
toString() |
frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFieldspublic Gram()
public Gram(int N,
int diag,
int dense,
int sparse,
boolean hasIntercept)
public Gram(Gram g)
public void addDiag(double d)
public void addDiag(double d,
boolean add2Intercept)
public java.lang.String toString()
toString in class java.lang.Objectpublic Gram.Cholesky cholesky(Gram.Cholesky chol)
public Gram.Cholesky cholesky(Gram.Cholesky chol, int parallelize)
chol - public double[][] getXX()
public double[][] getDenseXX()
public void add(Gram grm)
public final boolean hasNaNsOrInfs()
public final void addRow(double[] x,
int catN,
int[] catIndexes,
double w)
public void mul(double x)