edu.cmu.minorthird.classify
Class ClassifyCommandLineUtil.TrainTestParams
java.lang.Object
edu.cmu.minorthird.util.BasicCommandLineProcessor
edu.cmu.minorthird.classify.ClassifyCommandLineUtil.BaseParams
edu.cmu.minorthird.classify.ClassifyCommandLineUtil.TrainParams
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.
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 |
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
ClassifyCommandLineUtil.TrainTestParams
public ClassifyCommandLineUtil.TrainTestParams()
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