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,
myDataset conjTrn,
myDataset conjTst,
int[] muestPorClaseTrain,
int[] muestPorClaseTest,
java.lang.String[] _nombreClases)
It computes the final statistics for a rule set and a data-set
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
printString()
It prints on a string the statistics
|
java.lang.String |
salida(myDataset datos)
It generates a string with the output list, that is, <expected output> <output of the method>
|
public evaluateRuleQuality(ruleSet conjreg, myDataset conjTrn, myDataset conjTst, int[] muestPorClaseTrain, int[] muestPorClaseTest, java.lang.String[] _nombreClases)
conjreg
- Final Rule set (complexes)conjTrn
- Training data-setconjTst
- Test data-setmuestPorClaseTrain
- int[] Number of examples in each class in the training setmuestPorClaseTest
- int[] Number of examples in each class in the test set_nombreClases
- String [] Name of the classes of the problempublic java.lang.String printString()
public java.lang.String salida(myDataset datos)
datos
- Data-set