inst/examples/R/data/nnet/mincer/example_neuralnet.R

library("MASS")
library("neuralnet")
model <- neuralnet(medv~lstat+rm, data=Boston, 
									 hidden=c(3,2))
plot(Boston$lstat, residuals(model), 
		 xlab="Lstat", ylab="Residuals")
plot(model)
sigbertklinke/shinyExample documentation built on May 26, 2019, 4:32 a.m.