edu.cmu.minorthird.classify
Class Train.DataClassificationTask
java.lang.Object
edu.cmu.minorthird.classify.Train.DataClassificationTask
- All Implemented Interfaces:
- CommandLineProcessor.Configurable, Console.Task
- Enclosing class:
- Train
public static class Train.DataClassificationTask
- extends java.lang.Object
- implements CommandLineProcessor.Configurable, Console.Task
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resultToShow
public java.lang.Object resultToShow
useGUI
public boolean useGUI
main
public Console.Task main
Train.DataClassificationTask
public Train.DataClassificationTask()
getTrainParams
public ClassifyCommandLineUtil.TrainParams getTrainParams()
setTrainParams
public void setTrainParams(ClassifyCommandLineUtil.TrainParams train)
getTrainParamsHelp
public java.lang.String getTrainParamsHelp()
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(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)