Klasse StatisticsClassification

java.lang.Object
org.deidentifier.arx.aggregates.StatisticsClassification

public class StatisticsClassification extends Object
Statistics representing the performance of various classifiers
  • Methodendetails

    • getAccuracy

      public double getAccuracy()
      Returns the resulting accuracy. Obtained by generating a classification model from the output (or input) dataset.
      Gibt zurück:
    • getAverageError

      public double getAverageError()
      Returns the average error, defined as avg(1d-probability-of-correct-result) for each classification event.
      Gibt zurück:
    • getZerorBrierScore

      public double getZerorBrierScore()
      Returns the brier score of the ZeroR classifier.
      Gibt zurück:
    • getBrierScore

      public double getBrierScore()
      Returns the brier score of the classifier trained on output data.
      Gibt zurück:
    • getOriginalBrierScore

      public double getOriginalBrierScore()
      Returns the brier score of the classifier trained on input data.
      Gibt zurück:
    • getBrierSkillScore

      public double getBrierSkillScore()
      Returns the brier skill score, defined as 1-(brier output/brier input)
      Gibt zurück:
    • getClassValues

      public Set<String> getClassValues()
      Returns the set of class attributes
      Gibt zurück:
    • getNumClasses

      public int getNumClasses()
      Returns the number of classes
      Gibt zurück:
    • getNumMeasurements

      public int getNumMeasurements()
      Returns the number of measurements
      Gibt zurück:
    • getOriginalAccuracy

      public double getOriginalAccuracy()
      Returns the maximal accuracy. Obtained by generating a classification model from the input dataset.
      Gibt zurück:
    • getOriginalAverageError

      public double getOriginalAverageError()
      Returns the average error, defined as avg(1d-probability-of-correct-result) for each classification event.
      Gibt zurück:
    • getOriginalROCCurve

      public StatisticsClassification.ROCCurve getOriginalROCCurve(String clazz)
      Returns the ROC curve for this class value calculated using the one-vs-all approach.
      Parameter:
      clazz -
      Gibt zurück:
    • getZeroRROCCurve

      public StatisticsClassification.ROCCurve getZeroRROCCurve(String clazz)
      Returns the ROC curve for this class value calculated using the one-vs-all approach.
      Parameter:
      clazz -
      Gibt zurück:
    • getROCCurve

      public StatisticsClassification.ROCCurve getROCCurve(String clazz)
      Returns the ROC curve for this class value calculated using the one-vs-all approach.
      Parameter:
      clazz -
      Gibt zurück:
    • getZeroRAccuracy

      public double getZeroRAccuracy()
      Returns the minimal accuracy. Obtained by training a ZeroR classifier on the input dataset.
      Gibt zurück:
    • getZeroRAverageError

      public double getZeroRAverageError()
      Returns the average error, defined as avg(1d-probability-of-correct-result) for each classification event.
      Gibt zurück:
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object