Hello guys
I am currently developing an experimental neural network based trainable element system.
What i want to do:
an API for dynamic lua element generation and training:
you create a special particle, or specify the particular data, then you specify the state of simulation around that particle, and what the particle itself and the stuff arount that particle would be look like after a tick.
you create as many examples of the desired interactions that you want to create for this element, using a "before" and an "after" format.
Then the neural network should be able to "learn" what it should do next, and after a few hundred training samples, should behave like what you want it to be. the particle basically learn it's proper update function through machine learning.
these are the samples of my code that i am currently working on.
Will this work? do you have any suggestions? for example, to improve this code or to submit some functions, so i can bring this into existence? thanks.
This is nice code, but you forgot to use == instead of = on lines 346 and 381.
Edit: Sorry for necroposting, but I had to comment to alert OP of the mistake.