|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.metaqtl.EMResult
public class EMResult
| Field Summary | |
|---|---|
double[] |
ccov
The complete information (just for means). |
double |
clog
The complete loglikelihood. |
EMCriteria |
criteria
The model choice criteria. |
double[][] |
dm
The matrix of convergence rate for the EM-Algorithm (just for means). |
double |
edist
The euclidean distance between the current and the previous vector of parameters (mu + pi) |
int |
k
The number of clusters. |
double[] |
mu
The means of the clusters. |
int |
n
The number of data points. |
double[][] |
ocov
The observed information (just for means). |
double |
olog
The observed loglikelihood. |
double[] |
pi
The mixing proportions. |
double |
rate
The quadratric rate of convergence of the algorithm. |
double[][] |
z
The cluster membership probabilties. |
| Constructor Summary | |
|---|---|
EMResult()
|
|
EMResult(int n,
int k)
|
|
| Method Summary | |
|---|---|
void |
computeCriteria()
This methos computes the following criteria : AIC AIC3 ICOMP MIR BIC AWE |
static void |
copy(EMResult dest,
EMResult src)
|
double |
getCriterion(int critIdx)
|
double[] |
getEuclidean()
|
int |
getK()
|
double[] |
getMahalanobis(double[] sd)
|
double |
getMu(int i)
|
double |
getPi(int i)
|
double |
getSD(int i)
|
double[] |
getXBestPred()
|
double[] |
getXPred()
|
int |
getXPredIdx(int i)
|
double[] |
getZ(int i)
|
void |
sortCluster()
Sort the components in increasing order. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int k
public int n
public double rate
public double edist
public double[] mu
public double[] pi
public double[][] z
public double olog
public double clog
public double[][] dm
public double[][] ocov
public double[] ccov
public EMCriteria criteria
| Constructor Detail |
|---|
public EMResult()
public EMResult(int n,
int k)
n - the number of data points.k - the number of components.| Method Detail |
|---|
public void sortCluster()
public static void copy(EMResult dest,
EMResult src)
theta - spoint - public void computeCriteria()
public double getCriterion(int critIdx)
critIdx - public double[] getMahalanobis(double[] sd)
sd - public double[] getXPred()
public double getSD(int i)
i -
public double getMu(int i)
i -
public int getK()
public double[] getZ(int i)
public double[] getEuclidean()
sd -
public double getPi(int i)
i -
public int getXPredIdx(int i)
i -
public double[] getXBestPred()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||