public class BIC
extends java.lang.Object
Constructor and Description |
---|
BIC(java.util.List<TestInstance> instances,
Optimizer o)
Creates an object containing the BIC for several test instances
|
Modifier and Type | Method and Description |
---|---|
double |
getBestBIC()
Returns the best BIC
|
TestInstance |
getBestInstance()
Returns the test instance with the best BIC
|
java.util.Map<TestInstance,java.lang.Double> |
getBICs()
Returns the BIC for each instance
|
java.util.Map<TestInstance,Likelihood> |
getLikelihoods()
Returns the likelihood for each instance
|
public BIC(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> getBICs()
public double getBestBIC()
public TestInstance getBestInstance()