From 0628a885fec2ee4c93ecf5642beaba31787ca432 Mon Sep 17 00:00:00 2001 From: brad-gh <32170926+brad-gh@users.noreply.github.com> Date: Thu, 1 Sep 2022 09:57:28 -0400 Subject: [PATCH] pep 8 update (#48) Week 3 day 1 Ex1 The neuron. Python conventions. #32 --- piscine/week03/day01/ex01/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/piscine/week03/day01/ex01/README.md b/piscine/week03/day01/ex01/README.md index b9bf760..cbfb492 100644 --- a/piscine/week03/day01/ex01/README.md +++ b/piscine/week03/day01/ex01/README.md @@ -40,7 +40,7 @@ x1 = 2 , x2 = 3 , w1 = 0, w2= 1, b = 4 self.weights_2 = weight2 self.bias = bias - def feedforward(self, x1, x2): + def feedforward(cls, x1, x2): #TODO return y @@ -49,4 +49,4 @@ x1 = 2 , x2 = 3 , w1 = 0, w2= 1, b = 4 Note: if you are confortable with matrix multiplication, feel free to vectorize the operations as done in the article. -https://victorzhou.com/blog/intro-to-neural-networks/ \ No newline at end of file +https://victorzhou.com/blog/intro-to-neural-networks/