public class Parameters
extends java.lang.Object
Main class to parse the parameters of the algorithm
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
algorithmName
Algorithm name.
|
static boolean[][] |
correctlyLabeled
If the instances are correctly labaled.
|
static java.lang.String |
filterType
Filter used.
|
static int |
k_value
Number of nearest neighbours considered.
|
static java.io.PrintWriter |
LOG_OUT
Printer.
|
static java.lang.String |
logOutputFile
Log information output file.
|
static int |
NUM_ALGORITHMS
Number of algorithms considered.
|
static int |
numAttributes
Number of attributes.
|
static int |
numClasses
Number of classes.
|
static int |
numInstances
Number of instances.
|
static int |
numPartitions
Number of partitions.
|
static java.lang.String |
option
Option string.
|
static long |
seed
Seed for random purposes.
|
static java.lang.String |
testInputFile
Original Test data filename.
|
static java.lang.String |
testOutputFile
Modified Training data filename.
|
static double |
threshold
Threshold value.
|
static java.lang.String |
trainInputFile
Original Training data filename.
|
static java.lang.String |
trainOutputFile
Modified Training data filename.
|
static boolean |
use_C45
If the C4.5 is used.
|
static boolean |
use_KNN
If the KNN is used.
|
static boolean |
use_LOG
If the LOG is used.
|
static boolean |
use_SVM
If the SVM is used.
|
Constructor and Description |
---|
Parameters() |
Modifier and Type | Method and Description |
---|---|
static void |
doParse(java.lang.String fileName)
It parses the parameters of the algorithm
|
public static java.lang.String algorithmName
public static java.lang.String trainInputFile
public static java.lang.String testInputFile
public static java.lang.String trainOutputFile
public static java.lang.String testOutputFile
public static java.lang.String logOutputFile
public static int numClasses
public static int numAttributes
public static int numInstances
public static long seed
public static int numPartitions
public static java.lang.String filterType
public static int k_value
public static boolean use_C45
public static boolean use_KNN
public static boolean use_SVM
public static boolean use_LOG
public static java.lang.String option
public static double threshold
public static int NUM_ALGORITHMS
public static boolean[][] correctlyLabeled
public static java.io.PrintWriter LOG_OUT