autoweka
Class ExperimentBatch

java.lang.Object
  extended by autoweka.XmlSerializable
      extended by autoweka.ExperimentBatch

public class ExperimentBatch
extends XmlSerializable

Helpful XML class that easily allows for the creation of multiple experiments. It's also easier to use this to make a batch of 1 than it is to specify everything on the command line to the ExperimentConstructor


Nested Class Summary
static class ExperimentBatch.DatasetComponent
          Enscapsulates a dataset that you want to run experiments on
static class ExperimentBatch.ExperimentComponent
          Captures all the settings of an experiment that are not related to a dataset
 
Field Summary
 java.util.List<ExperimentBatch.DatasetComponent> mDatasets
          The list of datasets in this batch
 java.util.List<ExperimentBatch.ExperimentComponent> mExperiments
          The list of experiment prototypes in this batch
 
Constructor Summary
ExperimentBatch()
           
 
Method Summary
static Experiment createExperiment(ExperimentBatch.ExperimentComponent expComp, ExperimentBatch.DatasetComponent datasetComp)
          Builds an Experiment from an ExperimentComponent and a DatasetComponent
static ExperimentBatch fromXML(java.io.InputStream xml)
           
static ExperimentBatch fromXML(java.lang.String filename)
           
static void main(java.lang.String[] args)
          Makes an empty batch file that you can fill in with stuff
 
Methods inherited from class autoweka.XmlSerializable
fromXML, fromXML, populateObjectFromCMDParams, populateObjectFromCMDParams, toXML, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mDatasets

public java.util.List<ExperimentBatch.DatasetComponent> mDatasets
The list of datasets in this batch


mExperiments

public java.util.List<ExperimentBatch.ExperimentComponent> mExperiments
The list of experiment prototypes in this batch

Constructor Detail

ExperimentBatch

public ExperimentBatch()
Method Detail

fromXML

public static ExperimentBatch fromXML(java.lang.String filename)

fromXML

public static ExperimentBatch fromXML(java.io.InputStream xml)

createExperiment

public static Experiment createExperiment(ExperimentBatch.ExperimentComponent expComp,
                                          ExperimentBatch.DatasetComponent datasetComp)
Builds an Experiment from an ExperimentComponent and a DatasetComponent


main

public static void main(java.lang.String[] args)
Makes an empty batch file that you can fill in with stuff