Browse Source

pep 8 update (#48)

Week 3 day 1 Ex1 The neuron. Python conventions. #32
pull/63/head
brad-gh 2 years ago committed by GitHub
parent
commit
0628a885fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      piscine/week03/day01/ex01/README.md

4
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/
https://victorzhou.com/blog/intro-to-neural-networks/

Loading…
Cancel
Save