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 HashMap<String,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_pmmlVersion
m_Debug
Constructor and Description |
---|
NeuralNetwork(Element model,
Instances dataDictionary,
MiningSchema miningSchema) |
Modifier and Type | Method and Description |
---|---|
double[] |
distributionForInstance(Instance inst)
Classifies the given test instance.
|
String |
getRevision()
Returns the revision string.
|
String |
toString() |
buildClassifier, done, getCreatorApplication, getDataDictionary, getFieldsMappingString, getLog, getMiningSchema, getPMMLVersion, mapToMiningSchema, setCreatorApplication, setLog, setPMMLVersion
classifyInstance, debugTipText, forName, getCapabilities, getDebug, getOptions, listOptions, makeCopies, makeCopy, runClassifier, setDebug, setOptions
protected 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 HashMap<String,Double> m_inputMap
protected weka.classifiers.pmml.consumer.NeuralNetwork.NeuralLayer[] m_layers
protected weka.classifiers.pmml.consumer.NeuralNetwork.NeuralOutputs m_outputs
public NeuralNetwork(Element model, Instances dataDictionary, MiningSchema miningSchema) throws Exception
Exception
public String getRevision()
Classifier
getRevision
in interface RevisionHandler
getRevision
in class Classifier
public double[] distributionForInstance(Instance inst) throws Exception
distributionForInstance
in class Classifier
inst
- the instance to be classifiedException
- if an error occurred during the predictionCopyright © 2015 University of Waikato, Hamilton, NZ. All rights reserved.