Click or drag to resize

MultilayerPerceptronSettingsGetDefault Method

Create default settings based on a sample.

Namespace:  RavingBots.MagicGestures.AI.Neural.Classic
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static MultilayerPerceptronSettings GetDefault(
	SampleData sampleData,
	int hiddenLayers = 1
)

Parameters

sampleData
Type: RavingBots.MagicGestures.AI.CommonSampleData
The sample to use.
hiddenLayers (Optional)
Type: SystemInt32
The number of hidden layers to create. Must be non-negative.

Return Value

Type: MultilayerPerceptronSettings
Remarks
Every hidden layer will have (InputCount + OutputCount) / 2 neurons.
See Also