Does the Encog framework add extra neurons automaticly?

  • #1
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 Silicon Waffle

Answers and Replies

  • #2
Nevermind, it doesn't . One can see that it doesn't using network.CalculateNeuronCount();
 

Related Threads on Does the Encog framework add extra neurons automaticly?

  • Last Post
Replies
3
Views
3K
Replies
1
Views
535
Replies
5
Views
2K
Replies
18
Views
848
Replies
1
Views
2K
  • Last Post
Replies
1
Views
4K
Replies
5
Views
2K
Replies
2
Views
2K
  • Last Post
Replies
1
Views
2K
Top