Objective Allow a remote user to perform prediction on a binary outcome variable, using a set of covariates. Use both logistic regression and a neural network for the prediction to allow a comparison of results.
Prediction should be done out of sample, that is on the validation dataset.
Make sure that your procedure works on the dataset found in
http://www-stat.wharton.upenn.edu/~waterman/DataSets/class_06.data
Deliverables (by 3/4/99):
Please put your interface page in
/home/username/public_html/Stat540s99/homework07/interface.html
and the Perl script in
/home/username/public_html/cgi-bin/homework07.pl
Remember to rescale, to (0,1), the age variable before you use it in the net. In general, you will need to be able to identify the continuous predictor variables so you can rescale them. Use the command is.real to do this.
Don't forget that I have put a link to the Neural nets help files. help pages.
As a matter of interest, here is the S-Plus code that I used to produce the page of neural net graphics. You can see how I constructed the perspective plots. Note that parts of this code are out of date now, as I had the uva dataset labeled differently when I wrote it, the file names differently and everything in different locations! (But it's still a useful example.)