public class NeuralNetwork extends PMMLClassifier
Constructor and Description |
---|
NeuralNetwork(org.w3c.dom.Element model,
Instances dataDictionary,
MiningSchema miningSchema) |
Modifier and Type | Method and Description |
---|---|
double[] |
distributionForInstance(Instance inst)
Classifies the given test instance.
|
java.lang.String |
getRevision()
Returns the revision string.
|
java.lang.String |
toString() |
buildClassifier, done, getCreatorApplication, getDataDictionary, getFieldsMappingString, getLog, getMiningSchema, getPMMLVersion, mapToMiningSchema, setCreatorApplication, setLog, setPMMLVersion
classifyInstance, debugTipText, forName, getCapabilities, getDebug, getOptions, listOptions, makeCopies, makeCopy, setDebug, setOptions
public NeuralNetwork(org.w3c.dom.Element model, Instances dataDictionary, MiningSchema miningSchema) throws java.lang.Exception
java.lang.Exception
public java.lang.String getRevision()
Classifier
getRevision
in interface RevisionHandler
getRevision
in class Classifier
public double[] distributionForInstance(Instance inst) throws java.lang.Exception
distributionForInstance
in class Classifier
inst
- the instance to be classifiedjava.lang.Exception
- if an error occurred during the predictionpublic java.lang.String toString()
toString
in class java.lang.Object