public class INNER extends HyperrectanglesAlgorithm
confMatrix, initialTime, inputAtt, inputs, modelTime, name, nClasses, nInstances, nulls, outFile, output, prediction, realClass, reference, referenceData, referenceFile, referenceOutput, relation, ruleSetText, seed, temp, test, testData, testFile, testOutput, testTime, train, trainConfMatrix, trainData, trainFile, trainingTime, trainOutput, trainPrediction, trainRealClass, trainUnclassified, unclassified
Constructor and Description |
---|
INNER(java.lang.String script)
The main method of the class
|
Modifier and Type | Method and Description |
---|---|
protected int |
evaluate(double[] instance)
Classifies an instance using the ruleset
|
void |
getRules()
The core of INNER algorithm.
|
void |
postProcess()
Performs the postprocessing phase of INNER
|
protected void |
readParameters(java.lang.String script)
Reads configuration script, to extract the parameter's values.
|
protected int |
writeRules()
Writes the final ruleset obtained, in the ruleSetText variable.
|
euclideanDistance, execute, executeReference, manhattanDistance, normalizeReference, normalizeTest, normalizeTrain, printInstance, readConfiguracion, readDataFiles, same, setInitialTime
public INNER(java.lang.String script)
script
- Name of the configuration scriptprotected void readParameters(java.lang.String script)
readParameters
in class HyperrectanglesAlgorithm
script
- Name of the configuration scriptpublic void getRules()
public void postProcess()
protected int evaluate(double[] instance)
evaluate
in class HyperrectanglesAlgorithm
instance
- Instance to classifyprotected int writeRules()
writeRules
in class HyperrectanglesAlgorithm