CharlesHEaster / NeuralNet

My attempt to create a framework to create and train neural networks through fitness evolution.
0 stars 0 forks source link

State variables #5

Closed CharlesHEaster closed 4 years ago

CharlesHEaster commented 4 years ago

Implement state variables and strings

CharlesHEaster commented 4 years ago

use "big decimal" New trial constructor. [state variable start values] [state variable lables]

New network constructor. [state variable start values]

edit network.morph()

CharlesHEaster commented 4 years ago

yeah I don't want to mess with the constructors any more. I just made them doubles but I guess I will go back and make them big decimal. and also an auto conversion from doubles and I guess ints. fun fun

CharlesHEaster commented 4 years ago

OK. StateVar is now a ArrayList but that is as far as it goes. Idealy I would make all the inputs and outputs BigDecimals, but that would suck and this is really just for education. Also if I made auto conversion setters then as soon as I pass the number as a double, to be converted to BigDecimal and then set to StateVar, the number would already be fucked. So I need to work with only BigDecimals as I am building the StateVar Array before I pass it into the setter. Anyway, job done.