You are here: Start » AVL.NET » AVS.MLP_Train Method

AVS.MLP_Train Method

Creates and trains multilayer perceptron classifier.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void MLP_Train
(
	AvlNet.MlpModel inMlpModel,
	IList<IList<float>> inInputVectorArray,
	IList<IList<float>> inResponseVectorArray,
	NullableRef<IList<IList<float>>> inTestInputVectorArray,
	NullableRef<IList<IList<float>>> inTestResponseVectorArray,
	int inIterationCount,
	float inLearningRate,
	float inMomentum,
	int? inRandomSeed,
	AvlNet.MlpModel outMlpModel
)

Parameters

Name Type Range Default Description
inMlpModelAvlNet.MlpModelInitialized MLP model.
inInputVectorArraySystem.Collections.Generic.IList<System.Collections.Generic.IList<float>>Array of features used to train model.
inResponseVectorArraySystem.Collections.Generic.IList<System.Collections.Generic.IList<float>>Array of answers which classifier should get.
inTestInputVectorArrayAvlNet.NullableRef<System.Collections.Generic.IList<System.Collections.Generic.IList<float>>>Array of features used to test classifier during training process. Default value: atl::NIL.
inTestResponseVectorArrayAvlNet.NullableRef<System.Collections.Generic.IList<System.Collections.Generic.IList<float>>>Array of answers used to test classifier during training process. Default value: atl::NIL.
inIterationCountint<1, INF>100Learning iteration count. Default value: 100.
inLearningRatefloat<0.01f, 1.0f>1.0fLearning factor. Default value: 1.0f.
inMomentumfloat<0.0f, 1.0f>0.01fLearning momentum ratio. Default value: 0.01f.
inRandomSeedint?<0, INF>Number used as starting random seed. Default value: atl::NIL.
outMlpModelAvlNet.MlpModelTrained MlpModel.

Function Overrides

See also