@Beta public abstract class TreeKernelSvmBooleanOutcomeDataWriter extends DataWriter_ImplBase<TreeKernelSvmBooleanOutcomeClassifierBuilder<TreeKernelSvmBooleanOutcomeClassifier>,TreeFeatureVector,Boolean,Boolean>
trainingDataFile, trainingDataWriterclassifierBuilder, outputDirectory| Constructor and Description |
|---|
TreeKernelSvmBooleanOutcomeDataWriter(File outputDirectory) |
| Modifier and Type | Method and Description |
|---|---|
static String |
createString(TreeFeatureVector features)
creates and formats a string (without the outcome) for a specific feature vector.
|
void |
writeEncoded(TreeFeatureVector features,
Boolean outcome)
Write a line representing the feature vector with the appropriate outcome to be used by the
tk_svm_classify command.
|
writefinish, setFeaturesEncoder, setOutcomeEncodergetClassifierBuilder, newClassifierBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinishpublic TreeKernelSvmBooleanOutcomeDataWriter(File outputDirectory) throws FileNotFoundException
FileNotFoundExceptionpublic static String createString(TreeFeatureVector features) throws CleartkProcessingException
features - The features to write into a string format.CleartkProcessingExceptionpublic void writeEncoded(TreeFeatureVector features, Boolean outcome) throws CleartkProcessingException
writeEncoded in class DataWriter_ImplBase<TreeKernelSvmBooleanOutcomeClassifierBuilder<TreeKernelSvmBooleanOutcomeClassifier>,TreeFeatureVector,Boolean,Boolean>features - The feature vector to be written.outcome - The correct classification for that feature vector.CleartkProcessingExceptionCopyright © 2014. All rights reserved.