From ec73e4a7d8ca0f9d5f97ccc001ec4808f6decc6b Mon Sep 17 00:00:00 2001 From: brad-gh <32170926+brad-gh@users.noreply.github.com> Date: Wed, 31 Aug 2022 23:33:08 -0400 Subject: [PATCH] pep 8 update 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/