[R] Hastie - Tibshirani - Friedman pg 141 & nnet question

From: G Ilhamto <gilhamto_at_gmail.com>
Date: Mon, 11 Feb 2008 18:09:08 -0500

Dear helper,

I am working with a nnet using large data set (23K) and have some questions. I have a binary response (occurrence & non-occurrence of event) with 8 predictors.

(1) How can I reproduce plot in Hastie et al. (page 141), i.e. natural
cubic splines of tensor product?
(2) How does nnet treat the response. It seems that by default it
treats Y as numeric (?). Can I change the response as factor? or, does it matter?

Thank you,


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 Mon 11 Feb 2008 - 23:14:57 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 Mon 11 Feb 2008 - 23:30:13 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