edu.cmu.minorthird.classify
Class UI.DataClassificationTask

java.lang.Object
  extended by edu.cmu.minorthird.classify.UI.DataClassificationTask
All Implemented Interfaces:
CommandLineProcessor.Configurable, Console.Task
Enclosing class:
UI

public static class UI.DataClassificationTask
extends java.lang.Object
implements CommandLineProcessor.Configurable, Console.Task


Nested Class Summary
protected  class UI.DataClassificationTask.GUIParams
           
 
Field Summary
 Console.Task main
           
 java.lang.Object resultToShow
           
 boolean useGUI
           
 
Constructor Summary
UI.DataClassificationTask()
           
 
Method Summary
 MultiDataset annotateData(MultiClassifier multiClassifier, MultiDataset md)
           
 void callMain(java.lang.String[] args)
           
 void doMain()
           
 CommandLineProcessor getCLP()
          Produce a command-line processor that configures this object.
 java.lang.String getDatasetFilename()
           
 boolean getLabels()
          Returns whether base.labels exits
 java.lang.Object getMainResult()
           
 ClassifyCommandLineUtil.TrainTestParams getTrainTestParameters()
           
 void setTrainTestParameters(ClassifyCommandLineUtil.TrainTestParams p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resultToShow

public java.lang.Object resultToShow

useGUI

public boolean useGUI

main

public Console.Task main
Constructor Detail

UI.DataClassificationTask

public UI.DataClassificationTask()
Method Detail

getTrainTestParameters

public ClassifyCommandLineUtil.TrainTestParams getTrainTestParameters()

setTrainTestParameters

public void setTrainTestParameters(ClassifyCommandLineUtil.TrainTestParams p)

getDatasetFilename

public java.lang.String getDatasetFilename()

getCLP

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

Specified by:
getCLP in interface CommandLineProcessor.Configurable

getLabels

public boolean getLabels()
Returns whether base.labels exits

Specified by:
getLabels in interface Console.Task

annotateData

public MultiDataset annotateData(MultiClassifier multiClassifier,
                                 MultiDataset md)

doMain

public void doMain()
Specified by:
doMain in interface Console.Task

getMainResult

public java.lang.Object getMainResult()
Specified by:
getMainResult in interface Console.Task

callMain

public void callMain(java.lang.String[] args)