Does the Encog framework add extra neurons automaticly?

  • Thread starter Thread starter Superposed_Cat
  • Start date Start date
  • Tags Tags
    Framework Neurons
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 1K views
Superposed_Cat
Messages
388
Reaction score
5
I recently started using Encog and used

BasicNetwork network = new BasicNetwork();
network.AddLayer(new BasicLayer(new ActivationSigmoid(), true, 1));
network.AddLayer(new BasicLayer(new ActivationSigmoid(), true, 2));
network.AddLayer(new BasicLayer(new ActivationSigmoid(), true, r.Length));
network.Structure.FinalizeStructure();
network.Reset();

to declare a network with 1 input , 2 hidden and 3 outputs, I need to know the amount of space ram required for the all the weights, usually it would be ((1*2)+2+(2*3))*((2^64)-1)/4 but this network seems to be able to fit any amount of data 100% accurately, suspicious. So I was wondering if maybe it adds more neurons if it can't train properly, does it do this? Any help apreciated.
 
  • Like
Likes   Reactions: Silicon Waffle
Physics news on Phys.org
Nevermind, it doesn't . One can see that it doesn't using network.CalculateNeuronCount();