Package cc.mallet.util
Class Univariate
- java.lang.Object
-
- cc.mallet.util.Univariate
-
public class Univariate extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description double[]
five
-
Constructor Summary
Constructors Constructor Description Univariate(double[] data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
between(double t1, double t2)
int
compare(double t)
double
elementAt(int index)
double[]
getData()
int
indexOf(double element)
double
max()
double
mean()
double
median()
double
min()
double
quant(double q)
double
SE()
int
size()
double[]
sort()
double
stdev()
double[]
subset(int[] indices)
double[]
summary()
double
variance()
-
-
-
Method Detail
-
summary
public double[] summary()
-
mean
public double mean()
-
variance
public double variance()
-
stdev
public double stdev()
-
SE
public double SE()
-
max
public double max()
-
min
public double min()
-
median
public double median()
-
quant
public double quant(double q)
-
sort
public double[] sort()
-
getData
public double[] getData()
-
size
public int size()
-
elementAt
public double elementAt(int index)
-
subset
public double[] subset(int[] indices)
-
compare
public int compare(double t)
-
between
public int[] between(double t1, double t2)
-
indexOf
public int indexOf(double element)
-
-