Class Criteria
java.lang.Object
unifeat.result.performanceMeasure.Criteria
This java class is used to set different criteria values used in the feature
selection area of research.
- Author:
- Sina Tabakhi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleThis method returns the accuracy.doubleThis method returns the error rate.doublegetTime()This method returns the time.voidsetAccuracy(double accuracy) This method sets the accuracy value.voidsetErrorRate(double errorRate) This method sets the error rate value.voidsetTime(double time) This method sets the time value.
-
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
accuracyvalue
-
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 ratevalue
-
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
timevalue
-