similar to: help with neural network nnet package

Displaying 20 results from an estimated 6000 matches similar to: "help with neural network nnet package"

2012 Sep 21
0
using neural network in R (nnet)
Hi all, I have considered neural network to classify the health status of the cow. I found a very neatly written R codes for classification method in here<http://home.strw.leidenuniv.nl/~jarle/IAC/RRoutines/classification-example.R> . It would be very helpful if you can answer some of the questions, that I am struggling with, I have set of time series data from different animals, I use
2010 Jun 17
1
help with nnet
> nnet.fit<-nnet(as.factor(out) ~ ., data=all_h, size=5, rang=0.3, decay=5e-4, maxit=500) # model fitting > summary(nnet.fit) a 23-5-1 network with 126 weights options were - entropy fitting decay=5e-04 HI, Guys, I can not find the manual to describe how the model is built, is there a more detailed description how nnet package works? -- Sincerely, Changbin -- [[alternative
2012 Apr 26
0
nnet formular for reproduce the expect output
Dear All, I am recently working on neural network using nnet package. The network has 4 hidden layers and 1 output layer, the target output 1 or 0. The model I use is as follows: nn<-nnet(target~f1+f2+f3+f4+f5+f6+f7+f8+f9+f10,data=train,size=4,linout=FALSE,decay=0.025,maxit=800) It works well and give me ROC 0.85. However, when I want to reproduce the result in java, I cannot get the same
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
2011 Jan 05
0
Nnet and AIC: selection of a parsimonious parameterisation
Hi All, I am trying to use a neural network for my work, but I am not sure about my approach to select a parsimonious model. In R with nnet, the IAC has not been defined for a feed-forward neural network with a single hidden layer. Is this because it does not make sens mathematically in this case? For example, is this pseudo code sensible? Thanks in advance for your help. I am sorry if this
2009 Nov 02
1
modifying predict.nnet() to function with errorest()
Greetings, I am having trouble calculating artificial neural network misclassification errors using errorest() from the ipred package. I have had no problems estimating the values with randomForest() or svm(), but can't seem to get it to work with nnet(). I believe this is due to the output of the predict.nnet() function within cv.factor(). Below is a quick example of the problem I'm
2011 Nov 27
0
nnet plot
good night Again I ask for help to the community, as I am new at this, I have some basic questions. I am looking for packages on neural networks and so you can search found these two that I think are the most used, neuralnet, nnet. So you can test, and correct me if I'm wrong the neuralnet only accepts as input values ??nomer, did a little test data (iris) library (neuralnet)
2011 Nov 28
0
Plot nnet
good night Again I ask for help to the community, as I am new at this, I have some basic questions. I am looking for packages on neural networks and so you can search found these two that I think are the most used, neuralnet, nnet. So you can test, and correct me if I'm wrong the neuralnet only accepts as input values ??nomer, did a little test data (iris) library (neuralnet)
2004 Oct 18
1
nnet learning
Hi, I am trying to make a neural network learning a "noisy sine wave". Suppose I generate my data like so.. x <- seq(-2*pi, 2*pi, length=500) y <- sin(x) + rnorm(500, sd=sqrt(0.075)) I then train the neural net on the first 400 points using c <- nnet(as.matrix(x[1:400]),as.matrix(y[1:400]), size=3, maxit=10000, abstol=0.075, decay=0.007) Inspecting the fit of the training
2009 Feb 18
1
Training nnet in two ways, trying to understand the performance difference - with (i hope!) commented, minimal, self-contained, reproducible code
Dear all, Objective: I am trying to learn about neural networks. I want to see if i can train an artificial neural network model to discriminate between spam and nonspam emails. Problem: I created my own model (example 1 below) and got an error of about 7.7%. I created the same model using the Rattle package (example 2 below, based on rattles log script) and got a much better error of about
2012 Oct 17
0
Superficie de respuesta con rsm y nnet
Hola compañeros de la lista. Los molesto con la siguiente duda. En un diseño central compuesto (CCD) con dos factores (V1 y V2) y una variable de respuesta (R), utilizando valores codificados (-1.4142, -1, 0, 1, 1.4182), al aplicar la orden: rsm.segundo.orden <- rsm(R ~ Bloque + SO(V1, V2), data = DATOS.Codificados) Obtengo el siguiente modelo: R = 103.92 -2.16
2009 May 12
0
neural network not using all observations
I am exploring neural networks (adding non-linearities) to see if I can get more predictive power than a linear regression model I built. I am using the function nnet and following the example of Venables and Ripley, in Modern Applied Statistics with S, on pages 246 to 249. I have standardized variables (z-scores) such as assets, age and tenure. I have other variables that are binary (0 or 1). In
2009 May 12
0
FW: neural network not using all observations
As a follow-up to my email below: The input data frame to nnet() has dimensions: > dim(coreaff.trn.nn) [1] 5088 8 And the predictions from the neural network (35 records are dropped - see email below for more details) has dimensions: > pred <- predict(coreaff.nn1) > dim(pred) [1] 5053 1 So, the following line of R code does not work as the dimensions are
2008 Apr 26
1
Variables selection in Neural Networks
Hi folks, I want to apply a neural network to a data set to classify the observations in the different classes from a concrete response variable. The idea is to prove different models from network modifying the number of neurons of the hidden layer to control overfitting. But, to select the best model how I can choose the relevant variables? How I can eliminate those that are not significant for
2009 May 12
0
How do I extract the scoring equations for neural networks and support vector machines?
Sorry for these multiple postings. I solved the problem using na.omit() to drop records with missing values for the time being. I will worry about imputation, etc. later. I calculated the sum of squared errors for 3 models, linear regression, neural networks, and support vector machines. This is the first run. Without doing any parameter tuning on the SVM or playing around with the number of
2010 Sep 07
1
change the for loops with lapply
cv.fold<-function(i, size=3, rang=0.3){ cat('Fold ', i, '\n') out.fold.c <-((i-1)*c.each.part +1):(i*c.each.part) out.fold.n <-((i-1)*n.each.part +1):(i*n.each.part) train.cv <- n.cc[-out.fold.c, c(2:2401, 2417)] train.nv <- n.nn[-out.fold.n, c(2:2401, 2417)] train.v<-rbind(train.cv, train.nv) #training data for feature
2003 Oct 15
1
nnet: Too many weights?
I am using library(nnet) to train up an ANN with what I believe is a moderately sized dataset, but R is complaining about too many weights: --- > nn.1 <- nnet(t(data), targets, size = 4, rang = 0.1, decay = 5e-4, maxit = 200) Error in nnet.default(t(data), targets, size = 4, rang = 0.1, decay = 5e-04, : Too many (1614) weights > dim(targets) [1] 146 2 > dim(data) ## Note
2007 Nov 14
0
Help about nnet library
Hello, First of all I am french, so please forgive me, if there are some big language mistakes in my sentences. I think, it is the good mail address to send my question, if not please tell me and forgive me. I am working on a project, and I use the nnet library. Our customers do not want us to install R on their machine, so we just use R for making the training of our neurons network. This
2007 Nov 14
0
Help about nnet library
Hello, First of all I am french, so please forgive me, if there are some big language mistakes in my sentences. I do not know if it is the good mail address to send my question, if not please tell me and forgive me, I have also sent this quetion to r-help, because the answer could be known from the programmers and the other R users :). I am working on a project, and I use the nnet library.
2013 May 20
0
Neural network: Amore adaptative vs batch why the results are so different?
I am using the iris example came with nnet package to test AMORE. I can see the outcomes are similar to nnet with adaptative gradient descent. However, when I changed the method in the newff to the batch gradient descent, even by setting the epoch numbers very large, I still found all the iris expected class=2 being classified as class=3. In addition, all those records in the outcomes (y) are the