edu.cmu.minorthird.classify
Class TrainTest.DataClassificationTask

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

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


Nested Class Summary
protected  class TrainTest.DataClassificationTask.GUIParams
           
 
Field Summary
 Console.Task main
           
 java.lang.Object resultToShow
           
 boolean useGUI
           
 
Constructor Summary
TrainTest.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()
           
 java.lang.String getTrainTestParamsHelp()
           
 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

TrainTest.DataClassificationTask

public TrainTest.DataClassificationTask()
Method Detail

getTrainTestParameters

public ClassifyCommandLineUtil.TrainTestParams getTrainTestParameters()

setTrainTestParameters

public void setTrainTestParameters(ClassifyCommandLineUtil.TrainTestParams p)

getTrainTestParamsHelp

public java.lang.String getTrainTestParamsHelp()

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)