@Beta public class KerasStringOutcomeClassifierBuilder extends ScriptStringOutcomeClassifierBuilder<ScriptStringOutcomeClassifier>
logger, modelDir, SCRIPT_DIR_PARAM, scriptDir
Constructor and Description |
---|
KerasStringOutcomeClassifierBuilder() |
Modifier and Type | Method and Description |
---|---|
protected KerasStringOutcomeClassifier |
newClassifier() |
void |
packageClassifier(File dir,
JarOutputStream modelStream) |
protected void |
unpackageClassifier(JarInputStream modelStream) |
extractFileToDir, getTrainingDataFile, setScriptDirectory, trainClassifier
getEncodersFile, getFeaturesEncoder, getOutcomeEncoder, saveToTrainingDirectory, setFeaturesEncoder, setOutcomeEncoder
public void packageClassifier(File dir, JarOutputStream modelStream) throws IOException
packageClassifier
in class org.cleartk.ml.jar.EncodingJarClassifierBuilder<ScriptStringOutcomeClassifier,org.cleartk.ml.util.featurevector.FeatureVector,String,Integer>
IOException
protected void unpackageClassifier(JarInputStream modelStream) throws IOException
unpackageClassifier
in class org.cleartk.ml.jar.EncodingJarClassifierBuilder<ScriptStringOutcomeClassifier,org.cleartk.ml.util.featurevector.FeatureVector,String,Integer>
IOException
protected KerasStringOutcomeClassifier newClassifier()
newClassifier
in class org.cleartk.ml.jar.JarClassifierBuilder<ScriptStringOutcomeClassifier>
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.