Class Criteria

java.lang.Object
unifeat.result.performanceMeasure.Criteria

public class Criteria extends Object
This java class is used to set different criteria values used in the feature selection area of research.
Author:
Sina Tabakhi
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private double
     
    private double
     
    private double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Initializes the parameters
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    This method returns the accuracy.
    double
    This method returns the error rate.
    double
    This method returns the time.
    void
    setAccuracy(double accuracy)
    This method sets the accuracy value.
    void
    setErrorRate(double errorRate)
    This method sets the error rate value.
    void
    setTime(double time)
    This method sets the time value.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • accuracy

      private double accuracy
    • errorRate

      private double errorRate
    • time

      private double time
  • Constructor Details

    • Criteria

      public Criteria()
      Initializes the parameters
  • Method Details

    • setAccuracy

      public void setAccuracy(double accuracy)
      This method sets the accuracy value.
      Parameters:
      accuracy - the accuracy value
    • getAccuracy

      public double getAccuracy()
      This method returns the accuracy.
      Returns:
      the accuracy value
    • setErrorRate

      public void setErrorRate(double errorRate)
      This method sets the error rate value.
      Parameters:
      errorRate - the error rate value
    • getErrorRate

      public double getErrorRate()
      This method returns the error rate.
      Returns:
      the error rate value
    • setTime

      public void setTime(double time)
      This method sets the time value.
      Parameters:
      time - the time value
    • getTime

      public double getTime()
      This method returns the time.
      Returns:
      the time value