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
-
Method Summary
Modifier and TypeMethodDescriptiondouble
This method returns the accuracy.double
This method returns the error rate.double
getTime()
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.
-
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
-