giving speed info to brain

This commit is contained in:
2019-10-29 11:39:07 +01:00
parent 5c27c3c72f
commit 545ffd21ac
2 changed files with 3 additions and 3 deletions

View File

@@ -13,9 +13,9 @@ class Neural_Network(object):
# inspired from https://enlight.nyc/projects/neural-network/
def __init__(self, W1=None, W2=None):
# parameters
self.inputSize = 3
self.inputSize = 4
self.outputSize = 2
self.hiddenSize = 3
self.hiddenSize = 4
self.fitness = 0
# weights