Exemplo n.º 1
0
  /**
   * This method reads a configuration file and calls statisticalTest with appropriate values to run
   * the Mann Whitney U test for classification problems, defined in StatTest class
   *
   * @param args A string that contains the command line arguments
   */
  public static void main(String args[]) {

    boolean tty = false;
    ProcessConfig pc = new ProcessConfig();
    System.out.println("Reading configuration file: " + args[0]);
    if (pc.fileProcess(args[0]) < 0) return;
    int algorithm = pc.parAlgorithmType;
    rand = new Randomize();
    rand.setSeed(pc.parSeed);

    ParseFileList pl = new ParseFileList();
    pl.statisticalTest(StatTest.MannWhitneyC, tty, pc);
  }
Exemplo n.º 2
0
  /**
   * Main method
   *
   * @param args Arguments of the program
   */
  public static void main(String args[]) {

    boolean tty = false;
    ProcessConfig pc = new ProcessConfig();
    System.out.println("Reading configuration file: " + args[0]);
    if (pc.fileProcess(args[0]) < 0) {
      return;
    }

    ParseFileList pl = new ParseFileList();

    pl.statisticalTest(StatTest.MultipleR, tty, pc);
  } // end-method