Displaying 20 results from an estimated 1039 matches for "nn".
2005 Mar 16
2
how to draw xyplot figure like figure 4.18 of MASS (4th) ?
Dear All:
Could you please tell me how I can draw figure formatted like figure 4.18 of MASS (4th) with the attached data set?
Thanks
Zhongming Yang
---------------------------------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sample.txt
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20050316/abfdb85e/sample.txt
2009 Nov 20
3
o2net patch that avoids socket disconnect/reconnect
This fix modifies o2net layer behavior which seems to trigger some
DLM race issues during umount/evictions that needs to be fixed as well.
I am working on the dlm issues but meanwhile please review this patch.
Thanks,
--Srini
2008 Feb 04
0
[PATCH] o2net: Reconnect after idle time out.
Currently, o2net connects to a node on hb_up and disconnects on
hb_down and net timeout.
It disconnects on net timeout is ok, but it should attempt to
reconnect back. This is because sometimes nodes get overloaded
enough that the network connection breaks but the disk hb does not.
And if we get into that situation, we...
2008 Feb 13
2
[PATCH] o2net: Reconnect after idle time out.V2
Modification from V1 to V2:
1. Use atomic ops instead of spin_lock in timer.
2. Add some comments when querying connect_expired work.
These comments are copied form Zach's mail.;)
Currently, o2net connects to a node on hb_up and disconnects on
hb_down and net timeout.
It disconnects on net timeout is ok, but it should attempt to
reconnect back. This is because sometimes nodes get overloaded
enough that t...
2019 Dec 02
3
ACL hide folders
After updating from 2.2.22 to 2.2.33 rsp 2.3.8 my ACLs went bust.
Below line in the global acl file hides all folders except INBOX for all
users
> * group=ALL
Next reenable certain folders, eg:
> Sent group=ALL lrwsi
This made anyone see "Sent" in 2.2.22, but no longer so in 2.2.33
Any ideas how to have it like before?
--
peter
2007 Jan 28
2
nnet question
Hello,
I use nnet to do prediction for a continuous variable.
after that, I calculate correlation coefficient between predicted value and
real observation.
I run my code(see following) several time, but I get different correlation
coefficient each time.
Anyone know why?
In addition, How to calculate predictio...
2003 Mar 11
0
Interrater and intrarater reliability
...nsubj,nmeas)),nrater),
matrix(as.matrix(Results),ncol=1)))
names(Frame1)<-c('Subject','Rater','Repetation','Result')
Frame1$Subject<-factor(Frame1$Subject)
Frame1$Rater<-factor(Frame1$Rater,labels=raterLabels)
Frame1$Repetation<-factor(Frame1$Repetation)
nn<-nsubj # this and following two commands: aliases for compatibility with Eliasziw et. al. notation
tt<-nrater
mm<-nmeas
aovFull<-aov(Result~Subject*Rater,data=Frame1)
meanSquares<-summary(aovFull)[[1]][,3]
for (raterAct in 1:tt)
{
raterActCat<-raterLabels[raterAct]
aovAct<-aov(...
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 has been answered before,
but I haven...
2003 Jan 29
2
substitute, eval and hastables
I have the following problem. I have an automatically generated named
list with "stringified" names:
a <- list("A"=..., "B"=..., "C"=..., )
then I want to refer to the elements of the list, stored as an vector
of names:
nn <- c("A", "B", "C"), so that I could get list elements like
a$nn[1], a$nn[2], etc. Obviously it doesn't work. Instead I do:
nn.Exp <- substitute(expression(a$b), list(b=nn[1]))
eval(nn.Exp)
in a result I get
expession(a$"A") but not the value sto...
2007 Feb 28
4
Help: CallerID Name not being sent on outbound PRI trunk
...ortion of the
callerID. I've looked at the logs, and it is being set (see below), but
the PRI debug output doesn't show the name being sent anywhere. As a
result, received calls always display from Unknown (or just the number).
Is there some config that I've missed somewhere?
I'm running NI-1 (Telus says NI-2 doesn't support the name feature, so
they've changed my link type).
Version: Asterisk 1.2.14 svn rev 48468
Asterisk Log:
Executing Set("SIP/304-091aafb8", "CALLERID(all)=Andrew<nnnnnnnnnn>") in
new stack
(I've replaced the digits with...
2008 Apr 10
1
memory issues with 1.1.rc4 (now it's PAM)
Hi!
I'm running 1.1rc4 on a system and this happens occasionally:
--8<--
mail.info; dovecot: auth(default): client in: AUTH 1 PLAIN service=imap lip=NN.NN.NN.NN rip=NNN.NN.NNN.NN lport=143
mail.info; dovecot: auth-worker(default): pam(XXXXXXXXXXXX,NNN.NN.NNN.NN): lookup service=imap
kern....
2005 Apr 27
5
26sec kame ipsec tunnel : packets leave unencrypted...
...;'m not sure that this
is the right place for my question (please don''t shoot me down ;)). For
the record, I''ve been reading and using LARTC for almost 3 years now, and
it''s a great help for anyone who wants to learn linux networking.
My problem:
I want to setup a tunnel for the following networks (tunnel esp 3des):
192.168.1.0/24 -|A|- 62.212.109.16 <--- INTERNET ---> 82.234.240.117 -|B|-
192.168.0.0/24
On "B", setkey -DP gives the following:
192.168.0.0/24[any] 192.168.1.0/24[any] any
out ipsec
esp/tunnel/82.234.240.117-62.2...
2012 Sep 06
2
choose() function returning anomalous results (zero instead of one)
...wanted to get all the relevant detail in that I know
of).
I've been having a lot of trouble with some code for an inventory analysis
problem I was doing, and finally came to the conclusion that it appears
that choose() is returning incorrect values. Specifically:
-------------
Browse[1]> nn
[1] 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3
Browse[1]> Q1
[1] 3
Browse[1]> choose(Q1,3)
[1] 0
Browse[1]> choose(Q1,nn)
[1] 1 1 1 1 1 1 1 1 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 0 0 0 0 0 0 0
------------------
Browse[1]> nn
[1] 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 2 2 2...
2012 Feb 04
1
combining data structures
Group
It's unlikely I'm trying this the best way, but I'm trying to create a
data structure from elements like
nNode = 2
nn = vector("list",nNode)
nn[[1]] = list(Node = "1", Connect.up = c(NULL), Connect.down = c(2,3))
nn[[2]] = list(Node = "2", Connect.up = c(1), Connect.down = c(4,5))
.... #( and eventually many more nodes)
NodeList = as.data.frame(nn[[1]])
for(i in 2:nNode...
2024 Feb 29
2
[External] converting MATLAB -> R | element-wise operation
I decided to do a direct comparison of transpose and sweep.
library(microbenchmark)
NN <- matrix(c(1, 2, 3, 4, 5, 6), nrow = 2, byrow = TRUE) # Example matrix
lambda <- c(2, 3, 4) # Example vector
colNN <- t(NN)
microbenchmark(
sweep = sweep(NN, 2, lambda, "/"),
transpose = t(t(NN)/lambda),
colNN = colNN/lambda
)
Unit: nanoseconds
expr mi...
2024 Feb 27
4
converting MATLAB -> R | element-wise operation
...t of it working, but raninto a stumbling block that
is probaably simple enough for someone to explain.
Basically, trying to 'line up' MATLAB results from an element-wise
division of a matrix by a vector with R output.
Here is a simplified version of the MATLAB code I'm translating:
NN = [1, 2, 3; 4, 5, 6];? % Example matrix
lambda = [2, 3, 4];? % Example vector
result_matlab = NN ./ lambda;
which yields
?0.50000?? 0.66667?? 0.75000
?2.00000?? 1.66667?? 1.50000
So, the only way I have stumbled onto in R to generate the same results
is to use 'sweep'. The following...
2013 Nov 08
1
11.5.0 - SIP registration not retrying after failures
...had an issue that
caused registration to fail.
The problem was that Asterisk did not keep retrying, and it was not until
it was restarted that registration was re-established.
Here are the entries in the full log:
[Nov 5 21:19:12] NOTICE[3248] chan_sip.c: -- Registration for 'username at nn.nn.nnn.nn' timed out, trying again (Attempt #1)
[Nov 5 21:19:32] NOTICE[3248] chan_sip.c: -- Registration for 'username at nn.nn.nnn.nn' timed out, trying again (Attempt #1)
[Nov 5 21:19:52] NOTICE[3248] chan_sip.c: -- Registration for 'username at nn.nn.nnn.nn' timed ou...
2006 Aug 08
2
Getting data out of a loop
A stupid question but I just cannot see how to do
this.
I have a loop that does some calculations and puts the
results in a vector for each iteration, but I cannot
see how to get the data out of the loop in such a way
that I can use it. I can print it but how do I get it
into a set of vectors or what ever.
Any help gratefully re...
2005 Sep 13
1
possible bug in model.matrix
...Thanks,
Whit
code:
x <- rnorm(50)
y <- matrix(as.logical(round(runif(100),0)),ncol=2)
NROW(x)==NROW(y)
lm(x~y)
> x <- rnorm(50)
> y <- matrix(as.logical(round(runif(100),0)),ncol=2)
> NROW(x)==NROW(y)
[1] TRUE
> lm(x~y)
Error in "[[<-.data.frame"(`*tmp*`, nn, value = c(2, 1, 2, 1, 1, 1, 2,
:
replacement has 100 rows, data has 50
>
However, the call to lm works if the matrix is a numeric instead of
logical:
x <- rnorm(50)
y <- matrix(runif(100),ncol=2)
NROW(x)==NROW(y)
lm(x~y)
Seems to be a problem in model.matrix.default:
debug: f...
2014 Dec 05
3
Version 4.1.13 can't join domain as BDC
Hi All
Having problem to join Samba as BDC in existing domain
PDC - w2003
Partition[DC=MKS,DC=lan,DC=net] objects[10114] linked_values[0]
Refusing to replicate DC=NN\0ADEL:9aac4878-b274-4bf6-92aa-4f42e40d1c43,DC=MKS,DC=lan,DC=net from a read-only repilca into a read-write replica!
Failed to convert object DC=NN\0ADEL:9aac4878-b274-4bf6-92aa-4f42e40d1c43,DC=MKS,DC=lan,DC=net: WERR_DS_DRA_SOURCE_IS_PARTIAL_REPLICA
Failed to convert objects: WERR_DS_DRA_SOURCE_IS_...