edu.cmu.minorthird.classify
Class ClassifyCommandLineUtil.TrainTestParams

java.lang.Object
  extended by edu.cmu.minorthird.util.BasicCommandLineProcessor
      extended by edu.cmu.minorthird.classify.ClassifyCommandLineUtil.BaseParams
          extended by edu.cmu.minorthird.classify.ClassifyCommandLineUtil.TrainParams
              extended by edu.cmu.minorthird.classify.ClassifyCommandLineUtil.TrainTestParams
All Implemented Interfaces:
CommandLineProcessor, Saveable
Direct Known Subclasses:
ClassifyCommandLineUtil.MultiTrainTestParams, ClassifyCommandLineUtil.SeqTrainTestParams, ClassifyCommandLineUtil.SimpleTrainTestParams
Enclosing class:
ClassifyCommandLineUtil

public static class ClassifyCommandLineUtil.TrainTestParams
extends ClassifyCommandLineUtil.TrainParams

Paramters for TrainTest Classifier. These parameters are only used for the Command Line. They interact with Simple, Multi, and SeqTrainTestParams once type is defined. NOTE: type must be defined first in order for command line to work properly. Default type is simple. There are no GUI parameters because this is never used for the gui.


Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.cmu.minorthird.util.CommandLineProcessor
CommandLineProcessor.Configurable
 
Field Summary
 ClassifyCommandLineUtil.BaseParams base
           
 ClassifyCommandLineUtil.Learner.ClassifierLearner clsLnr
           
 ClassifyCommandLineUtil.Learner lnr
           
 java.lang.Object resultToSave
           
 java.lang.Object resultToShow
           
 ClassifyCommandLineUtil.Learner.SequentialLearner seqLnr
           
 Splitter<Example[]> sequenceSplitter
           
 Splitter<Example> splitter
           
 Dataset testData
           
 java.lang.String testDataFilename
           
static ClassifyCommandLineUtil.TrainTestParams type
           
 java.lang.String typeString
           
 
Fields inherited from class edu.cmu.minorthird.classify.ClassifyCommandLineUtil.TrainParams
crossDim, multi, op, trainData, trainDataFilename
 
Fields inherited from class edu.cmu.minorthird.classify.ClassifyCommandLineUtil.BaseParams
saveAs, saveAsFilename, showData, showResult, showTestDetails
 
Constructor Summary
ClassifyCommandLineUtil.TrainTestParams()
           
 
Method Summary
 void cross()
           
 void data(java.lang.String s)
           
 Dataset getTrainData()
           
 void learner(java.lang.String s)
           
 void multi(java.lang.String dim)
           
 void saveAs(java.lang.String s)
           
 void showData()
           
 void showResult()
           
 void showTestDetails()
           
 void splitter(java.lang.String s)
           
 void test(java.lang.String s)
           
 void type(java.lang.String s)
           
 
Methods inherited from class edu.cmu.minorthird.classify.ClassifyCommandLineUtil.BaseParams
getSaveAsFilename, getSaveAsFilenameHelp, getShowData, getShowDataHelp, getShowTestDetails, getShowTestDetailsHelp, other, setSaveAsFilename, setShowData, setShowTestDetails
 
Methods inherited from class edu.cmu.minorthird.util.BasicCommandLineProcessor
config, config, consumeArguments, getExtensionFor, getFormatNames, help, main, processArguments, propertyList, propertyValue, restore, saveAs, shouldTerminate, tryToGetCLP, usage, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

testData

public Dataset testData

testDataFilename

public java.lang.String testDataFilename

resultToShow

public java.lang.Object resultToShow

resultToSave

public java.lang.Object resultToSave

base

public ClassifyCommandLineUtil.BaseParams base

splitter

public Splitter<Example> splitter

sequenceSplitter

public Splitter<Example[]> sequenceSplitter

type

public static ClassifyCommandLineUtil.TrainTestParams type

seqLnr

public ClassifyCommandLineUtil.Learner.SequentialLearner seqLnr

clsLnr

public ClassifyCommandLineUtil.Learner.ClassifierLearner clsLnr

lnr

public ClassifyCommandLineUtil.Learner lnr

typeString

public java.lang.String typeString
Constructor Detail

ClassifyCommandLineUtil.TrainTestParams

public ClassifyCommandLineUtil.TrainTestParams()
Method Detail

type

public void type(java.lang.String s)
Overrides:
type in class ClassifyCommandLineUtil.TrainParams

getTrainData

public Dataset getTrainData()

data

public void data(java.lang.String s)
Overrides:
data in class ClassifyCommandLineUtil.TrainParams

test

public void test(java.lang.String s)

splitter

public void splitter(java.lang.String s)

learner

public void learner(java.lang.String s)
Overrides:
learner in class ClassifyCommandLineUtil.TrainParams

multi

public void multi(java.lang.String dim)
Overrides:
multi in class ClassifyCommandLineUtil.TrainParams

cross

public void cross()
Overrides:
cross in class ClassifyCommandLineUtil.TrainParams

saveAs

public void saveAs(java.lang.String s)
Overrides:
saveAs in class ClassifyCommandLineUtil.TrainParams

showData

public void showData()
Overrides:
showData in class ClassifyCommandLineUtil.TrainParams

showResult

public void showResult()
Overrides:
showResult in class ClassifyCommandLineUtil.TrainParams

showTestDetails

public void showTestDetails()
Overrides:
showTestDetails in class ClassifyCommandLineUtil.TrainParams