Unable to set number of neurons of output layer using nntool

544 views Asked by At

Unable to edit the number of neurons of output layer, the field is disabled. When I set number of layers to be 2, even then the 2nd field is locked/disabled. Please help me identify what is the issue. Thanks in advance!

enter image description here enter image description here

1

There are 1 answers

1
Itamar Katz On

The output of the network must be of the same dimension as your target variable, because the error function is MSE and you can calculate MSE only for vectors of the same size. That means the number of neurons in the output layer must be the same as the dimension of the output.