Greetings!

After generating a neural network based on a given data set (the data set
consists of two input variables and 1 output variable), I get the following
output from calling the summary function on the resulting Neural Network
object (using the nnet package):

>summary(nnetModel)

a 2-3-1 network with 13 weights options were - linear output units

b->h1 i1->h1 i2->h1

0.55 0.00 0.15

b->h2 i1->h2 i2->h2

-0.39 0.34 -0.41

b->h3 i1->h3 i2->h3

-0.61 0.69 0.55

b->o h1->o h2->o h3->o

-0.34 0.83 -0.09 -0.42

My question is which set of weights would I use for my formula to do
prediction? For example, to predict a future value, would my formula be:

0.55 + 0.00 * inputVariable1 + 0.15*inputVariable2

using the weights from the input layer or some other layer or some
combination therein? Thanks for the help!

~Brian

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to