uk.ac.ed.inf.enzml.mulan.learn.traintest
Class TrainTestFullRun

java.lang.Object
  extended by uk.ac.ed.inf.enzml.mulan.learn.traintest.TrainTestFullRun

public class TrainTestFullRun
extends java.lang.Object

Runs a full train/test evaluation: 1. generate the ARFF file for training and the (old) file for testing 2. filter the (old) test arff file by the train file 3. generate a .model file containing the serialised classifier trained on the train arff 4. train on the train arff and test on the (new, filtered) test arff

Version:
28 Mar 2011
Author:
Luna De Ferrari luna.deferrari-at-ed.ac.uk

Constructor Summary
TrainTestFullRun()
           
 
Method Summary
static void fullRun()
          Executes: 1.
static void main(java.lang.String[] args)
           
static void run2_3()
          Executes 2.
static void run3()
          When files and trained model are already available, it executes exclusively the train-test evaluation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrainTestFullRun

public TrainTestFullRun()
Method Detail

fullRun

public static void fullRun()
Executes: 1. filtering the test file by the train file, 2. model training and serialisation, 3. train-test evaluation


main

public static void main(java.lang.String[] args)

run2_3

public static void run2_3()
Executes 2. model training and serialisation, and 3. train-test evaluation (but not filtering the test file by the train file, that must already be available by id)


run3

public static void run3()
When files and trained model are already available, it executes exclusively the train-test evaluation