Displaying 20 results from an estimated 700 matches similar to: "nnet with weights parameter: odd error"
2004 Mar 30
1
classification with nnet: handling unequal class sizes
I hope this question is adequate for this list
I use the nnet code from V&R p. 348: The very nice and general function
CVnn2() to choose the number of hidden units and the amount of weight
decay by an inner cross-validation- with a slight modification to use it
for classification (see below).
My data has 2 classes with unequal size: 45 observations for classI and
116 obs. for classII
With
2004 Sep 23
0
nnet and weights: error analysis using V&R example
Dear R-users, dear Prof. Ripley as package maintainer
I tried to investigate the odd error, when I call nnet together with a
'weights' parameter, using the 'fgl' example in V&R p 348
The error I get is:
Error in eval(expr, envir, enclos) : Object "w" not found
I think it is a kind of scoping problem, but I really cannot see, what
the problem exactly is.
and
2011 Jan 05
0
Nnet and AIC: selection of a parsimonious parameterisation
Hi All,
I am trying to use a neural network for my work, but I am not sure about my
approach to select a parsimonious model. In R with nnet, the IAC has
not been defined for a feed-forward neural network with a single hidden layer.
Is this because it does not make sens mathematically in this case?
For example, is this pseudo code sensible?
Thanks in advance for your help. I am sorry if this
2004 Jun 14
2
CVnn2 + nnet question
Hi,
I am trying to determine the number of units in the hidden layer
and the decay rate using the CVnn2 script found in MASS directory
(reference: pg 348,MASS-4).
The model that I am using is in the form of Y ~ X1 + X2 + X3...
+ X11 and the underlying data is time-series in nature.
I found the MASS and nnet package extremely useful (many thanks
to the contributors).
However I am getting
2005 Sep 08
0
Effect of data set size on calculation
Dear listers,
I have a piece of code which performs an ANOVA type of analysis on 2D GC
data. The code is shown below:
# ANOVA 2D GC analysis
# maxc <- number of samples
# nreps <- number of samples
maxc <- 2
nreps <- 4
sscl <- NULL
cmean <- NULL
#
# Initial stat. variable
#
dftot <- nrow(mat)-1
dfcl <- maxc - 1
dferr <- dftot - dfcl
totmean
2020 Nov 03
0
[PATCH 1/2] Revert "vhost-vdpa: fix page pinning leakage in error path"
On 2020/10/30 ??3:45, Si-Wei Liu wrote:
> This reverts commit 7ed9e3d97c32d969caded2dfb6e67c1a2cc5a0b1.
>
> Signed-off-by: Si-Wei Liu <si-wei.liu at oracle.com>
> ---
> drivers/vhost/vdpa.c | 119 +++++++++++++++++++++------------------------------
> 1 file changed, 48 insertions(+), 71 deletions(-)
I saw this has been reverted there
2020 Oct 01
0
[PATCH] vhost-vdpa: fix page pinning leakage in error path
Pinned pages are not properly accounted particularly when
mapping error occurs on IOTLB update. Clean up dangling
pinned pages for the error path. As the inflight pinned
pages, specifically for memory region that strides across
multiple chunks, would need more than one free page for
book keeping and accounting. For simplicity, pin pages
for all memory in the IOVA range in one go rather than
have
2020 Oct 01
0
[PATCH v2] vhost-vdpa: fix page pinning leakage in error path
Pinned pages are not properly accounted particularly when
mapping error occurs on IOTLB update. Clean up dangling
pinned pages for the error path. As the inflight pinned
pages, specifically for memory region that strides across
multiple chunks, would need more than one free page for
book keeping and accounting. For simplicity, pin pages
for all memory in the IOVA range in one go rather than
have
2012 Jan 13
0
Example of "task seeds" with R parallel. Critique?
Greetings:
In R parallel's vignette, there is a comment "It would however take
only slightly more work to allocate a stream to each task." (p.6).
I've written down a working example that can allocate not just one,
but several separate seeds for each task. (We have just a few project
here that need multiple streams). I would like to help work that up
for inclusion in the
2005 Apr 20
1
negative p-values from fisher's test (PR#7801)
Full_Name: Martha Nason
Version: 2.0.1
OS: Windows XP
Submission from: (NULL) (137.187.154.154)
I am running simulations using fisher's test on 2 x c tables and a very small
p.value from fisher's test (<2.2e-16) is returned as a negative number. Code
follows.
> set.seed(0)
> nreps.outer <-7
> pvalue.fisher <- rep(NA,nreps.outer)
>
> population1 <- c(
2006 Aug 24
2
Why are lagged correlations typically negative?
Recently, I was working with some lagged designs where a vector of
observations at one time was used to predict a vector of observations at
another time using a lag 1 design. In the work, I noticed a lot of
negative correlations, so I ran a simple simulation with 2 matched
points. The crude simulation example below shows that the correlation
can be -1 or +1, but interestingly if you do this
2012 Oct 20
1
Logistic regression/Cut point? predict ??
I am new to R and I am trying to do a monte carlo simulation where I
generate data and interject error then test various cut points; however, my
output was garbage (at x equal zero, I did not get .50)
I am basically testing the performance of classifiers.
Here is the code:
n <- 1000; # Sample size
fitglm <- function(sigma,tau){
x <- rnorm(n,0,sigma)
intercept <- 0
beta
2003 Apr 03
0
debugging question
Dear R-devel,
A user reported a strange problem with predict.randomForest in the
randomForest package yesterday, and I'm baffled by it. The code at the end
of the message produces the error. The problem is that, in
predict.randomForest, there's a .Fortran call to "runforest". One of the
arguments passed in is "countts", which is a vector of doubles. The error
2014 Jun 09
1
EFI booting over network - can't then load anything
> -----Original Message-----
> From: H. Peter Anvin [mailto:hpa at zytor.com]
> Sent: 06 June 2014 16:14
> To: Andrew Rae; 'syslinux at zytor.com'
> Subject: Re: [syslinux] EFI booting over network - can't then load anything
>
> On 06/06/2014 07:27 AM, Andrew Rae wrote:
> > Hi all..
> >
> > Quick one if someone could show me a line out of their
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
On 11/30/2012 6:36 PM, Lang Hames wrote:
>
>
> RBP is used as the frame pointer on x86 (hence its automatic
> appearance in your code), and shouldn't be allocated to any vreg in
> function bar. Loading/saving RBP should be managed by the stack frame
> setup/teardown code.
> If it doesn't already, your allocator should filter out reserved
> registers (See
2003 Dec 10
0
C++: SET_LENGTH() Over Many Iterations?
In a C++ extension to R (v 1.8.1), I've been experimenting with a
generic "push back" function to tack one value at a time onto the end
of an R vector created within the extension. After calling this
function a certain number of times Rgui.exe (I'm writing in Windows
using Visual Studio .NET 2003) will fail with an Access Violation,
which doesn't happen when I pre-allocate
2013 Nov 17
0
PXE EFI booting - 2 issues!
On Sat, Nov 16, 2013 at 6:11 PM, Andrew Rae <A.M.Rae at leeds.ac.uk> wrote:
> Hi,
>
> background:
> I've managed to get EFI32, EFI64 and 'BIOS' modes all booting & working from the same TFTP/DHCP server using the setup described in message #10 here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720589#10
>
> I'm running this inside VMWare 9 -
2014 Jun 07
2
EFI booting over network - can't then load anything
> Message: 3
> Date: Fri, 06 Jun 2014 08:13:36 -0700
> From: "H. Peter Anvin" <hpa at zytor.com>
> To: Andrew Rae <A.M.Rae at leeds.ac.uk>, "'syslinux at zytor.com'"
> <syslinux at zytor.com>
> Subject: Re: [syslinux] EFI booting over network - can't then load
> anything
> Message-ID: <5391DAA0.2050207 at
2014 Jun 20
0
testing out 6.03 network booting...
On Thu, Jun 19, 2014 at 2:51 PM, Andrew Rae <A.M.Rae at leeds.ac.uk> wrote:
> Hi all,
>
> wasnt sure whether this was the best place to put this information; but something seems to have gone 'backwards' in the later pre-releases of 6.03 regarding network booting.
I'd say this is an excellent place to start.
I'm getting some similar results here with the precompiled
2009 Dec 04
1
R igraph clusters component
Hi R-users,
I'm using igraph for an undirected graph.
i used clusters() igraph function to know the component size(subgraphs) as shown bellow:
c <-clusters(g)
# component sizes
size <- sort(c$csize, decreasing=TRUE)
cat("Top 20 cluster of the graph","\n")
for (i in 1:20)
{
cat(i," size:",size[i] ,"\n")
}
Can anyone help how to extract the