Closed deepsorrow closed 7 years ago
Here you delete all of your inputs:
auto IBody2::Reset() -> void
{
fitness = 0;
inputs.clear();
outputs.clear();
}
Here new ones are being requested:
auto IBody2::ProvideNetworkWithInputs() const -> Type::neuron_values_t
{
return inputs;
}
You never fill your inputs
vector with anything new in the meantime.
The library still expects 7 inputs, instead gets 0, gets sad and crashes.
Feel free to ask if you have any additional questions. Good luck with your school project btw :)
Hi! I can't figure it out why inputs and inputNeurons don't match:
I'm trying to use unsupervised learning, so I followed by your tutorial and implemented my IBody class, and now it looks like this:
Where my .cpp file contain this:
And this is how I use it in my project:
Could you please tell me, what am I doing wrong? P.S. I don't have much experience in these things, so any protips and advises are welcome. :)