public class Friedman
extends java.lang.Object
Constructor and Description |
---|
Friedman()
Builder
|
Modifier and Type | Method and Description |
---|---|
static void |
calcularROM(double alpha,
double[] vector,
double[] adjusted)
Computes ROM adjusted p-values
|
static double |
combinatoria(int m,
int n)
Computes the (N/M) combinatory number
|
java.lang.String |
printC(int n)
Prints as many "c" as desired
|
void |
runPostHoc(double code,
int[] nfold,
java.lang.String[] algorithms,
java.lang.String fileName,
int type)
In this method, all possible post hoc statistical test between more than three algorithms results
are executed, according to the configuration file
|
public void runPostHoc(double code, int[] nfold, java.lang.String[] algorithms, java.lang.String fileName, int type)
In this method, all possible post hoc statistical test between more than three algorithms results are executed, according to the configuration file
code
- A double that identifies which methods will be appliednfold
- A vector of int with fold number by algorithmalgorithms
- A vector of String with the names of the algorithmsfileName
- A String with the name of the output filetype
- Type of test to carry out
public static void calcularROM(double alpha, double[] vector, double[] adjusted)
alpha
- Alpha valuevector
- Array with the unadjusted p-valuesadjusted
- Array to store the p-valuespublic static double combinatoria(int m, int n)
n
- N valuem
- M valuepublic java.lang.String printC(int n)
n
- Number of "c" to print