Skip to content

add comments to clarify elements of the code#4

Open
y0shK wants to merge 2 commits intolopatin96:masterfrom
y0shK:master
Open

add comments to clarify elements of the code#4
y0shK wants to merge 2 commits intolopatin96:masterfrom
y0shK:master

Conversation

@y0shK
Copy link

@y0shK y0shK commented Dec 26, 2019

hello there! this project idea was pretty cool, so I skimmed over the code for the neural network and the genetic algorithm. I added a lot of comments that explained certain decisions in the neural network (like using i+1 for index) and a couple to clarify the genetic algorithm. good code here, but I think this commit makes it a little more accessible

made a couple changes here:
-minor grammatical edits
-comments to explain the inside of the network
-table.getn is obsoleted, # is the operator used for length of tables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant