org.jpmml.manager
Class NeuralNetworkManager

java.lang.Object
  extended by org.jpmml.manager.PMMLManager
      extended by org.jpmml.manager.ModelManager<NeuralNetwork>
          extended by org.jpmml.manager.NeuralNetworkManager
All Implemented Interfaces:
Consumer

public class NeuralNetworkManager
extends ModelManager<NeuralNetwork>


Constructor Summary
NeuralNetworkManager()
           
NeuralNetworkManager(PMML pmml)
           
NeuralNetworkManager(PMML pmml, NeuralNetwork neuralNetwork)
           
 
Method Summary
static void addConnection(NeuralInput from, Neuron to, double weight)
           
static void addConnection(Neuron from, Neuron to, double weight)
           
 NeuralInput addNeuralInput(NormContinuous normContinuous)
           
 NeuralLayer addNeuralLayer()
           
 NeuralOutput addNeuralOutput(Neuron neuron, NormContinuous normCountinuous)
           
 Neuron addNeuron(NeuralLayer neuralLayer, Double bias)
           
 NeuralNetwork createModel(MiningFunctionType miningFunction, ActivationFunctionType activationFunction)
           
 NeuralNetwork getModel()
           
 List<NeuralInput> getNeuralInputs()
           
 List<NeuralLayer> getNeuralLayers()
           
 int getNeuronCount()
           
 List<NeuralOutput> getOrCreateNeuralOutputs()
           
 String getSummary()
          Returns a short description of the underlying Model
 
Methods inherited from class org.jpmml.manager.ModelManager
addField, addMiningField, ensureNotNull, ensureNull, getActiveFields, getMiningField, getMiningFields, getMiningSchema, getOrCreateLocalTransformations, getOrCreateOutput, getOutputField, getOutputFields, getPredictedFields, getTarget, resolve
 
Methods inherited from class org.jpmml.manager.PMMLManager
addDataField, find, find, findAll, getDataDictionary, getDataField, getHeader, getModel, getModelManager, getModelManager, getModels, getOrCreateTransformationDictionary, getPmml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jpmml.manager.Consumer
getDataField
 

Constructor Detail

NeuralNetworkManager

public NeuralNetworkManager()

NeuralNetworkManager

public NeuralNetworkManager(PMML pmml)

NeuralNetworkManager

public NeuralNetworkManager(PMML pmml,
                            NeuralNetwork neuralNetwork)
Method Detail

getSummary

public String getSummary()
Description copied from interface: Consumer
Returns a short description of the underlying Model


getModel

public NeuralNetwork getModel()
Specified by:
getModel in class ModelManager<NeuralNetwork>

createModel

public NeuralNetwork createModel(MiningFunctionType miningFunction,
                                 ActivationFunctionType activationFunction)
Throws:
ModelManagerException - If the Model already exists
See Also:
getModel()

getNeuralInputs

public List<NeuralInput> getNeuralInputs()

addNeuralInput

public NeuralInput addNeuralInput(NormContinuous normContinuous)

getNeuralLayers

public List<NeuralLayer> getNeuralLayers()

addNeuralLayer

public NeuralLayer addNeuralLayer()

getNeuronCount

public int getNeuronCount()

addNeuron

public Neuron addNeuron(NeuralLayer neuralLayer,
                        Double bias)

addConnection

public static void addConnection(NeuralInput from,
                                 Neuron to,
                                 double weight)

addConnection

public static void addConnection(Neuron from,
                                 Neuron to,
                                 double weight)

getOrCreateNeuralOutputs

public List<NeuralOutput> getOrCreateNeuralOutputs()

addNeuralOutput

public NeuralOutput addNeuralOutput(Neuron neuron,
                                    NormContinuous normCountinuous)


Copyright © 2013 University of Tartu. All Rights Reserved.