
Untitled
By: a guest on
Aug 10th, 2012 | syntax:
None | size: 0.44 KB | hits: 8 | expires: Never
Recalculating predicted values of neural network
test <- read.csv('ScaledData.csv',header=TRUE,sep = ",")
ANNtrain <- nnet(Price ~ Sqft + Bedrooms + Bathrooms,test[1:650,],size=2, maxit=5000, linout=TRUE)
ANNtrain$wts
ANNtrain$fitted.values
b->h1 2.3681687
i1->h1 -0.3898256
i2->h1 1.3565967
i3->h1 -1.8423163
b->h2 1.4826518
i1->h2 0.6584391
i2->h2 0.8964167
i3->h2 -1.3290192
b->o 1.0835755
h1->o -4.977095
h2->o 4.2466241