public class AVG extends PrototypeGenerator
algorithmName, generatedDataSet, SEED, seedDefaultValueList, trainingDataSet
Constructor and Description |
---|
AVG(PrototypeSet _trainingDataSet)
Constructs the AVG
|
AVG(PrototypeSet _trainingDataSet,
Parameters param)
Constructs the AVG
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
General main for all the prototoype generators
Arguments:
0: Filename with the training data set to be condensed.
1: Filename wich will contain the test data set
|
PrototypeSet |
reduceSet()
Reduces the set by adding centroid prototype of each class to reduced set.
|
absoluteAccuracy, absoluteAccuracyAndError, absoluteAccuracyKNN, accuracy, accuracy2, desordenar_vector_sin, desordenar_vector, execute, generateReducedDataSet, getResultingAccuracy, getResultingAccuracy, getResults, getResultsOfAccuracy, getResultsOfAccuracy, getSeed, getSetSizeFromPercentage, getSetSizeFromPercentage, getTime, inic_vector_sin, inic_vector, saveResultsOfAccuracyIn, saveResultsOfAccuracyIn, selecRandomSet, setSeed, showResultsOfAccuracy, showResultsOfAccuracy
public AVG(PrototypeSet _trainingDataSet)
_trainingDataSet
- Original training prototypes set.public AVG(PrototypeSet _trainingDataSet, Parameters param)
_trainingDataSet
- Original training prototypes set.param
- Parameters of the algorithm (random seed).public PrototypeSet reduceSet()
reduceSet
in class PrototypeGenerator
public static void main(java.lang.String[] args)
args
- Arguments of the main function.