@Beta public class KerasStringOutcomeDataWriter extends ScriptStringFeatureDataWriter<KerasStringOutcomeClassifierBuilder>
dir, PARAM_SCRIPT_DIR
Constructor and Description |
---|
KerasStringOutcomeDataWriter(File outputDirectory) |
Modifier and Type | Method and Description |
---|---|
protected KerasStringOutcomeClassifierBuilder |
newClassifierBuilder() |
protected void |
writeEncoded(org.cleartk.ml.util.featurevector.FeatureVector features,
Integer outcome) |
initialize, write
finish, setFeaturesEncoder, setOutcomeEncoder
public KerasStringOutcomeDataWriter(File outputDirectory) throws FileNotFoundException
FileNotFoundException
protected KerasStringOutcomeClassifierBuilder newClassifierBuilder()
newClassifierBuilder
in class org.cleartk.ml.jar.DirectoryDataWriter<KerasStringOutcomeClassifierBuilder,org.cleartk.ml.Classifier<String>>
protected void writeEncoded(org.cleartk.ml.util.featurevector.FeatureVector features, Integer outcome) throws org.cleartk.ml.CleartkProcessingException
writeEncoded
in class org.cleartk.ml.jar.DataWriter_ImplBase<KerasStringOutcomeClassifierBuilder,org.cleartk.ml.util.featurevector.FeatureVector,String,Integer>
org.cleartk.ml.CleartkProcessingException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.