From 872b524bf16d21ed68a83b32c2bb5b8022dbfc1b Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Fri, 23 Oct 2020 11:19:28 +0000 Subject: [PATCH] Removed old code --- rgbAI/lib/ailib/ai.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/rgbAI/lib/ailib/ai.py b/rgbAI/lib/ailib/ai.py index 9c31d97..f01e2a1 100644 --- a/rgbAI/lib/ailib/ai.py +++ b/rgbAI/lib/ailib/ai.py @@ -160,12 +160,9 @@ def mutateProps( inpObj, curCost:float, maxLayer:int, gradient:list ): for layer in range(maxLayer): lr = getLearningRate( curCost, gradient[layer], maxLayer ) - # print(lr) obj.weights[layer] -= lr["weight"] * gradient[layer]["weight"] # mutate the weights obj.bias[layer] -= lr["bias"] * gradient[layer]["bias"] - # obj.weights[layer] -= 0.0001 * gradient[layer]["weight"] # mutate the weights - # obj.bias[layer] -= 0.0001 * gradient[layer]["bias"] def printProgress(): import os