public class evaluateRuleQuality
extends java.lang.Object
Title: Evaluation of the quality of the rules
Description: This class computes the final statistics
Constructor and Description |
---|
evaluateRuleQuality(ruleSet conjreg,
int numClases,
double[][] rangs,
int[] limites,
int[] tips,
java.lang.String[] _nombreClases)
Class Builder
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
printString()
It returns a string with the accuracy percentage in training and test
|
java.lang.String |
salida(myDataset datos,
int entrena)
It generates a string with the ouput list, <expected output> <method output>
|
public evaluateRuleQuality(ruleSet conjreg, int numClases, double[][] rangs, int[] limites, int[] tips, java.lang.String[] _nombreClases)
conjreg
- Final rule setnumClases
- Number of classes of the problemrangs
- Bounds arraylimites
- Array with the length of the bounds arraytips
- Array with the types of the attributes_nombreClases
- String [] names of the data-set classespublic java.lang.String salida(myDataset datos, int entrena)
datos
- Data-setentrena
- 0 if it refer to the training set, 1 for test setpublic java.lang.String printString()