org.neuroph.nnet
Class Hopfield
java.lang.Object
java.util.Observable
org.neuroph.core.NeuralNetwork
org.neuroph.nnet.Hopfield
- All Implemented Interfaces:
- Serializable
public class Hopfield
- extends NeuralNetwork
Hopfield neural network.
Notes: try to use [1, -1] activation levels, sgn as transfer function, or real numbers for activation
- Author:
- Zoran Sevarac
- See Also:
- Serialized Form
Constructor Summary |
Hopfield(int neuronsCount)
Creates new Hopfield network with specified neuron number |
Hopfield(int neuronsCount,
NeuronProperties neuronProperties)
Creates new Hopfield network with specified neuron number and neuron
properties |
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 |
Hopfield
public Hopfield(int neuronsCount)
- Creates new Hopfield network with specified neuron number
- Parameters:
neuronsCount
- neurons number in Hopfied network
Hopfield
public Hopfield(int neuronsCount,
NeuronProperties neuronProperties)
- Creates new Hopfield network with specified neuron number and neuron
properties
- Parameters:
neuronsCount
- neurons number in Hopfied networkneuronProperties
- neuron properties
Copyright © 2012. All Rights Reserved.