edu.cmu.minorthird.ui
Class CommandLineUtil.OnlineLearnerParams

java.lang.Object
  extended by edu.cmu.minorthird.util.BasicCommandLineProcessor
      extended by edu.cmu.minorthird.ui.CommandLineUtil.OnlineLearnerParams
All Implemented Interfaces:
CommandLineProcessor, Saveable
Enclosing class:
CommandLineUtil

public static class CommandLineUtil.OnlineLearnerParams
extends BasicCommandLineProcessor

Parameters for Adding Examples to a Online Classifier


Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.cmu.minorthird.util.CommandLineProcessor
CommandLineProcessor.Configurable
 
Field Summary
 MutableTextLabels data
           
 boolean experiment
           
 MonotonicTextLabels labels
           
 java.io.File loadFrom
           
 java.lang.String repositoryKey
           
 
Constructor Summary
CommandLineUtil.OnlineLearnerParams()
           
 
Method Summary
 void data(java.lang.String dirName)
           
 void experiment()
           
 java.lang.String getLabelsFilename()
           
 java.lang.String getLoadFrom()
           
 void loadFrom(java.lang.String s)
           
 void setLabelsFilename(java.lang.String name)
           
 void setLoadFrom(java.lang.String s)
           
 void usage()
          Override this to print a meaningful usage error.
 
Methods inherited from class edu.cmu.minorthird.util.BasicCommandLineProcessor
config, config, consumeArguments, getExtensionFor, getFormatNames, help, main, processArguments, propertyList, propertyValue, restore, saveAs, shouldTerminate, tryToGetCLP, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

public MutableTextLabels data

labels

public MonotonicTextLabels labels

repositoryKey

public java.lang.String repositoryKey

experiment

public boolean experiment

loadFrom

public java.io.File loadFrom
Constructor Detail

CommandLineUtil.OnlineLearnerParams

public CommandLineUtil.OnlineLearnerParams()
Method Detail

loadFrom

public void loadFrom(java.lang.String s)

data

public void data(java.lang.String dirName)

experiment

public void experiment()

usage

public void usage()
Description copied from class: BasicCommandLineProcessor
Override this to print a meaningful usage error. Default will list all commands other than 'usage', 'help', 'getX', and 'setX'.

Specified by:
usage in interface CommandLineProcessor
Overrides:
usage in class BasicCommandLineProcessor

getLoadFrom

public java.lang.String getLoadFrom()

setLoadFrom

public void setLoadFrom(java.lang.String s)

getLabelsFilename

public java.lang.String getLabelsFilename()

setLabelsFilename

public void setLabelsFilename(java.lang.String name)