public class AIC
extends java.lang.Object
| Constructor and Description |
|---|
AIC(java.util.List<TestInstance> instances,
Optimizer o)
Creates an object containing the AIC for several test instances
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<TestInstance,java.lang.Double> |
getAICs()
Returns the AIC for each instance
|
double |
getBestAIC()
Returns the best AIC
|
TestInstance |
getBestInstance()
Returns the test instance with the best AIC
|
java.util.Map<TestInstance,Likelihood> |
getLikelihoods()
Returns the likelihood for each instance
|
public AIC(java.util.List<TestInstance> instances, Optimizer o) throws GeneralException
instances - The test instances to calculate the AIC foro - The optimizer to used when maximizing the likelihoodGeneralException - If there is an errorpublic java.util.Map<TestInstance,Likelihood> getLikelihoods()
public java.util.Map<TestInstance,java.lang.Double> getAICs()
public double getBestAIC()
public TestInstance getBestInstance()