Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
amberpearl92
Help with nnet package on R?
library(nnet)
apm <- matrix(AirPassengers, ncol = 12, byrow =TRUE, dimnames = list( as.character(1949:1960),month.abb))
AirPassengers.train<-apm[c(1,10),]
AirPassengers.test<-apm[c(11,12),]
mynnet.fit<-nnet(Dec~.,data=apm,subset=AirPassengers.train,size=5,maxit=1000)
mynnet.predict<-predict(mynnet.fit,AirPassengers.test)
predict.rmse<-sqrt(mean((mynnet.predict-AirPassengers.test[,12])^2))
cbind(AirPassengers.test[,12],mynnet.predict)
that is all my code here are the output problems:
1.net.fit<-nnet(Dec~.,data=apm,subset=AirPassengers.train,size=5,maxit=1000)
# weights: 66
initial value 0.000000
final value 0.000000
converged
why is the initial value 0??
2.nd(AirPassengers.test[,12],mynnet.predict)
[,1] [,2]
1959 405 0.5942836
1960 432 0.5942836
you see the prediction is nowhere near the real values.
AirPassengers is one of the data sets R comes with.
HELP!!! This project has been driving me crazy for weeks. These few lines of code just won't work for me.
1 AnswerProgramming & Design8 years agoCan you recommend some music for me?
i like relient k, switchfoot, john mayor, run kid run, and oldies like the beatles, beach boys, simon and garfunkul. so soft rock happy kind of stuff. i also love love love regina spektor, and am looking for stuff that sounds like her and also some more of the soft rock stuff but more unknown. thanks.
2 AnswersOther - Music1 decade agowhat kind of joints are in your cranium?
the choices are
pivot immovable gliding and rotating
i also need to know the joint types between vertebrae and between the skull and vertebral column
please and thanks
1 AnswerBiology1 decade agohelp with ATI Radeon(TM) series 8500?
where can i buy one? and for how much? can i have a website?
1 AnswerOther - Hardware1 decade ago