Re: [R] Help using the exclude option in the neuralnet package

2020-10-11 Thread Sebastian Mueller
Hi Dan, the easiest way to declare `exclude` and `constant.weights` is as a vector of indices. You can determine the index of the neuron as follows: The layers are arranged in sequence, with the bias neuron being the first in each layer. So in a neural net with 6 input neurons and a layer of

Re: [R] Help using the exclude option in the neuralnet package

2020-10-09 Thread Dan Ryan
Good Morning, I am using the neuralnet package in R, and am able to produce some basic neural nets, and use the output. I would like to exclude some of the weights and biases from the iteration process and fix their values. However I do not seem to be able to correctly define the exclude and