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@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