Can a neural network learn to play hockey?
Posted: Mon Feb 22, 2021 9:26 am
I've read about a dozen articles on how a NN works. 2 inputs. An optional bias. One output. Hidden layers. Activation function etc but every article so far fails to explain what the inputs are, how they are determined and why a sigmoid function that results in a 0/1 could be remotely valuable.
I'm obviously biting off a lot here, but, as a project and experiment, I'd like to see if a NN can replace the behavioural tree my bot hockey players use.
Can I fed into a single bot brain (a mini NN) the status of things around it (puck location, player proximity, velocity vectors etc) and then output the best course of action?
I have the sports game coded and it works. Bots already play each other with behavioral trees and a big finite state machine.
Time for next level. If I find a way forward I would do this incrementally with a small network and build it up over time to consider an ever increasing range of environment data (virtual world data) and an ever increasing range of outputs (actions).
However, I'm still puzzled over how all these articles talk about inputting 0 & 1 and getting back 0 & 1 and then assuming that means something.
(Also noting this is a Love2d forum and not a NN ) forum.
I'm obviously biting off a lot here, but, as a project and experiment, I'd like to see if a NN can replace the behavioural tree my bot hockey players use.
Can I fed into a single bot brain (a mini NN) the status of things around it (puck location, player proximity, velocity vectors etc) and then output the best course of action?
I have the sports game coded and it works. Bots already play each other with behavioral trees and a big finite state machine.
Time for next level. If I find a way forward I would do this incrementally with a small network and build it up over time to consider an ever increasing range of environment data (virtual world data) and an ever increasing range of outputs (actions).
However, I'm still puzzled over how all these articles talk about inputting 0 & 1 and getting back 0 & 1 and then assuming that means something.
(Also noting this is a Love2d forum and not a NN ) forum.