Closed GooseXP closed 3 years ago
I am hoping to train a KANN model with a genetic algorithm, but in order to do this I will need to be able to get an array of network weights, and I did not see a way of doing this in the documentation. I could be missing something obvious though.
There is not an API for this. You can directly access kad_node_t::x. You can get the list of nodes from kann_t::v.
kad_node_t::x
kann_t::v
That will do fine thank you
I am hoping to train a KANN model with a genetic algorithm, but in order to do this I will need to be able to get an array of network weights, and I did not see a way of doing this in the documentation. I could be missing something obvious though.