Class RPD

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

    public class RPD
    extends AbstractSimpleRegressionMeasure
    Computes the RPD (Ratio of Performance to Deviation) for regression models: RPD = SD / RMSE
    https://www.academia.edu/4303409/Why_you_dont_need_to_use_RPD
    Version:
    $Revision$
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • RPD

        public RPD()
    • Method Detail

      • getMetricName

        public String getMetricName()
        Get the name of this metric
        Specified by:
        getMetricName in class weka.classifiers.evaluation.AbstractEvaluationMetric
        Returns:
        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
        Returns:
        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
        Returns:
        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
        Parameters:
        statName - the name of the statistic to compute the value for
        Returns:
        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.
        Returns:
        a formatted string containing all the computed statistics