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 3 hidden neurons, the bias neurons would be at indices 1 and 8.
HTH.
Sebastian
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.