Displaying 20 results from an estimated 5000 matches similar to: "Help using the exclude option in the neuralnet package"
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
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
2012 Jan 24
0
Problem training a neural network with "neuralnet" library
Hi,
I am having difficulty in training a neural network using the package "neuralnet". My neural network has 2 input neurons (covariates), 1 hidden layer with 2 hidden neurons and 2 output neurons (responses). I am training my neural network with a dataset that has been transformed so that each column is of type "numeric". The difficulty I am facing is that the responses of
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
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 14
2
which() vs. just logical selection in df
Hi Dr. Snow, & R-helpers,
Thank you for your reply! I hadn't heard of the {microbenchmark}
package & was excited to try it! Thank you for the suggestion! I did
check the reference source for which() beforehand, which included the
statement to remove NAa, and I didn't have any missing values or NAs:
sum(is.na(dat$gender2))
sum(is.na(dat$gender))
sum(is.na(dat$y))
[1] 0
[1] 0
[1]
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 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
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
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
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 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
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
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,]
2012 Dec 13
1
PLEASE REMOVE FROM LIST SERVE NOW!
PLEASE REMOVE ME FROM THIS LIST SERVE IMMEDIATELY!!!!!!
On Wed, Dec 12, 2012 at 6:41 PM, dada <paxkn@nottingham.ac.uk> wrote:
> Hi
> I would like to do neural netowrk analysis on my data. It look like this:
>
> drug param1 param2 param3 param4 param5 class
> A 111 15 125 40 0.5 1
> B 347 13 280 55 3 2
>
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)
2016 Jul 09
2
Red Neuronal complicada categorías
Hola,
Esta es una forma de hacerlo...
Mira que lo primero que he modificado es el fichero "x.csv" para sustituir
los espacios en los nombres por "_". Y también he quitado los acentos y las
eñes...
He utilizado el paquete RNNS y la función "mlp()" para ajustar la red.
#-------------------------------------------
> x <- read.csv("x.csv",