|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdatabionics.esom.train.Descriptives
public class Descriptives
Computes and stores important characteristics of the data
Field Summary | |
---|---|
protected cern.colt.matrix.DoubleMatrix2D |
cov
matrix of covariances |
protected cern.colt.matrix.DoubleMatrix2D |
data
matrix with data |
protected cern.colt.matrix.DoubleMatrix2D |
ev
Normalized Eigenvectors |
protected cern.colt.matrix.linalg.EigenvalueDecomposition |
evd
Eigenvalues |
protected static org.apache.log4j.Logger |
log
interface to log4j system |
protected cern.colt.matrix.DoubleMatrix1D |
maxima
vector of maxima |
protected cern.colt.matrix.DoubleMatrix1D |
means
vector of means |
protected cern.colt.matrix.DoubleMatrix1D |
minima
vector of minima |
protected cern.colt.matrix.DoubleMatrix1D |
sdevs
vector of standard deviations |
Constructor Summary | |
---|---|
Descriptives()
standard constructor |
|
Descriptives(cern.colt.matrix.DoubleMatrix2D data)
constructor who sets data and EigenvalueDecomposition |
Method Summary | |
---|---|
cern.colt.matrix.DoubleMatrix2D |
getCovariance()
Returns covariance matrix of data |
double |
getEigenValue(int i)
Returns i-th largest eigenvalue |
cern.colt.matrix.DoubleMatrix1D |
getEigenValues()
Returns EigenValues of data |
cern.colt.matrix.DoubleMatrix1D |
getEigenVector(int i)
Returns eigenvector of i-th largest eigenvalue |
cern.colt.matrix.DoubleMatrix2D |
getEigenVectors()
Returns Eigenvectors of data |
double |
getFirstEigenValue()
Returns largest eigenvalue |
cern.colt.matrix.DoubleMatrix1D |
getFirstEigenVector()
Returns eigenvector of largest eigenvalue |
double |
getMax(int pos)
Returns max of data |
double |
getMean(int pos)
Returns mean of data |
double |
getMin(int pos)
Returns min of data |
double |
getSecondEigenValue()
Returns 2nd largest eigenvalue |
cern.colt.matrix.DoubleMatrix1D |
getSecondEigenVector()
Returns eigenvector of 2nd largest eigenvalue |
double |
getStandardDeviation(int pos)
Returns standard deviation |
double |
getThirdEigenValue()
Returns 3rd largest eigenvalue |
cern.colt.matrix.DoubleMatrix1D |
getThirdEigenVector()
Returns eigenvector of 3rd largest eigenvalue |
protected void |
pca()
Perform PCA |
cern.colt.matrix.DoubleMatrix1D |
projection(int i)
Projection of data with eigenvector of given eigenvalue |
void |
setData(cern.colt.matrix.DoubleMatrix2D data)
Set data and calculate statistics. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.log4j.Logger log
protected cern.colt.matrix.DoubleMatrix2D data
protected cern.colt.matrix.DoubleMatrix1D maxima
protected cern.colt.matrix.DoubleMatrix1D means
protected cern.colt.matrix.DoubleMatrix1D minima
protected cern.colt.matrix.DoubleMatrix1D sdevs
protected cern.colt.matrix.DoubleMatrix2D cov
protected cern.colt.matrix.linalg.EigenvalueDecomposition evd
protected cern.colt.matrix.DoubleMatrix2D ev
Constructor Detail |
---|
public Descriptives()
public Descriptives(cern.colt.matrix.DoubleMatrix2D data)
data
- dataMethod Detail |
---|
protected void pca()
public void setData(cern.colt.matrix.DoubleMatrix2D data)
public double getMax(int pos)
public double getMean(int pos)
public double getMin(int pos)
public double getStandardDeviation(int pos)
public cern.colt.matrix.DoubleMatrix2D getCovariance()
public cern.colt.matrix.DoubleMatrix1D getEigenValues()
public cern.colt.matrix.DoubleMatrix2D getEigenVectors()
public double getEigenValue(int i)
i
- i-th largest
public double getFirstEigenValue()
public double getSecondEigenValue()
public double getThirdEigenValue()
public cern.colt.matrix.DoubleMatrix1D getEigenVector(int i)
i
- i-th largest eigenvalue
public cern.colt.matrix.DoubleMatrix1D getFirstEigenVector()
public cern.colt.matrix.DoubleMatrix1D getSecondEigenVector()
public cern.colt.matrix.DoubleMatrix1D getThirdEigenVector()
public cern.colt.matrix.DoubleMatrix1D projection(int i)
i
- i-th largest EigenValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |