edu.cmu.minorthird.ui
Class TrainTestMultiClassifier

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

public class TrainTestMultiClassifier
extends UIMain

Do a train/test experiment on a text classifier for data with multiple labels.

Author:
Cameron Williams

Field Summary
protected  java.lang.Object result
           
protected  CommandLineUtil.SaveParams save
           
protected  CommandLineUtil.MultiClassificationSignalParams signal
           
protected  CommandLineUtil.TrainClassifierParams train
           
protected  CommandLineUtil.SplitterParams trainTest
           
 
Fields inherited from class edu.cmu.minorthird.ui.UIMain
base, gui, main, viewButton
 
Constructor Summary
TrainTestMultiClassifier()
           
 
Method Summary
 void doMain()
          Do the main action, after setting all parameters.
 CommandLineProcessor getCLP()
          Produce a command-line processor that configures this object.
 java.lang.Object getMainResult()
          Return the result of the action.
 CommandLineUtil.SaveParams getSaveParameters()
           
 CommandLineUtil.MultiClassificationSignalParams getSignalParameters()
           
 CommandLineUtil.SplitterParams getSplitterParameters()
           
 CommandLineUtil.TrainClassifierParams getTrainingParameters()
           
static void main(java.lang.String[] args)
           
 void setSaveParameters(CommandLineUtil.SaveParams base)
           
 void setSignalParameters(CommandLineUtil.MultiClassificationSignalParams base)
           
 void setSplitterParameters(CommandLineUtil.SplitterParams trainTest)
           
 void setTrainingParameters(CommandLineUtil.TrainClassifierParams train)
           
 
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

save

protected CommandLineUtil.SaveParams save

signal

protected CommandLineUtil.MultiClassificationSignalParams signal

train

protected CommandLineUtil.TrainClassifierParams train

trainTest

protected CommandLineUtil.SplitterParams trainTest

result

protected java.lang.Object result
Constructor Detail

TrainTestMultiClassifier

public TrainTestMultiClassifier()
Method Detail

getSaveParameters

public CommandLineUtil.SaveParams getSaveParameters()

setSaveParameters

public void setSaveParameters(CommandLineUtil.SaveParams base)

getSignalParameters

public CommandLineUtil.MultiClassificationSignalParams getSignalParameters()

setSignalParameters

public void setSignalParameters(CommandLineUtil.MultiClassificationSignalParams base)

getTrainingParameters

public CommandLineUtil.TrainClassifierParams getTrainingParameters()

setTrainingParameters

public void setTrainingParameters(CommandLineUtil.TrainClassifierParams train)

getSplitterParameters

public CommandLineUtil.SplitterParams getSplitterParameters()

setSplitterParameters

public void setSplitterParameters(CommandLineUtil.SplitterParams trainTest)

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)