[R] help with neural network nnet package

From: Changbin Du <changbind_at_gmail.com>
Date: Thu, 17 Jun 2010 15:17:16 -0700


HI, Dear R community,

I am using the nnet to fit a neural network model to do classification on binary target variable (0, 1). I am using the following codes:

nnet.fit<-nnet(as.factor(out) ~ ., data=train, size=5, rang=0.3, decay=5e-4, maxit=500)

I want to know what is the activation function for the original inputs, is it sigmoid activation function?

and what is the output activation function? should it be logit? log[pr(y=1|x) / (1-pr(y=1|x)) ] ?

Thanks so much!

--

Sincerely,
Changbin
--

        [[alternative HTML version deleted]]



R-help_at_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. Received on Thu 17 Jun 2010 - 22:19:53 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 17 Jun 2010 - 23:20:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive