edu.cmu.minorthird.classify
Class ClassifyCommandLineUtil.TrainParams

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
All Implemented Interfaces:
CommandLineProcessor, Saveable
Direct Known Subclasses:
ClassifyCommandLineUtil.MultiTrainParams, ClassifyCommandLineUtil.SeqTrainParams, ClassifyCommandLineUtil.SimpleTrainParams, ClassifyCommandLineUtil.TrainTestParams
Enclosing class:
ClassifyCommandLineUtil

public static class ClassifyCommandLineUtil.TrainParams
extends ClassifyCommandLineUtil.BaseParams

Parameters for training. Common options defined and different options defined in type classes


Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.cmu.minorthird.util.CommandLineProcessor
CommandLineProcessor.Configurable
 
Field Summary
 ClassifyCommandLineUtil.Learner.ClassifierLearner clsLnr
           
 boolean crossDim
           
 ClassifyCommandLineUtil.Learner lnr
           
 int multi
           
 java.lang.String op
           
 ClassifyCommandLineUtil.Learner.SequentialLearner seqLnr
           
 Dataset trainData
           
 java.lang.String trainDataFilename
           
static ClassifyCommandLineUtil.TrainParams type
           
 java.lang.String typeString
           
 
Fields inherited from class edu.cmu.minorthird.classify.ClassifyCommandLineUtil.BaseParams
resultToSave, resultToShow, saveAs, saveAsFilename, showData, showResult, showTestDetails
 
Constructor Summary
ClassifyCommandLineUtil.TrainParams()
           
 
Method Summary
 void cross()
           
 void data(java.lang.String s)
           
 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 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

op

public java.lang.String op

trainData

public Dataset trainData

trainDataFilename

public java.lang.String trainDataFilename

seqLnr

public ClassifyCommandLineUtil.Learner.SequentialLearner seqLnr

clsLnr

public ClassifyCommandLineUtil.Learner.ClassifierLearner clsLnr

lnr

public ClassifyCommandLineUtil.Learner lnr

typeString

public java.lang.String typeString

type

public static ClassifyCommandLineUtil.TrainParams type

multi

public int multi

crossDim

public boolean crossDim
Constructor Detail

ClassifyCommandLineUtil.TrainParams

public ClassifyCommandLineUtil.TrainParams()
Method Detail

type

public void type(java.lang.String s)

multi

public void multi(java.lang.String dim)

cross

public void cross()

data

public void data(java.lang.String s)

learner

public void learner(java.lang.String s)

saveAs

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

showData

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

showResult

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

showTestDetails

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