Displaying 20 results from an estimated 4000 matches similar to: "Details regarding the nnet package"
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
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 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
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.
2000 Aug 02
0
? predict.nnet
Hi,
I just want to point out a discrepancy between the documentation of predict.nnet & the function definition.
>?predict.nnet =>
predict.nnet package:nnet R Documentation
Predict New Examples by a Trained Neural Net
Description:
Predict new examples by a trained neural net.
Usage:
predict.nnet(object, x,
2010 Aug 16
0
Help for using nnet in R for NN training and testing
Hello,
I want to use nnet package in R, to train and simulate a NN and get the
value of MSE.
I am reading in a file which has 19 input variables and one output variable
and has a total of 2000 observations. The first column in the file is a
column just for giving the serial numbers of the observations.
I have already read in the file and also extracted the different values into
the matrices to
2005 Jul 27
1
how to get actual value from predict in nnet?
Dear All,
After followed the help of nnet, I could get the networks trained and, excitedly, get the prediction for other samples. It is a two classes data set, I used "N" and "P" to label the two. My question is, how do I get the predicted numerical value for each sample? Not just give me the label(either "N" or "P")? Thanks!
FYI: The nnet example I
2005 Jul 22
2
about nnet package
Dear All,
I'm learning to train a neural network with my training data by using nnet package, then evaluate it with a evaluation set. My problem here is that, I need the trained network to be used in future, so, what should I store? and How? Any other options other than nnet package? Any example will be highly appreciated!
Best,
Baoqiang Cao
2009 Nov 20
0
problem with predict from nnet package
Hi,
I’m having mayor issues with predict from the nnet package.
I’m training a neural network for forecasting. I trained the network with
info from 1995 to 2009 and I want to forecast month by month 2010.(the
network forecasts one month at a time).
Since I have to do iterative forecasting, im using predict several times
including, including the new forecast each time, but for some reason
2006 Mar 23
0
front- end problem while using nnet and tune.nnet
Dear R people,
I am using tune.nnet from e1071 package to tune the parameters for nnet.
I am using the following syntax:
tuneclass <-c(rep(1,46),rep(2,15))
tunennet
<-tune.nnet(x=traindata,y=tuneclass,size=c(50,75,100),decay=c(0,0.005,0.010),MaxNWts
= 20000)
Here traindata is the training data that I want to tune for nnet which
is a matrix with 61 rows(samples) and 200
2005 Sep 09
0
usage of the trianed networks by nnet without R enviromen t
One possibility is to look at predict.nnet(), and
- Write an R function that write out parts of an nnet object that are needed
by predict.nnet() to an external file.
- Re-write predict.nnet() in C, reading the model information from the
external file. Obviously you'll also need the C source for the code that
predict.nnet() calls, and modify those as needed to strip out dependency on
R, if
2006 Feb 02
0
problem with nnet
Hello All,
I am working with samr and nnet packages.
I am following the steps given below:
1> I take a input file with signal values for 9506 genes and 36 chips
, belonging to two classes.
2> I perform samr analysis on 80% of chip data from both the
classes.(selected by random sampling)
3> I then use the data of only the significant genes from this samr
analysis to train nnet.
4>
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)
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
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
2009 Jul 24
1
nnet library and FANN package'm
Hello !
I'd like to know to which of the FANN package network corresponds the R nnet
network ?
In more details, what is the R nnet activation function, what is the
training algorithm (rprop, quickprop, ...) ? Also, it seems that the R nnet
"decay" parameter in nnet corresponds to the "learning_rate" parameter in
FANN. Correct ?
Many thanks in advance !
Luc Moulinier
2000 Jul 22
1
maketitle garbles the title in package nnet (PR#613)
The TITLE for the nnet package is garbled: it comes out as
nnet Feed-forward neural networks and multinomial log-linear
nnet Feed-forward neural networks and multinomial log-linear models
The problem is in maketitle:
auk% cat DESCRIPTION
Bundle: VR
Version: 6.1-9
Date: 2000/07/11
Depends: R (>= 1.1)
Author: S original by Venables & Ripley.
R port by Brian Ripley
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
2009 May 29
1
final value of nnet with censored=TRUE for survival analysis
Hi there,
I´ve a question concerning the nnet package in the area of survival analysis: what is the final value, which is computed to fit the model with the following nnet-c
all:
net <- nnet(cat~x,
data=d,
size=2,
decay=0.1,
censored=TRUE,
maxit=20,
Wts=rep(0,22),
Hess=TRUE)
where cat is a matrix with a row for each record and