org.cleartk.classifier.tksvmlight
Class DefaultOVATKSVMlightDataWriterFactory
java.lang.Object
org.cleartk.classifier.jar.DirectoryDataWriterFactory
org.cleartk.classifier.jar.EncodingDirectoryDataWriterFactory<ENCODED_FEATURES_TYPE,OUTCOME_TYPE,ENCODED_OUTCOME_TYPE>
org.cleartk.classifier.jar.DataWriterFactory_ImplBase<TreeFeatureVector,String,Integer>
org.cleartk.classifier.tksvmlight.DefaultOVATKSVMlightDataWriterFactory
- All Implemented Interfaces:
- org.cleartk.classifier.DataWriterFactory<String>, org.uimafit.factory.initializable.Initializable
Deprecated. Use DefaultDataWriterFactory with OVATKSVMlightDataWriter.
@Deprecated
public class DefaultOVATKSVMlightDataWriterFactory
- extends org.cleartk.classifier.jar.DataWriterFactory_ImplBase<TreeFeatureVector,String,Integer>
Copyright (c) 2009, Regents of the University of Colorado
All rights reserved.
- Version:
- 0.2.1
A Factory class for creating a one versus all tree kernel support vector model light
data writer.
It uses a TreeFeatureVector as it's feature vector which includes a SpareFeatureVector.
In addition it uses the following encoders for it's non tree features: NumberEncoder,
BooleanEncoder and StringEncoder. The default value for the cutoff is 5 (i.e. features
that occur less than this number of times over the entire training set will not be
encoded during testing). And it also uses a EuclideanNormalizer.
- Author:
- Daryl Lonnon
| Fields inherited from class org.cleartk.classifier.jar.EncodingDirectoryDataWriterFactory |
featuresEncoder, outcomeEncoder, PARAM_LOAD_ENCODERS_FROM_FILE_SYSTEM |
| Fields inherited from class org.cleartk.classifier.jar.DirectoryDataWriterFactory |
outputDirectory, PARAM_OUTPUT_DIRECTORY |
| Methods inherited from class org.cleartk.classifier.jar.EncodingDirectoryDataWriterFactory |
initialize, setEncodersFromFileSystem |
| Methods inherited from class org.cleartk.classifier.jar.DirectoryDataWriterFactory |
getOutputDirectory, setOutputDirectory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAM_CUTOFF
public static final String PARAM_CUTOFF
- Deprecated.
cutoff
protected int cutoff
- Deprecated.
DefaultOVATKSVMlightDataWriterFactory
public DefaultOVATKSVMlightDataWriterFactory()
- Deprecated.
createDataWriter
public org.cleartk.classifier.DataWriter<String> createDataWriter()
throws IOException
- Deprecated.
- Returns:
- A DataWriter templatized over Boolean which writes out the format expected by the Tree
Kernel SVM Light.
- Throws:
IOException
Copyright © 2013. All Rights Reserved.