org.neuroph.nnet
Class Perceptron
- java.lang.Object
-
- org.neuroph.core.NeuralNetwork
-
- org.neuroph.nnet.Perceptron
-
- All Implemented Interfaces:
- java.io.Serializable
public class Perceptron extends NeuralNetwork
Perceptron neural network with some LMS based learning algorithm.- See Also:
PerceptronLearning,BinaryDeltaRule,SigmoidDeltaRule, Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description Perceptron(int inputNeuronsCount, int outputNeuronsCount)Creates new Perceptron with specified number of neurons in input and output layer, with Step trqansfer functionPerceptron(int inputNeuronsCount, int outputNeuronsCount, TransferFunctionType transferFunctionType)Creates new Perceptron with specified number of neurons in input and output layer, and specified transfer function
-
Method Summary
-
Methods inherited from class org.neuroph.core.NeuralNetwork
addLayer, addLayer, addListener, addPlugin, calculate, createConnection, createFromFile, createFromFile, fireNetworkEvent, getInputNeurons, getInputsCount, getLabel, getLayerAt, getLayers, getLayersCount, getLearningRule, getNetworkType, getOutput, getOutputNeurons, getOutputsCount, getPlugin, getWeights, indexOf, isEmpty, learn, learn, load, load, pauseLearning, randomizeWeights, randomizeWeights, randomizeWeights, randomizeWeights, removeLayer, removeLayerAt, removeListener, removePlugin, reset, resumeLearning, save, setInput, setInputNeurons, setLabel, setLearningRule, setNetworkType, setOutputLabels, setOutputNeurons, setWeights, stopLearning, toString
-
-
-
-
Constructor Detail
-
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
-
-
DMelt 3.0 © DataMelt by jWork.ORG