This commit is contained in:
eynard
2022-03-10 15:09:20 +01:00
parent dcddbd017f
commit 5cdc7b52e1
4 changed files with 6 additions and 5 deletions

Binary file not shown.

View File

@@ -12,6 +12,6 @@ trainLabels = data[1]
myNetwork = network(2, 16, 1)
learningRate = 5.0
learningRate = 3.0
myNetwork.train(trainPoints, trainLabels, learningRate, batchSize=10, epochs=1000, visualize=True)
myNetwork.train(trainPoints, trainLabels, learningRate, batchSize=100, epochs=3000, visualize=True)

View File

@@ -9,7 +9,7 @@ trainLabels = []
random.seed(1216513)
for i in range(100):
for i in range(1000):
x = random.randint(-50, 50)
y = random.randint(-50, 50)