<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>I am working my way through the book, but I haven't got that far yet. Will let you know when I do.<br><br>Robert<br><br><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Yves S. Garret" <yoursurrogategod@gmail.com><br><b>To: </b>erlang-questions@erlang.org<br><b>Sent: </b>Wednesday, 3 July, 2013 8:53:32 PM<br><b>Subject: </b>[erlang-questions] Question about some Erlang code in Handbook of        Neuroevolution Through Erlang.<br><br><div dir="ltr"><div><div><div><div><div><div>Hello all,<br><br></div>I recently got this book, listed here:<br><a href="http://www.amazon.com/Handbook-Neuroevolution-Through-Erlang-Gene/dp/1461444624" target="_blank">http://www.amazon.com/Handbook-Neuroevolution-Through-Erlang-Gene/dp/1461444624</a><br>
<br></div>The topic intrigues me, because it makes so much sense to try to design artificial <br>neural networks with Erlang (a point that the author makes very well in the book).<br><br></div>I got to chapter 6 and this is the code that I have for constructor.erl.  Now, I'm going <br>
through the create_NeuroLayers/4 and... I don't see the connection between what's <br>written and artificial neural networks...<br><br></div>The code:<br><a href="http://bin.cakephp.org/view/1946842426" target="_blank">http://bin.cakephp.org/view/1946842426</a><br>
<br></div>I don't want to bash the author, but I'm really not "getting" what he's describing.  For example, this description:<br><br>The function create_NeuroLayers/3 prepares the initial step before starting the recursive cre-<br>
ate_NeuroLayers/7 function which will create all the Neuron records. We first generate the<br>place holder Input Ids “Plus”(Input_IdPs), which are tuples composed of Ids and the vector<br>lengths of the incoming signals associated with them. The proper input_idps will have a weight [me: but we haven't assigned the weight, have we?]<br>
list in the tuple instead of the vector length. Because we are only building NNs each with only a<br>single Sensor and Actuator, the IdP to the first layer is composed of the single Sensor Id with<br>the vector length of its sensory signal, likewise in the case of the Actuator. We then generate<br>
unique ids for the neurons in the first layer, and drop into the recursive create_NeuroLayers/7<br>function.<br><br></div>Thanks in advance.<br></div>
<br>_______________________________________________<br>erlang-questions mailing list<br>erlang-questions@erlang.org<br>http://erlang.org/mailman/listinfo/erlang-questions<br></blockquote><br></div></body></html>