similar to: Preventing early stopping in neural network (nnet package)

Displaying 20 results from an estimated 4000 matches similar to: "Preventing early stopping in neural network (nnet package)"

2006 Nov 22
1
What training algorithm does nnet package use?
Greetings list, I've just swapped from the "neural" package to the "nnet" package and I've noticed that the training is orders of magnitude faster, and the results are way more accurate. This leads me to wonder, what training algorithm is "nnet" using? Is it a modification on the standard backpropagation? Or a completely different algorithm? I'm
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
2006 Nov 02
2
Simple question about Lists
Hello, I know this must be a very simple problem, but I can't work it out from the documentation that is available. I've got a list of data I would like to plot (the weights of a single neuron that was trained using the neural package). The problem I'm encountering is that this set of weights, are in the form of a list. > network$weigth[1] [[1]] [,1] [1,]
2005 Mar 09
1
nnet abstol
Hi, I am using nnet to learn transfer functions. For each transfer function I can estimate the best possible Mean Squared Error (MSE). So, rather than trying to grind the MSE to 0, I would like to use abstol to stop training once the best MSE is reached. Can anyone confirm that the abstol parameter in the nnet function is the MSE, or is it the Sum-of-Squares (SSE)? Best regards, Sam.
2005 Apr 13
0
abstol in nnet
Hello All, I would like to know what fit criterion (abstol arg) is in nnet. Is it the threshold for the difference btw the max output and target values? Is the value at each iteration also the difference btw max of output and target values over all output units (case of multiple classes)? How could value displayed at each iteration be related to SSE and abstol be related to threshold SSE,
2004 Nov 29
0
R: nnet questions
hi all i'm new to the area of neural networks. i've been reading some references and seem to understand some of the learning algorithms. i am very familiar with regression and would just like to see how neural nets handle this problem so i've been using the nnet package. i simply want to use a 3 layer neural net, ie 1 input, 1 hidden layer (where the hidden layer is linear, since i
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
2009 Mar 10
1
find the important inputs to the neural network model in "nnet" package
Hi, I have a binary variable and many explanatory variables and I want to use the package "nnet" to model these data, (instead of logistic regression). I want to find the more effective variables (inputs to the network) in the neural network model. how can I do this? thanks. [[alternative HTML version deleted]]
2011 May 11
0
Init nnetTs (or nnet?) with a former Neural Net
I am new to R and use nnetTs - calls. If a time series of let's say 80000 Datapoints and did call nnetTs I want make a new net for the old ponts plus the next 1000 points (81000 datapoints total) what would again cost much calculation time. So I want to pre-init the new net with the former wonnen net to reduce the necessary iteration numbers. Is thee a possibility to do that and how? i.e.:
2010 Jun 17
0
help with neural network nnet package
HI, Dear R community, I am using the nnet to fit a neural network model to do classification on binary target variable (0, 1). I am using the following codes: nnet.fit<-nnet(as.factor(out) ~ ., data=train, size=5, rang=0.3, decay=5e-4, maxit=500) I want to know what is the activation function for the original inputs, is it sigmoid activation function? and what is the output activation
2013 Mar 27
0
A simple perceptron neural network (nnet)
can u explain me, how it works your code??? please. i´m also doing a simple perceptron for homework on R and i dont know where to start. [[alternative HTML version deleted]]
2005 Feb 08
1
Toying with neural networks
Hello all, Ive been playing with nnet (package 'nnet') and Ive come across this problem. nnet doesnt seems to like to have more than 1000 weights. If I do: > data(iris) > names(iris)[5] <- "species" > net <- nnet(species ~ ., data=iris, size=124, maxit=10) # weights: 995 initial value 309.342009 iter 10 value 21.668435 final value 21.668435 stopped after 10
2006 Dec 02
1
Trouble passing arrays to C code
Hello, I'm having more trouble with interfacing with C code. I have a function in C that will return the result of its computation as 3 arrays. The signature of the function is as follows: void lorenz_run(double x0, double y0, double z0, double h, int steps, double *res_x, double *res_y, double *res_z) The function works, as I've tested it from within C itself and the results
2007 May 06
3
Neural Nets (nnet) - evaluating success rate of predictions
Hello R-Users, I have been using (nnet) by Ripley to train a neural net on a test dataset, I have obtained predictions for a validtion dataset using: PP<-predict(nnetobject,validationdata) Using PP I can find the -2 log likelihood for the validation datset. However what I really want to know is how well my nueral net is doing at classifying my binary output variable. I am new to R and I
2010 Jan 29
0
Help interpreting libarary(nnet) script output..URGENT
Hello, I am pretty new to R. I am working on neural network classifiers and I am feeding the nnet input from different regions of interest (fMRI data). The script that I am using is this: library (MASS) heap_lda <- data.frame(as.matrix(t(read.table(file="R_10_5runs_matrix9.txt")))*100000,syll = c(rep("heap",3),rep("hoop",3),rep("hop",3))) library(nnet)
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
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 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
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
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