You are here: Start » AVL.NET » AVL.MLP_Init Method

AVL.MLP_Init Method

Creates multilayer perceptron model.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void MLP_Init(
	int[] inHiddenLayers,
	AvlNet.ActivationFunction inActivationFunction,
	AvlNet.MlpPreprocessing inPreprocessing,
	int? inRandomSeed,
	int inInputCount,
	int inOutputCount,
	out AvlNet.MlpModel outMlpModel
)

Parameters

Name Type Range Default Description
inHiddenLayersintInternal structure of MLP network. Default value: atl::NIL, or null.
inActivationFunctionAvlNet.ActivationFunctionType of activation function used to calculate neural response.
inPreprocessingAvlNet.MlpPreprocessingMethod of processing input data before learning.
inRandomSeedint?<0, INF>Number used as starting random seed. Default value: atl::NIL, or null.
inInputCountint<1, INF>1MLP network input count. Default value: 1.
inOutputCountint<1, INF>1MLP network output count. Default value: 1.
outMlpModelAvlNet.MlpModelInitialized MlpModel.

Description

Filter initializes and sets structure of the MlpModel.

Image: Internal structure of MlpModel. Function f denotes the inActivationFunction.

Parameter inHiddenLayers represents number of neurons in consecutive hidden layers.

The parameter inActivationFunction is a function used to calculate internal neuron activation.

The weights of the multilayer perceptron are initialized by a random numbers. Their values depend on inRandomSeed value.

Parameters inInputCount and inOutputCount defines network inputs and outputs count.

See also