similar to: Problem training a neural network with "neuralnet" library

Displaying 20 results from an estimated 1000 matches similar to: "Problem training a neural network with "neuralnet" library"

2008 Jul 18
0
A neural network problem---neuralnet package
Hi R, Here's a question/problem on the 'neuralnet' package for neural networks. I have more than 50 factors in each of my independent variables. When I apply the command 'neuralnet', I get the below warning message, > net.sum <- neuralnet( Sum~Var1+Var2+Var3, b, hidden=0,linear.output=TRUE) Warning message: 'predictions' will not be calculated, as at
2020 Oct 12
0
Fwd: Help using the exclude option in the neuralnet package
Dear all, the exclude and constant.weights options are used as follows: exclude: A matrix with n rows and 3 columns will exclude n weights. The the first column refers to the layer, the second column to the input neuron and the third column to the output neuron of the weight. constant.weights: A vector specifying the values of the weights that are excluded from the training process and treated
2014 Jan 13
1
Ayuda con Neuralnet
Hola a todos, en primer lugar quería agradecer la ayuda recibida desde el foro con respecto a la creación de una red neuronal. Estoy utilizando el paquete Neuralnet, que me parece que es bastante bueno, pero tengo el problema que soy incapaz de hacer las predicciones del modelo. Sé que se hace con el comando "compute", pero no encuentro ningún ejemplo de cómo hacerlo. ¿Alguien me puede
2020 Oct 09
1
Help using the exclude option in the neuralnet package
Good Morning, I am using the neuralnet package in R, and am able to produce some basic neural nets, and use the output. I would like to exclude some of the weights and biases from the iteration process and fix their values. However I do not seem to be able to correctly define the exclude and constant.weights vectors. Question: Can someone point me to an example where exclude and
2012 Aug 01
3
Neuralnet Error
I require some help in debugging this code  library(neuralnet) ir<-read.table(file="iris_data.txt",header=TRUE,row.names=NULL) ir1 <- data.frame(ir[1:100,2:6]) ir2 <- data.frame(ifelse(ir1$Species=="setosa",1,ifelse(ir1$Species=="versicolor",0,""))) colnames(ir2)<-("Output") ir3 <- data.frame(rbind(ir1[1:4],ir2))
2012 Feb 15
1
neuralnet problem
Hello List ! I'm a bright new R user, and I encounter a problem when trying to use the neuralnet package. I have a training set with 8 inputs, and there are 3 outputs (I need 3 distinct neurones as output). Although I read the examples, and the package article, I don't know how to tell R there are 3 outputs (3 outputs neurones). Here is my actual code : # All = input data All <-
2009 Jul 23
1
Activation Functions in Package Neural
Hi, I am trying to build a VERY basic neural network as a practice before hopefully increasing my scope. To do so, I have been using package "neural" and the MLP related functions (mlp and mlptrain) within that package. So far, I have created a basic network, but I have been unable to change the default activation function. If someone has a suggestion, please advise. The goal of the
2009 Jul 01
1
Neural Networks
Hi, I am starting to play around with neural networks and noticed that there are several packages on the CRAN website for neural networks (AMORE, grnnR, neural, neuralnet, maybe more if I missed them). Are any of these packages more well-suited for newbies to neural networks? Are there any relative strengths / weaknesses to the different implementations? If anyone has any advice before I dive
2011 Mar 13
0
An example on how to use neuralnet to predict values
Hello I am new to R and wonder whether someone out there could send me an example on how to use the package neuralnet to fit a model to data, following the usual procedure, that is, fitting the model using the training set and then using the validation set to check the model. Moreover, the neural net model is recursive (uses its own output values)-> infinite steps ahead prediction. Many
2020 Oct 14
0
R-help Digest, Vol 212, Issue 12
Dear Frauke, Thank you very much for taking the time to respond. You explanation was very helpful, and I now have that part figured out! Best Wishes, Dan Frauke Message: 3 Date: Mon, 12 Oct 2020 08:33:44 +0200 (CEST) From: =?UTF-8?Q?Frauke_G=C3=BCnther?= <guenther at leibniz-bips.de> To: "r-help at r-project.org" <r-help at r-project.org> Cc: William Michels <wjm1
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
2010 Dec 16
0
Help on neural network
Hi all, I am trying to develop a neural network(Multilayer perceptron) with the package 'NEURALNET'. I have some doubts on it, 1. Whether this procedure taken care about categorical input variables- The reason is I could not find any option to describe type of variable in the arguments? 2.The algorithm is providing input variables generalized weights like this, >
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 29
1
Backpropagation to adjust weights in a neural net when receiving new training examples
I want to create a neural network, and then everytime it receives new data, instead of creating a new nnet, i want to use a backpropagation algorithm to adjust the weights in the already created nn. I'm using nnet package, I know that nn$wts gives the weights, but I cant find out which weights belong to which conections so I could implement the backpropagation algorithm myself. But if anyone
2009 May 27
3
Neural Network resource
Hi All, I am trying to learn Neural Networks. I found that R has packages which can help build Neural Nets - the popular one being AMORE package. Is there any book / resource available which guides us in this subject using the AMORE package? Any help will be much appreciated. Thanks, Indrajit
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
2012 Mar 01
3
how to change or copy to another the names of models
Hi I would like to know how I can change the name of a model for each trainning cycle of a model. I work with the RSNNS package and to build a neural network, I used : for (i in 5:30) .... model_ANN <- mlp(X, Y, size=n,....) # where size is the number of neurons in the hidden layer but I need to save each time that the model that is build (the end of each cycle), e.g., when i = 5, I need to
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)