edu.cmu.minorthird.ui
Class OnlineLearner

java.lang.Object
  extended by edu.cmu.minorthird.ui.UIMain
      extended by edu.cmu.minorthird.ui.OnlineLearner
All Implemented Interfaces:
CommandLineProcessor.Configurable, Console.Task

public class OnlineLearner
extends UIMain

Start an Online Learner

Author:
Cameron Williams

Field Summary
protected  CommandLineUtil.OnlineBaseParams labeledData
           
 
Fields inherited from class edu.cmu.minorthird.ui.UIMain
base, gui, main, viewButton
 
Constructor Summary
OnlineLearner()
           
 
Method Summary
 void doMain()
          Do the main action, after setting all parameters.
 CommandLineUtil.OnlineBaseParams get_LabeledDataParameters()
           
 CommandLineUtil.TrainClassifierParams getAdditionalParameters()
           
 CommandLineProcessor getCLP()
          Produce a command-line processor that configures this object.
 java.lang.Object getMainResult()
          Return the result of the action.
 CommandLineUtil.OnlineSignalParams getSignalParameters()
           
 CommandLineUtil.TestClassifierParams getTextLearnerParameters()
           
static void main(java.lang.String[] args)
           
 void set_LabeledDataParameters(CommandLineUtil.OnlineBaseParams labeledData)
           
 void setAdditionalParameters(CommandLineUtil.TrainClassifierParams p)
           
 void setSignalParameters(CommandLineUtil.OnlineSignalParams p)
           
 void setTextLearnerParameters(CommandLineUtil.TestClassifierParams p)
           
 
Methods inherited from class edu.cmu.minorthird.ui.UIMain
callMain, getBaseParameters, getLabels, helloWorld, noLabelsMessage, setBaseParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

labeledData

protected CommandLineUtil.OnlineBaseParams labeledData
Constructor Detail

OnlineLearner

public OnlineLearner()
Method Detail

get_LabeledDataParameters

public CommandLineUtil.OnlineBaseParams get_LabeledDataParameters()

set_LabeledDataParameters

public void set_LabeledDataParameters(CommandLineUtil.OnlineBaseParams labeledData)

getSignalParameters

public CommandLineUtil.OnlineSignalParams getSignalParameters()

setSignalParameters

public void setSignalParameters(CommandLineUtil.OnlineSignalParams p)

getAdditionalParameters

public CommandLineUtil.TrainClassifierParams getAdditionalParameters()

setAdditionalParameters

public void setAdditionalParameters(CommandLineUtil.TrainClassifierParams p)

getTextLearnerParameters

public CommandLineUtil.TestClassifierParams getTextLearnerParameters()

setTextLearnerParameters

public void setTextLearnerParameters(CommandLineUtil.TestClassifierParams p)

getCLP

public CommandLineProcessor getCLP()
Description copied from interface: CommandLineProcessor.Configurable
Produce a command-line processor that configures this object.


doMain

public void doMain()
Description copied from class: UIMain
Do the main action, after setting all parameters.

Specified by:
doMain in interface Console.Task
Specified by:
doMain in class UIMain

getMainResult

public java.lang.Object getMainResult()
Description copied from class: UIMain
Return the result of the action.

Specified by:
getMainResult in interface Console.Task
Specified by:
getMainResult in class UIMain

main

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