NEAT上的任何Encog文档?

时间:2016-02-05 11:26:25

标签: machine-learning neural-network genetic-algorithm encog es-hyperneat

是否有关于如何使用Encog Framework的详细文档?我知道UserGuide提供的用户指南以及encog github repository

的C#示例

但是我专注于使用NEAT网络,并且只有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.

任何人都可以分享这个网络的任何见解吗?

1 个答案:

答案 0 :(得分:0)

我现在将所有Encog NEAT文档组织成一个位置。你可以在这里找到它,链接到几个NEAT和HyperNEAT Encog示例。这也从原始论文中描述了相当数量的NEAT算法。

http://www.heatonresearch.com/encog/neat/