Class AbstractCrossvalidatedInstanceEvaluator.EvaluationContainer

    • Field Detail

      • m_Instance

        protected weka.core.Instance m_Instance
        the Instance the container is for.
    • Constructor Detail

      • EvaluationContainer

        public EvaluationContainer​(weka.core.Instance inst)
        Initializes the container.
        Parameters:
        inst - the Instance the container is for
    • 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:
        compareTo in interface Comparable
        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.
        Overrides:
        equals in class Object
        Parameters:
        o - the object to be compared
        Returns:
        true if the object is the same as this one
      • toString

        public abstract String toString()
        Returns a string representation of the stored data.
        Overrides:
        toString in class Object
        Returns:
        the represention