有没有关于如何使用 Encog Framework 的详细文档?我知道 UserGuide 提供的用户指南和encog github 存储库中的 C# 示例
但是我专注于使用 NEAT Networks,并且只有 XOR 示例可用。到目前为止,代码如下所示:
Dim inputNeurons As Integer = 6, outputNeurons As Integer = 2
Dim trainedNetwork As NEATNetwork
Dim network As New NEATPopulation(inputNeurons, outputNeurons, 5000)
network.Reset()
network.InitialConnectionDensity = 100.0
Dim speciation As New OriginalNEATSpeciation()
speciation.CompatibilityThreshold = 1
Dim trainer As TrainEA
trainer = NEATUtil.ConstructNEATTrainer(network, New networkScore())
trainer.Speciation = speciation
epoch = 1
iterationLimit = 30
i = 1
While i <= iterationLimit
trainer.Iteration()
Console.WriteLine("Iteration #" & i & "/" & iterationLimit & " #" + epoch.ToString + " Score:" + trainer.[Error].ToString)
epoch += 1
i += 1
End While
但是除此之外还有很多可用的功能,并且没有详细说明它们的作用?以及如何调整它们以最大限度地提高网络智能?
Class NEATPopulation
setInitialConnectionDensity,setInnovations,setRandomNumberFactory,
setSubstrate,setSurvivalRate,setCODEC,
setActivationCycles,setInputCount
and much more in TrainEA Class, NEATNetwork Class etc.
任何人都可以分享关于这个网络的任何见解吗?