|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neuroph.util.NeuralNetworkFactory
public class NeuralNetworkFactory
Provides methods to create various neural networks.
Constructor Summary | |
---|---|
NeuralNetworkFactory()
|
Method Summary | |
---|---|
static Adaline |
createAdaline(int inputsCount)
Creates and returns a new instance of Adaline network |
static BAM |
createBam(int inputNeuronsCount,
int outputNeuronsCount)
Creates and returns a new instance of BAM network |
static CompetitiveNetwork |
createCompetitiveNetwork(int inputNeuronsCount,
int outputNeuronsCount)
Creates and returns a new instance of competitive network |
static Hopfield |
createHopfield(int neuronsCount)
Creates and returns a new instance of Hopfield network |
static Instar |
createInstar(int inputNeuronsCount)
Creates and returns a new instance of Instar network |
static Kohonen |
createKohonen(int inputNeuronsCount,
int outputNeuronsCount)
Creates and returns a new instance of Kohonen network |
static MaxNet |
createMaxNet(int neuronsCount)
Creates and returns a new instance of Max Net network |
static MultiLayerPerceptron |
createMLPerceptron(java.lang.String layersStr,
TransferFunctionType transferFunctionType)
Creates and returns a new instance of Multi Layer Perceptron |
static MultiLayerPerceptron |
createMLPerceptron(java.lang.String layersStr,
TransferFunctionType transferFunctionType,
boolean useBias)
Creates and returns a new instance of Multi Layer Perceptron |
static Outstar |
createOutstar(int outputNeuronsCount)
Creates and returns a new instance of Outstar network |
static Perceptron |
createPerceptron(int inputNeuronsCount,
int outputNeuronsCount,
TransferFunctionType transferFunctionType)
Creates and returns a new instance of Perceptron network |
static RbfNetwork |
createRbfNetwork(int inputNeuronsCount,
int rbfNeuronsCount,
int outputNeuronsCount)
Creates and returns a new instance of RBF network |
static SupervisedHebbianNetwork |
createSupervisedHebbian(int inputNeuronsCount,
int outputNeuronsCount,
TransferFunctionType transferFunctionType)
Creates and returns a new instance of Hebbian network |
static UnsupervisedHebbianNetwork |
createUnsupervisedHebbian(int inputNeuronsCount,
int outputNeuronsCount,
TransferFunctionType transferFunctionType)
Creates and returns a new instance of Unsupervised Hebbian Network |
static void |
setDefaultIO(NeuralNetwork nnet)
Sets default input and output neurons for network (first layer as input, last as output) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NeuralNetworkFactory()
Method Detail |
---|
public static Adaline createAdaline(int inputsCount)
inputsCount
- number of inputs of Adaline network
public static Perceptron createPerceptron(int inputNeuronsCount, int outputNeuronsCount, TransferFunctionType transferFunctionType)
inputNeuronsCount
- number of neurons in input layeroutputNeuronsCount
- number of neurons in output layer
public static MultiLayerPerceptron createMLPerceptron(java.lang.String layersStr, TransferFunctionType transferFunctionType)
layersStr
- space separated number of neurons in layerstransferFunctionType
- transfer function type for neurons
public static MultiLayerPerceptron createMLPerceptron(java.lang.String layersStr, TransferFunctionType transferFunctionType, boolean useBias)
layersStr
- space separated number of neurons in layerstransferFunctionType
- transfer function type for neurons
public static Hopfield createHopfield(int neuronsCount)
neuronsCount
- number of neurons in Hopfield network
public static BAM createBam(int inputNeuronsCount, int outputNeuronsCount)
inputNeuronsCount
- number of input neuronsoutputNeuronsCount
- number of output neurons
public static Kohonen createKohonen(int inputNeuronsCount, int outputNeuronsCount)
inputNeuronsCount
- number of input neuronsoutputNeuronsCount
- number of output neurons
public static SupervisedHebbianNetwork createSupervisedHebbian(int inputNeuronsCount, int outputNeuronsCount, TransferFunctionType transferFunctionType)
inputNeuronsCount
- number of neurons in input layeroutputNeuronsCount
- number of neurons in output layertransferFunctionType
- neuron's transfer function type
public static UnsupervisedHebbianNetwork createUnsupervisedHebbian(int inputNeuronsCount, int outputNeuronsCount, TransferFunctionType transferFunctionType)
inputNeuronsCount
- number of neurons in input layeroutputNeuronsCount
- number of neurons in output layertransferFunctionType
- neuron's transfer function type
public static MaxNet createMaxNet(int neuronsCount)
neuronsCount
- number of neurons (same num in input and output layer)
public static Instar createInstar(int inputNeuronsCount)
inputNeuronsCount
- umber of input neurons
public static Outstar createOutstar(int outputNeuronsCount)
outputNeuronsCount
- number of output neurons
public static CompetitiveNetwork createCompetitiveNetwork(int inputNeuronsCount, int outputNeuronsCount)
inputNeuronsCount
- number of neurons in input layeroutputNeuronsCount
- number of neurons in output layer
public static RbfNetwork createRbfNetwork(int inputNeuronsCount, int rbfNeuronsCount, int outputNeuronsCount)
inputNeuronsCount
- number of neurons in input layerrbfNeuronsCount
- number of neurons in RBF layeroutputNeuronsCount
- number of neurons in output layer
public static void setDefaultIO(NeuralNetwork nnet)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |