Displaying 20 results from an estimated 10000 matches similar to: "Predict.nnet ?"
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,
2001 Jan 10
1
Rcmd ?
Hi,
I tried running Rcmd.exe to no avail. It doesn't even start because it tries
to read some memory address that NT says it can't and terminate.
I tried downloading and reinstalling rw1020sp.zip with the installer twice
just in case it got corrupted somehow in transport but it resulted in the
same problem.
What should I do?
platform i386-pc-mingw32
arch x86
os Win32
system
2001 Jan 14
1
Redrawing !
Hi,
If I may suggest that something be done to the window drawing function of a
plot. As it is now, we don't even have time to resize the window by a tiny
bit before it's invoke and I think it would be an improvement if while the
mouse is down the redrawing was delayed somehow. This is especially true
when the plot is crowded. I also observed that moving the plot window around
was a lot
2000 Apr 06
1
RODBC
Hi,
I've installed the RODBC library, R1.000, NT 4.0. When I try to load it here
is what I get:
library(RODBC)
Warning message:
Package `RODBC' contains no R code in: library(RODBC)
channel <- odbcConnect("PubsDSN", "sa", "password") # userId and password
Error: couldn't find function "odbcConnect"
Does anyone can shed some ligth on this
2001 Jan 17
1
Scientific notation?
Hi,
Would there be a function and/or some options to force R to write a value of
say 1.0e-4 as "0.0001"? More specifically I want to use R to write ASCII
file(s) for other programs to read and some of these programs don't know how
to deal numbers in scientific notation or have a different convention.
Thanks in advance.
Yves Gauvreau
B.E.F.P. Universit? du Qu?bec ? Montr?al
cyg at
2000 Oct 17
3
Cleaning things up?
Hi,
I know it must be written somewhere but I can't find it.
I'd like to remove all variables or objects that I've created but not the
functions. I look at a few things without success. Is there a R way of doing
this? There are to many to create a manual list.
Thanks in advance.
Yves Gauvreau
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help
2000 Dec 06
1
R: RE:
A trick I use is to give tab-delimited text files created by excel or R the
.xls extension: this may apply, and it may be better, to CSV:
R couldn't see any difference whichever the extension will be, and windows
will be foolished by the .xls extension an will open the file with Excel
that will handel it CORRECTLY.
If you need to have the data always alligned in Excel and R this trick will
2000 Aug 24
1
How to?
Hi,
Is there a way to apply a function to rows or columns of a matrix?
Now I use apply(as.matrix(1:nrow(m), 1, function(x) mean(m[x,])) which works
fine but kind of slow on large matrix. I'm sure there is something on this
somewhere but I can't find it.
Thanks
Yves Gauvreau
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
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
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
2001 Nov 26
1
predict.nnet (PR#1181)
Full_Name: Jeff Schwarz
Version: R1.3.1
OS: Windows 2000
Submission from: (NULL) (129.22.170.115)
Error message (using predict and predict.nnet)
> predict (smalltest, smallx[-jj,])
Error in matrix(NA, length(keep), nout, dimnames = list(rn,
dimnames(object$fitted)[[2]])) :
length of dimnames[1] not equal to array extent
*** all relevant code and data source is given below ***
I
2000 Jul 28
4
gremlin in rep()
the following occurred inadvertently and brought R-1.1.0 down
rep(1:3, c(4,2,-6))
Segmentation Fault (core dumped)
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 1.0
year 2000
month June
day 15
language R
1999 Dec 02
2
Meaning?
Hi,
Sorry to ask this but what is the meaning of "AFAIK". From a darn Frenchman!
Regards.
Yves
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request
2000 Sep 24
2
Folding ?
Hi,
I need to write a function that would look something like this:
S <- function(b=betas){
expression(b[1] * f(b[2] * x * f(b[3] * x * f(...b[n-1] * x * f(b[n] *
x)))...)
}
Where n is the number of element in b.
Further I need to be able to evaluate S at some x numerically of course and
I need to use "deriv" and produce dS/dx such that I can evaluate it also at
some x.
I
2001 Feb 18
3
Rcmd
I'm running Windows NT4. Rcmd does not seen to
read the command line. Rterm and other things work
well. For example "Rcmd check --help" fails with
the command interpreter trying to find a program
or file called "check." What have I missed?
--
Bob Wheeler --- (Reply to: bwheeler at echip.com)
ECHIP, Inc.
2019 Jul 18
2
predict multinomial model con nnet
Hola todos
Cuando realizo las predicciones del modelo multinomial con el paquete nnet,
estas cambian cada vez que lo ejecuto ... saben por qué pasa esto ??
Gracias por la ayuda.
[[alternative HTML version deleted]]
2010 Nov 26
1
Issues with nnet.default for regression/classification
Hi,
I'm currently trying desperately to get the nnet function for training a
neural network (with one hidden layer) to perform a regression task.
So I run it like the following:
trainednet <- nnet(x=traindata, y=trainresponse, size = 30, linout = TRUE, maxit=1000)
(where x is a matrix and y a numerical vector consisting of the target
values for one variable)
To see whether the network
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
1999 Nov 16
2
Grid lines?
Hi,
I'm new to R and I wonder if it's possible to have grid lines on a graph?
Thanks.
Yves Gauvreau
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To:
2004 Mar 13
4
nnet classification accuracy vs. other models
I was wandering if anybody ever tried to compare the classification
accuracy of nnet to other (rpart, tree, bagging) models. From what I
know, there is no reason to expect a significant difference in
classification accuracy between these models, yet in my particular case
I get about 10% error rate for tree, rpart and bagging model and 80%
error rate for nnet, applied to the same data.
Thanks.