public static final class MathUtils.BasicStats extends Iced
Constructor and Description |
---|
MathUtils.BasicStats(int n) |
Modifier and Type | Method and Description |
---|---|
void |
add(double[] x,
double w) |
void |
add(double x,
double w,
int i) |
void |
fillSparseNAs(int i) |
void |
fillSparseZeros(int i) |
boolean |
isSparse(int col) |
double[] |
mean() |
double |
mean(int i) |
long |
nobs() |
void |
reduce(MathUtils.BasicStats bs) |
void |
setNobs(long nobs,
double wsum) |
double[] |
sigma() |
double |
sigma(int i) |
double[] |
variance() |
double |
variance(int i) |
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSON
public void add(double x, double w, int i)
public void add(double[] x, double w)
public void setNobs(long nobs, double wsum)
public void fillSparseZeros(int i)
public void fillSparseNAs(int i)
public void reduce(MathUtils.BasicStats bs)
public double variance(int i)
public double[] variance()
public double sigma(int i)
public double[] sigma()
public double[] mean()
public double mean(int i)
public long nobs()
public boolean isSparse(int col)