Live data from Hacker News

Neural network from scratch

sirupsen.com

31–40 of 43 posts

Re: Neural network from scratch

#34
post #20

I think NNs are going to be a challenge as complexity grows. I'm trying to make mobs behave autonomously in my 3D action MMO. The memory (depth) I would need for that to succeed and the processing power to do it in real-time is making my head spin. Let's hope Raspberry 5 has some hardware to help with this. At this point I'm probably going to have some state machine AI (think mobs in Minecraft; basically check range…

Having experience writing crowd simulations in both games and VFX in film, I suggest you take a look at Massive, and perhaps read some of their documentation to learn how this successful implementation handles crowd simulations: https://www.massivesoftware.com/

Re: Neural network from scratch

#36

Earlier quoted context omitted.

You can't do this in Python.

You can do anything in Python. import antigravity https://xkcd.com/353/

Yeah, but the Python for it would be more like:

  import sys
  import torch
  sys.modules['scratch'] = torch
  from scratch import nn

Re: Neural network from scratch

#39

I was disappointed when i realized this isn’t Sentdex’s NNFS. He makes really good content.

this is exactly that I have been looking for -- and I wonder how I missed it until now in my search for ML tutorials. Many thanks.

Re: Neural network from scratch

#40
post #23

Interesting read, but there's a few things I haven't understood. In the training [function]( https://colab.research.google.com/drive/1YRp9k_ORH4wZMqXLNkc... ): 1- In the instruction `hidden_layer.data[index] -= learning_rate * hidden_layer.grad.data[index]`where was the `hidden_layer.grad` value updated? 2- from what I've understood, we'll update the hidden_layer according to the inclination of the error function (be…

FYI Markdown type links don't work on HN, that's why you see people type footnotes [0]

[0] like this

Post reply on HN