public class NeuralNetwork extends PMMLClassifier
| Modifier and Type | Field and Description |
|---|---|
protected weka.classifiers.pmml.consumer.NeuralNetwork.ActivationFunction |
m_activationFunction
The activation function to use
|
protected double |
m_altitude
Altitude for radial basis
|
protected weka.classifiers.pmml.consumer.NeuralNetwork.MiningFunction |
m_functionType
The mining function
|
protected java.util.HashMap<java.lang.String,java.lang.Double> |
m_inputMap
A map for storing network input values (computed from an incoming instance)
|
protected weka.classifiers.pmml.consumer.NeuralNetwork.NeuralInput[] |
m_inputs
The inputs to the network
|
protected weka.classifiers.pmml.consumer.NeuralNetwork.NeuralLayer[] |
m_layers
The hidden layers in the network
|
protected weka.classifiers.pmml.consumer.NeuralNetwork.Normalization |
m_normalizationMethod
The normalization method
|
protected int |
m_numberOfInputs
The number of inputs to the network
|
protected int |
m_numberOfLayers
Number of hidden layers in the network
|
protected weka.classifiers.pmml.consumer.NeuralNetwork.NeuralOutputs |
m_outputs
The outputs of the network
|
protected double |
m_threshold
Threshold activation
|
protected double |
m_width
Width for radial basis
|
m_creatorApplication, m_dataDictionary, m_fieldsMap, m_initialized, m_log, m_miningSchema, m_pmmlVersionBATCH_SIZE_DEFAULT, m_BatchSize, m_Debug, m_DoNotCheckCapabilities, m_numDecimalPlaces, NUM_DECIMAL_PLACES_DEFAULT| 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, setPMMLVersionbatchSizeTipText, classifyInstance, debugTipText, distributionsForInstances, doNotCheckCapabilitiesTipText, forName, getBatchSize, getCapabilities, getDebug, getDoNotCheckCapabilities, getNumDecimalPlaces, getOptions, implementsMoreEfficientBatchPrediction, listOptions, makeCopies, makeCopy, numDecimalPlacesTipText, postExecution, preExecution, run, runClassifier, setBatchSize, setDebug, setDoNotCheckCapabilities, setNumDecimalPlaces, setOptionsprotected weka.classifiers.pmml.consumer.NeuralNetwork.MiningFunction m_functionType
protected weka.classifiers.pmml.consumer.NeuralNetwork.ActivationFunction m_activationFunction
protected weka.classifiers.pmml.consumer.NeuralNetwork.Normalization m_normalizationMethod
protected double m_threshold
protected double m_width
protected double m_altitude
protected int m_numberOfInputs
protected int m_numberOfLayers
protected weka.classifiers.pmml.consumer.NeuralNetwork.NeuralInput[] m_inputs
protected java.util.HashMap<java.lang.String,java.lang.Double> m_inputMap
protected weka.classifiers.pmml.consumer.NeuralNetwork.NeuralLayer[] m_layers
protected weka.classifiers.pmml.consumer.NeuralNetwork.NeuralOutputs m_outputs
public NeuralNetwork(org.w3c.dom.Element model,
Instances dataDictionary,
MiningSchema miningSchema)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getRevision()
AbstractClassifiergetRevision in interface RevisionHandlergetRevision in class AbstractClassifierpublic double[] distributionForInstance(Instance inst) throws java.lang.Exception
distributionForInstance in interface ClassifierdistributionForInstance in class AbstractClassifierinst - the instance to be classifiedjava.lang.Exception - if an error occurred during the predictionpublic java.lang.String toString()
toString in class java.lang.Object