org.metaqtl
Class EMCriteria
java.lang.Object
org.metaqtl.EMCriteria
- All Implemented Interfaces:
- java.io.Serializable
public class EMCriteria
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- jveyrier
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AIC
public static final int AIC
- See Also:
- Constant Field Values
AIC3
public static final int AIC3
- See Also:
- Constant Field Values
ICOMP
public static final int ICOMP
- See Also:
- Constant Field Values
BIC
public static final int BIC
- See Also:
- Constant Field Values
AWE
public static final int AWE
- See Also:
- Constant Field Values
AICc
public static final int AICc
- See Also:
- Constant Field Values
AIC_NAME
public static final java.lang.String AIC_NAME
- See Also:
- Constant Field Values
AICc_NAME
public static final java.lang.String AICc_NAME
- See Also:
- Constant Field Values
AIC3_NAME
public static final java.lang.String AIC3_NAME
- See Also:
- Constant Field Values
ICOMP_NAME
public static final java.lang.String ICOMP_NAME
- See Also:
- Constant Field Values
BIC_NAME
public static final java.lang.String BIC_NAME
- See Also:
- Constant Field Values
AWE_NAME
public static final java.lang.String AWE_NAME
- See Also:
- Constant Field Values
aic
public double aic
aicc
public double aicc
aic3
public double aic3
bic
public double bic
mir
public double mir
icomp
public double icomp
awe
public double awe
EMCriteria
public EMCriteria()
getCriterion
public double getCriterion(int criterion)
- Get the criterion value according to its integer
code.
- Parameters:
criterion
-
- Returns:
- the value of the criterion.
getBestResult
public static EMResult getBestResult(EMResult[] clusterings,
int criterion)
- For the given criterion
criterion
this methods
looks into the array of EMResult
and find the model
which is optimal.
- Parameters:
clusterings
- criterion
-
- Returns:
- the result which is optimal according to the criterion.
getBestResult
public static EMResult getBestResult(EMResult[] clusterings,
int n,
int criterion)
getBestResult
public static EMResult getBestResult(EMResult[] clusterings,
java.lang.String criterion)
- Parameters:
clusterings
- criterion
-
- Returns:
getBestResult
public static EMResult getBestResult(EMResult[] clusterings,
int n,
java.lang.String criterion)
- Parameters:
clusterings
- criterion
-
- Returns:
getCriteria
public static java.util.Iterator getCriteria()
- Returns an iterator on the criteria
- Returns:
getCriterionIdx
public static int getCriterionIdx(java.lang.String name)
- Returns the integer code for the criterion which matches
the given name.
- Parameters:
name
-
- Returns:
getCriterion
public double getCriterion(java.lang.String criterion)
- Parameters:
criterion
-
- Returns: