org.neuroph.contrib.matrixmlp
Class MatrixMultiLayerPerceptron
- java.lang.Object
-
- org.neuroph.core.NeuralNetwork
-
- org.neuroph.contrib.matrixmlp.MatrixMultiLayerPerceptron
-
- All Implemented Interfaces:
- java.io.Serializable
public class MatrixMultiLayerPerceptron extends NeuralNetwork
Matrix based implementation of Multi LAyer Perceptron- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description MatrixMultiLayerPerceptron(MultiLayerPerceptron sourceNetwork)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcalculate()Performs calculation on whole networkintgetLayersCount()Returns number of layers in networkMatrixLayer[]getMatrixLayers()double[]getOutput()Returns network output vector.voidsetInput(double... inputs)Sets network input.-
Methods inherited from class org.neuroph.core.NeuralNetwork
addLayer, addLayer, addListener, addPlugin, createConnection, createFromFile, createFromFile, fireNetworkEvent, getInputNeurons, getInputsCount, getLabel, getLayerAt, getLayers, getLearningRule, getNetworkType, getOutputNeurons, getOutputsCount, getPlugin, getWeights, indexOf, isEmpty, learn, learn, load, load, pauseLearning, randomizeWeights, randomizeWeights, randomizeWeights, randomizeWeights, removeLayer, removeLayerAt, removeListener, removePlugin, reset, resumeLearning, save, setInputNeurons, setLabel, setLearningRule, setNetworkType, setOutputLabels, setOutputNeurons, setWeights, stopLearning, toString
-
-
-
-
Constructor Detail
-
MatrixMultiLayerPerceptron
public MatrixMultiLayerPerceptron(MultiLayerPerceptron sourceNetwork)
-
-
Method Detail
-
getMatrixLayers
public MatrixLayer[] getMatrixLayers()
-
calculate
public void calculate()
Description copied from class:NeuralNetworkPerforms calculation on whole network- Overrides:
calculatein classNeuralNetwork
-
setInput
public void setInput(double... inputs)
Description copied from class:NeuralNetworkSets network input. Input is an array of double values.- Overrides:
setInputin classNeuralNetwork- Parameters:
inputs- network input as double array
-
getOutput
public double[] getOutput()
Description copied from class:NeuralNetworkReturns network output vector. Output vector is an array collection of Double values.- Overrides:
getOutputin classNeuralNetwork- Returns:
- network output vector
-
getLayersCount
public int getLayersCount()
Description copied from class:NeuralNetworkReturns number of layers in network- Overrides:
getLayersCountin classNeuralNetwork- Returns:
- number of layes in net
-
-
DMelt 3.0 © DataMelt by jWork.ORG