Displaying 20 results from an estimated 3000 matches similar to: "Accuracy/Goodness of fit of nnet"
2008 Sep 25
5
nnet support
Dear Sir/Madam
I have recently started using the nnet
package but cannot find any documentation other than the one page titled
'nnet {nnet}' which is replicated several times over the internet and is
found in the help file for this package.
I would like more information on how to use the package and have searched
extensively over the internet but cannot find anything more. Do you know
of
2012 May 28
1
rpart space in column names
Hi,
Our data has column names with spaces in that.The names in dataFrame are,
*[1] "Sepal Length" "Sepal Width" "Petal Length" "Petal Width"
"Species" *
When i try to use the column names in rpart function, it gives the following
error.
* rp<-rpart(as.factor(`Species`)~`Sepal Length`)
Error in `[.data.frame`(frame, predictors) :
2010 Oct 12
1
need help with nnet
HI, Dear R community,
My data set has 2409 variables, the last one is response variable. I have
used the nnet after feature selection and works. But this time, I am using
nnet to fit a model without feature selection. I got the following error
information:
> dim(train)
[1] 1827 2409
nnet.fit<-nnet(as.factor(out) ~ ., data=train, size=3, rang=0.3,
decay=5e-4, maxit=500) # model
2004 Mar 13
4
nnet classification accuracy vs. other models
I was wandering if anybody ever tried to compare the classification
accuracy of nnet to other (rpart, tree, bagging) models. From what I
know, there is no reason to expect a significant difference in
classification accuracy between these models, yet in my particular case
I get about 10% error rate for tree, rpart and bagging model and 80%
error rate for nnet, applied to the same data.
Thanks.
2007 Nov 02
1
How to see source code of nnet package
Hi,
I am working on a project which needs a multinomial logit
regression. So I want to reference the code of
multinom in nnet package. I found nnet package is no longer in the
CRAN list. But I cannot find the source
code in R Core source code package either.
Anyone knows how to see the source code of nnet?
Luo
2004 Feb 23
3
library nnet
DeaR useRs:
I am looking for a function which fits a multinomial model and in Baron?s
page I find the function "multinom" in package "nnet" but this package is
deprecated.
I suppose that this function is now in other package but I can't find it.
Can you help me?
Thanks.
2010 Oct 12
2
non-numerical values as input using nnet
Hi R-helpers , am trying out nnet package in R. Does nnet package work only
for numerical values as inputs? Can somebody give an insight on how
categorical values as inputs are handled using nnet in r with an example?
Thanks in advance for your help.
--
View this message in context: http://r.789695.n4.nabble.com/non-numerical-values-as-input-using-nnet-tp2991623p2991623.html
Sent from the R help
2006 Sep 10
2
formatting data to be analysed using multinomial logistic regression (nnet)
I am looking into using the multinomial logistic regression option in the
nnet library and have two questions about formatting the data.
1. Can data be analysed in the following format or does it need to be
transformed into count data, such as the housing data in MASS?
Id Crime paranoia hallucinate toc disorg crimhist age
1 2 1 0 1 0 1 25
2 2 0 1 1 1 1 37
3 1 1 0 1 1 0 42
4 3 0
2005 Apr 12
1
factors in multinom function (nnet)
Dear All:
I am interested in multinomial logit models (function multinon, library nnet) but I'm having troubles in choose whether to define the predictors as factors or not.
I had posted earlier this example (thanks for the reply ronggui):
worms<- data.frame(year= rep(2000:2004, c(3,3,3,3,3)),age=rep(1:3,5),
2008 Dec 19
0
"parm" argument in confint.multinom () nnet package
Dear R users,
The nnet package includes the multinom method for the confint function.
The R Help file (?confint) for the generic function in the stats package
and the help files for the glm and nls methods in the MASS package
indicate that one can use the "parm" argument as "a specification of
which parameters are to be given confidence intervals, either a vector
of numbers or
2019 Jul 18
2
predict multinomial model con nnet
Hola todos
Cuando realizo las predicciones del modelo multinomial con el paquete nnet,
estas cambian cada vez que lo ejecuto ... saben por qué pasa esto ??
Gracias por la ayuda.
[[alternative HTML version deleted]]
2010 Dec 10
2
Need help on nnet
Hi,
Am working on neural network.
Below is the coding and the output
> library (nnet)
> uplift.nn<-nnet (PVU~ConsumerValue+Duration+PromoVolShare,y,size=3)
# weights: 16
initial value 4068.052704
final value 3434.194253
converged
> summary (uplift.nn)
a 3-3-1 network with 16 weights
options were -
b->h1 i1->h1 i2->h1 i3->h1
16.64 6.62 149.93
2011 Apr 23
0
nnet Multinom output of ordered predictors
Hello,
I apologize if this seems like an obvious question, but I have been looking
everywhere and have yet to find an answer.
I am doing a multinomial regression with multinom() in the nnet package. I
have a 3 level ordered response (ordered()) variable and 4 predictors, 3 of
which are numerical and one which is an ordered factor (also ordered()) with
5 levels (a, b, c, d, e).
My question is in
2011 Jun 01
1
nnet inappropriate fit for class error
Hi,
I am trying to run a nnet algorithm but when I try to use the predict function with type='class', it gives the following error:
fit <- nnet(y~., size = 1, data = train.set, rang = 0.5, maxit=200, decay = 0)
predict<-predict(fit,test.set,type='class')
Error in predict.nnet(fit, test.set, type = "class") :
inappropriate fit for class
I couldn't figure
2010 Dec 10
2
Help..Neural Network
Hi all,
I am trying to develop a neural network with single target variable and 5
input variables to predict the importance of input variables using R. I used
the packages nnet and RSNNS. But unfortunately I could not interpret the out
put properly and the documentation of that packages also not giving proper
direction. Please help me to find a good package with a proper documentation
for neural
2006 Dec 03
1
nnet() fit criteria
Hi all,
I'm using nnet() for non-linear regression as in Ch8.10 of MASS. I
understand that nnet() by default optimizes least squares. I'm looking
to have it instead optimize such that the mean error is zero (so that it
is unbiased). Any suggestions on how this might be achieved?
Cheers,
Mike
--
Mike Lawrence
http://artsweb.uwaterloo.ca/~m4lawren
"The road to wisdom? Well,
2003 Sep 29
1
BIC or AIC from nnet
Is AIC or BIC available when using the
nnet package?
Thank you
Paul Green
2010 Nov 15
2
Null values in R
Hi R-helpers , can you please let me know the methods in which NULL values
can be handled in R? Are there any generic commands/functions that can be
given in a workspace,so that the NULL values occuring in that workspace (for
any datasets that are loaded , any output that is calculated) , are
considered in the same way?
Thanks in advance.
--
View this message in context:
2006 Feb 22
2
does multinomial logistic model from multinom (nnet) has logLik?
I want to get the logLik to calculate McFadden.R2 ,ML.R2 and
Cragg.Uhler.R2, but the value from multinom does not have logLik.So my
quetion is : is logLik meaningful to multinomial logistic model from
multinom?If it does, how can I get it?
Thank you!
ps: I konw VGAM has function to get the multinomial logistic model
with logLik, but I prefer use the function from "official" R
2006 Mar 10
1
need help in tune.nnet
Dear R people,
I want to use the tune.nnet function of e1071 package to tune nnet .
I am unable to understand the parameters of tune.nnet from the e1071 pdf
document.
I have performed nnet on a traindata and want to test it for class
prediction with a testdata.
I want to know the values of size,decay,range etc. parameters for which
the prediction of testdata is best.
Can anyone please tell me