public class SD
extends java.lang.Object
It is the main class of the SD algorithm
Constructor and Description |
---|
SD(java.lang.String input_ftrain,
java.lang.String input_feval,
java.lang.String input_ftest,
java.lang.String output_ftrain,
java.lang.String output_ftest,
java.lang.String arule_file,
java.lang.String ameasure_file,
java.lang.String alg,
int abeamWidth,
int ag,
float aminSupp,
int anumRules)
Constructs the object of SD_algorithm
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Execute the algorithm SD
|
boolean |
isOk()
Checks if the algorithm is working fine.
|
public SD(java.lang.String input_ftrain, java.lang.String input_feval, java.lang.String input_ftest, java.lang.String output_ftrain, java.lang.String output_ftest, java.lang.String arule_file, java.lang.String ameasure_file, java.lang.String alg, int abeamWidth, int ag, float aminSupp, int anumRules)
Constructs the object of SD_algorithm
input_ftrain
- Name of the training fileinput_feval
- Name of the evaluating fileinput_ftest
- Name of the test fileoutput_ftrain
- Name of the output training fileoutput_ftest
- Name of the output test filearule_file
- Name of the rule fileameasure_file
- Name of the measure filealg
- Name of the algorithmabeamWidth
- Value of the width for the beamag
- Value of g parameter for the algorithmaminSupp
- Value of minSupp parameter for the algorithmanumRules
- Value of anumRules parameter for the algorithm