[R] prediction with nnet function for regression in R

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Oct 5 08:44:24 CEST 2005


On Wed, 5 Oct 2005 uttam.phulwale at tcs.com wrote:

>
> Hi,
> Good Day Everybody.....
> Can anybody help me....
> I am working with R ...and i am using nnet() function for regression, but
> after trained model, i m getting all predictions as 0.999999 or 1.0000,
> why is so, i dont understand?

As a guess, you failed to specify linear output units.  But as you have 
not shown us what you did do, we can only guess.

> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

please do.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list