org.neuroph.nnet
Class Perceptron
java.lang.Object
java.util.Observable
org.neuroph.core.NeuralNetwork
org.neuroph.nnet.Perceptron
- All Implemented Interfaces:
- Serializable
public class Perceptron
- extends NeuralNetwork
Perceptron neural network with some LMS based learning algorithm.
- Author:
- Zoran Sevarac
- See Also:
PerceptronLearning
,
BinaryDeltaRule
,
SigmoidDeltaRule
,
Serialized Form
Constructor Summary |
Perceptron(int inputNeuronsCount,
int outputNeuronsCount)
Creates new Perceptron with specified number of neurons in input and
output layer, with Step trqansfer function |
Perceptron(int inputNeuronsCount,
int outputNeuronsCount,
TransferFunctionType transferFunctionType)
Creates new Perceptron with specified number of neurons in input and
output layer, and specified transfer function |
Methods inherited from class org.neuroph.core.NeuralNetwork |
addLayer, addLayer, addPlugin, calculate, createConnection, getInputNeurons, getInputsCount, getLabel, getLayerAt, getLayers, getLayersCount, getLearningRule, getLearningThread, getNetworkType, getOutput, getOutputNeurons, getOutputsCount, getPlugin, indexOf, learn, learn, learnInNewThread, learnInNewThread, load, load, notifyChange, pauseLearning, randomizeWeights, randomizeWeights, randomizeWeights, randomizeWeights, removeLayer, removeLayerAt, removePlugin, reset, resumeLearning, save, setInput, setInputNeurons, setLabel, setLearningRule, setNetworkType, setOutputNeurons, stopLearning, toString |
Perceptron
public Perceptron(int inputNeuronsCount,
int outputNeuronsCount)
- Creates new Perceptron with specified number of neurons in input and
output layer, with Step trqansfer function
- Parameters:
inputNeuronsCount
- number of neurons in input layeroutputNeuronsCount
- number of neurons in output layer
Perceptron
public Perceptron(int inputNeuronsCount,
int outputNeuronsCount,
TransferFunctionType transferFunctionType)
- Creates new Perceptron with specified number of neurons in input and
output layer, and specified transfer function
- Parameters:
inputNeuronsCount
- number of neurons in input layeroutputNeuronsCount
- number of neurons in output layertransferFunctionType
- transfer function type
Copyright © 2012. All Rights Reserved.