+ 2

I have a problem with my neural network code

Hi everyone! Help me please. I tried to write a neural network code without keras, tensorflow and pandas, only with numpy and matplotlib, but always I have the same error in each epoch. Here the code https://code.sololearn.com/cmJ7A6WDrFIH/?ref=app

25th Jul 2022, 7:28 PM
Daniel Dávalos
Daniel Dávalos - avatar
5 Respuestas
+ 1
Update the weights
2nd Aug 2022, 12:05 PM
Daniel Dávalos
Daniel Dávalos - avatar
+ 1
Take a closer look, because I don't think it's happening
2nd Aug 2022, 2:00 PM
Steve
Steve - avatar
+ 1
Wow, thanks Steve, it's true. I just changed for (w,dw) in zip(self.w,dW): w = w + dw to for (w,dw) in zip(self.w,dW): w += dw
2nd Aug 2022, 2:11 PM
Daniel Dávalos
Daniel Dávalos - avatar
+ 1
I'm glad it helped!
2nd Aug 2022, 4:04 PM
Steve
Steve - avatar
0
What are lines 89 and 90 supposed to accomplish?
2nd Aug 2022, 7:31 AM
Steve
Steve - avatar