Package adams.data.weka.evaluator
Class AbstractCrossvalidatedInstanceEvaluator.EvaluationContainer
- java.lang.Object
-
- adams.data.weka.evaluator.AbstractCrossvalidatedInstanceEvaluator.EvaluationContainer
-
- All Implemented Interfaces:
Comparable
- Direct Known Subclasses:
IntervalEstimatorBased.SortedInterval
- Enclosing class:
- AbstractCrossvalidatedInstanceEvaluator<T extends AbstractCrossvalidatedInstanceEvaluator.EvaluationContainer>
public abstract static class AbstractCrossvalidatedInstanceEvaluator.EvaluationContainer extends Object implements Comparable
Container for storing the evaluation results.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Field Summary
Fields Modifier and Type Field Description protected weka.core.Instancem_Instancethe Instance the container is for.
-
Constructor Summary
Constructors Constructor Description EvaluationContainer(weka.core.Instance inst)Initializes the container.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract intcompareTo(Object o)Compares this object with the specified object for order.booleanequals(Object o)Returns whether the two objects are the same.weka.core.InstancegetInstance()Returns the stored Instance.abstract StringtoString()Returns a string representation of the stored data.
-
-
-
Method Detail
-
getInstance
public weka.core.Instance getInstance()
Returns the stored Instance.- Returns:
- the instance
-
compareTo
public abstract int compareTo(Object o)
Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
Only compares the commandlines of the two objects.- Specified by:
compareToin interfaceComparable- Parameters:
o- the object to be compared.- Returns:
- a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
- Throws:
ClassCastException- if the specified object's type prevents it from being compared to this object.
-
equals
public boolean equals(Object o)
Returns whether the two objects are the same.
-
-