Class RSquared

    • Constructor Detail

      • RSquared

        public RSquared()
    • 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, forumulas 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