uk.ac.ed.inf.enzml.mulan.learn
Class TrainTestExperimenter
java.lang.Object
uk.ac.ed.inf.enzml.Initialised
uk.ac.ed.inf.enzml.mulan.learn.MulanCrossExperimenter
uk.ac.ed.inf.enzml.mulan.learn.TrainTestExperimenter
- All Implemented Interfaces:
- Initialisable
- Direct Known Subclasses:
- TrainTestExperimenterSerialized
public class TrainTestExperimenter
- extends MulanCrossExperimenter
Using Mulan (multi-label machine learning), this class initialises and
executes Train-Test evaluation (two arff records are needed, for the training
and testing files) (calling MulanTrainTestEvaluator). Initialisation
includes verifying input (train arff, test arff and train xml files) and
checking output locations (for saving evaluation statistics and predictions
to file and database).
- Version:
- 29 Sep 2010
- Author:
- Luna De Ferrari luna.deferrari-at-ed.ac.uk
|
Constructor Summary |
TrainTestExperimenter(java.lang.String experimentPropsFile,
java.lang.String arffRecordDbProps,
int trainArffRecordId,
int testArffRecordId,
MulanLearner learner)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrainTestExperimenter
public TrainTestExperimenter(java.lang.String experimentPropsFile,
java.lang.String arffRecordDbProps,
int trainArffRecordId,
int testArffRecordId,
MulanLearner learner)
evaluateAndSave
public void evaluateAndSave()
getEvaluator
public TrainTestEvaluator getEvaluator()
- Overrides:
getEvaluator in class MulanCrossExperimenter
getTestArffRecord
public MulanArffRecord getTestArffRecord()