public class RnnSequenceClassifier extends Dl4jMlpClassifier implements weka.core.CapabilitiesHandler, weka.classifiers.Classifier, java.io.Serializable, weka.core.OptionHandler
FILTER_NONE, FILTER_NORMALIZE, FILTER_STANDARDIZE, TAGS_FILTER| Constructor and Description |
|---|
RnnSequenceClassifier() |
| Modifier and Type | Method and Description |
|---|---|
double[] |
distributionForInstance(weka.core.Instance instance)
The method to use when making a prediction for a test instance.
|
double[][] |
distributionsForInstances(weka.core.Instances insts)
The method to use when making predictions for test instances.
|
weka.core.Capabilities |
getCapabilities()
Returns default capabilities of the classifier.
|
int |
gettBPTTbackwardLength() |
int |
gettBPTTforwardLength() |
AbstractZooModel |
getZooModel()
Deprecated.
|
java.lang.String |
globalInfo()
.
|
void |
initializeClassifier(weka.core.Instances data)
The method used to initialize the classifier.
|
void |
settBPTTbackwardLength(int tBPTTbackwardLength) |
void |
settBPTTforwardLength(int tBPTTforwardLength) |
void |
setZooModel(AbstractZooModel zooModel)
Deprecated.
|
arithmeticUnderflow, buildClassifier, done, featurizeForLayer, getActivationsAtLayers, getActivationsAtLayers, getCacheMode, getDoNotClearFilesystemCache, getEarlyStopping, getFilterType, getInputShape, getInstanceIterator, getIterationListener, getLayers, getLoadLayerSpecification, getLogConfig, getModel, getModelName, getNeuralNetConfiguration, getNumEpochs, getNumGPUs, getParameterAveragingFrequency, getPrefetchBufferSize, getQueueSize, getResume, implementsMoreEfficientBatchPrediction, isFilterMode, isValidOutputLayer, loadInferenceModel, loadModel, loadZooModelNoData, main, next, outputSingle, setCacheMode, setDoNotClearFilesystemCache, setEarlyStopping, setFilterMode, setFilterType, setInstanceIterator, setIterationListener, setLayers, setLoadLayerSpecification, setLogConfig, setNeuralNetConfiguration, setNumEpochs, setNumGPUs, setParameterAveragingFrequency, setPrefetchBufferSize, setQueueSize, setResume, splitTrainVal, toString, tryLoadFromFile, useEarlyStopping, useZooModelgetOptions, getSeed, listOptions, seedTipText, setOptions, setSeedbatchSizeTipText, classifyInstance, debugTipText, doNotCheckCapabilitiesTipText, forName, getBatchSize, getDebug, getDoNotCheckCapabilities, getNumDecimalPlaces, getRevision, makeCopies, makeCopy, numDecimalPlacesTipText, postExecution, preExecution, run, runClassifier, setBatchSize, setDebug, setDoNotCheckCapabilities, setNumDecimalPlacesequals, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic void initializeClassifier(weka.core.Instances data)
throws java.lang.Exception
initializeClassifier in interface weka.classifiers.IterativeClassifierinitializeClassifier in class Dl4jMlpClassifierdata - set of instances serving as training datajava.lang.Exception - if something goes wrong in the training processpublic double[][] distributionsForInstances(weka.core.Instances insts)
throws java.lang.Exception
distributionsForInstances in interface weka.core.BatchPredictordistributionsForInstances in class Dl4jMlpClassifierinsts - the instances to get predictions forjava.lang.Exception - if something goes wrong at prediction timepublic double[] distributionForInstance(weka.core.Instance instance)
throws java.lang.Exception
Dl4jMlpClassifierdistributionForInstance in interface weka.classifiers.ClassifierdistributionForInstance in class Dl4jMlpClassifierinstance - the instance to get a prediction forjava.lang.Exception - if something goes wrong at prediction time@OptionMetadata(description="Number of backpropagations through time backward (default = 25).",
displayName="truncated backprop through time backward",
commandLineParamName="tBPTTBackward",
commandLineParamSynopsis="-tBPTTBackward <int>",
displayOrder=20)
public int gettBPTTbackwardLength()
public void settBPTTbackwardLength(int tBPTTbackwardLength)
@OptionMetadata(description="Number of backpropagations through time forward (default = 25).",
displayName="truncated backprop through time forward",
commandLineParamName="tBPTTForward",
commandLineParamSynopsis="-tBPTTForward <int>",
displayOrder=21)
public int gettBPTTforwardLength()
public void settBPTTforwardLength(int tBPTTforwardLength)
@Deprecated @ProgrammaticProperty public AbstractZooModel getZooModel()
Dl4jMlpClassifiergetZooModel in class Dl4jMlpClassifier@Deprecated @ProgrammaticProperty public void setZooModel(AbstractZooModel zooModel)
Dl4jMlpClassifiersetZooModel in class Dl4jMlpClassifierzooModel - The predefined zooModelpublic weka.core.Capabilities getCapabilities()
getCapabilities in interface weka.classifiers.ClassifiergetCapabilities in interface weka.core.CapabilitiesHandlergetCapabilities in class Dl4jMlpClassifierpublic java.lang.String globalInfo()
Dl4jMlpClassifierglobalInfo in class Dl4jMlpClassifier