|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.data.weka.evaluator.AbstractCrossvalidatedInstanceEvaluator.EvaluationContainer
adams.data.weka.evaluator.IntervalEstimatorBased.SortedInterval
public static class IntervalEstimatorBased.SortedInterval
Helper class for sorting the confidence intervals.
| Field Summary | |
|---|---|
protected double |
m_AverageWidth
the average width. |
protected double[][] |
m_Intervals
the intervals. |
protected boolean |
m_RelativeWidths
whether the widths are relative. |
| Fields inherited from class adams.data.weka.evaluator.AbstractCrossvalidatedInstanceEvaluator.EvaluationContainer |
|---|
m_Instance |
| Constructor Summary | |
|---|---|
IntervalEstimatorBased.SortedInterval(weka.core.Instance inst,
double[][] intervals,
boolean relative)
Initializes the intervals. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Compares this object with the specified object for order. |
double |
getAverageWidth()
Returns the average width of the stored intervals. |
double[][] |
getIntervals()
Returns the stored intervals. |
String |
toString()
Returns the intervals as string. |
| Methods inherited from class adams.data.weka.evaluator.AbstractCrossvalidatedInstanceEvaluator.EvaluationContainer |
|---|
equals, getInstance |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected double[][] m_Intervals
protected double m_AverageWidth
protected boolean m_RelativeWidths
| Constructor Detail |
|---|
public IntervalEstimatorBased.SortedInterval(weka.core.Instance inst,
double[][] intervals,
boolean relative)
inst - the Instance this container is forintervals - the intervalsrelative - whether to use relative widths| Method Detail |
|---|
public double[][] getIntervals()
public double getAverageWidth()
public int compareTo(Object o)
compareTo in interface ComparablecompareTo in class AbstractCrossvalidatedInstanceEvaluator.EvaluationContainero - the object to be compared.
ClassCastException - if the specified object's type prevents it
from being compared to this object.public String toString()
toString in class AbstractCrossvalidatedInstanceEvaluator.EvaluationContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||