Class PerformanceMeasures
java.lang.Object
unifeat.result.performanceMeasure.PerformanceMeasures
This java class is used to save all performance measure values obtained from
 different runs of given feature selection method.
- Author:
- Sina Tabakhi
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionPerformanceMeasures(int numRuns, int numSelectedSubsets) Initializes the parameters
- 
Method SummaryModifier and TypeMethodDescriptionvoidComputes the average values of all criteria over number of runsdouble[][]Returns the accuracy values of the feature selection methoddouble[][]Returns the average values of the accuracy of the feature selection method over number of runsdouble[][]Returns the average values of the error rate of the feature selection method over number of runsdouble[][]Returns the average values of the execution time of the feature selection method over number of runsdouble[][]Returns the error rate values of the feature selection methoddouble[][]Returns the execution time values of the feature selection methodvoidsetCriteria(int i, int j, Criteria criteria) Sets the obtained criteria values from feature selection method
- 
Constructor Details- 
PerformanceMeasurespublic PerformanceMeasures(int numRuns, int numSelectedSubsets) Initializes the parameters- Parameters:
- numRuns- numbers of runs of the feature selection method
- numSelectedSubsets- numbers of selected feature subsets
 
 
- 
- 
Method Details- 
setCriteriaSets the obtained criteria values from feature selection method- Parameters:
- i- the current run of the feature selection method
- j- the current subset of the selected features
- criteria- values obtained from the feature selection method
 
- 
computeAverageValuespublic void computeAverageValues()Computes the average values of all criteria over number of runs
- 
getAccuracyValuespublic double[][] getAccuracyValues()Returns the accuracy values of the feature selection method- Returns:
- an array of the accuracy values
 
- 
getErrorRateValuespublic double[][] getErrorRateValues()Returns the error rate values of the feature selection method- Returns:
- an array of the error rate values
 
- 
getTimeValuespublic double[][] getTimeValues()Returns the execution time values of the feature selection method- Returns:
- an array of the execution time values
 
- 
getAverageAccuracyValuespublic double[][] getAverageAccuracyValues()Returns the average values of the accuracy of the feature selection method over number of runs- Returns:
- an array of the average values of the accuracy
 
- 
getAverageErrorRateValuespublic double[][] getAverageErrorRateValues()Returns the average values of the error rate of the feature selection method over number of runs- Returns:
- an array of the average values of the error rate
 
- 
getAverageTimeValuespublic double[][] getAverageTimeValues()Returns the average values of the execution time of the feature selection method over number of runs- Returns:
- an array of the average values of the execution time
 
 
-