Class SDR

  • All Implemented Interfaces:
    Serializable, weka.classifiers.evaluation.StandardEvaluationMetric

    public class SDR
    extends AbstractSimpleRegressionMeasure
    Computes the SDR (Standard Deviation of Residuals) for regression models.
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • SDR

        public SDR()
    • Method Detail

      • getMetricName

        public String getMetricName()
        Get the name of this metric
        Specified by:
        getMetricName in class weka.classifiers.evaluation.AbstractEvaluationMetric
        the name of this metric
      • getMetricDescription

        public String getMetricDescription()
        Get a short description of this metric (algorithm, formulas etc.).
        Specified by:
        getMetricDescription in class weka.classifiers.evaluation.AbstractEvaluationMetric
        a short description of this metric
      • getStatisticNames

        public List<String> getStatisticNames()
        Get a list of the names of the statistics that this metrics computes. E.g. an information theoretic evaluation measure might compute total number of bits as well as average bits/instance
        Specified by:
        getStatisticNames in class weka.classifiers.evaluation.AbstractEvaluationMetric
        the names of the statistics that this metric computes
      • getStatistic

        public double getStatistic​(String statName)
        Get the value of the named statistic
        Specified by:
        getStatistic in class weka.classifiers.evaluation.AbstractEvaluationMetric
        statName - the name of the statistic to compute the value for
        the computed statistic or Utils.missingValue() if the statistic can't be computed for some reason
      • toSummaryString

        public String toSummaryString()
        Return a formatted string (suitable for displaying in console or GUI output) containing all the statistics that this metric computes.
        a formatted string containing all the computed statistics
      • statisticIsMaximisable

        public boolean statisticIsMaximisable​(String statName)
        True if the optimum value of the named metric is a maximum value; false if the optimim value is a minimum value. Subclasses should override this method to suit their statistic(s)
        statisticIsMaximisable in class weka.classifiers.evaluation.AbstractEvaluationMetric
        true (default implementation)