Displaying 20 results from an estimated 228 matches for "instinct".
2004 Jul 07
3
Creating Binary Outcomes from a continuous variable
...earched the archives and my R books and cannot find a method to
transform a continuous variable into a binary variable. For example, I
have test score data along a continuous scale. I want to create a new
variable in my dataset that is 1=above a cutpoint (or passed the test)
and 0=otherwise.
My instinct tells me that this will require a combination of the
transform command along with a conditional selection. Any help is much
appreciated.
Thanks,
Harold
[[alternative HTML version deleted]]
2006 Jun 08
3
MVC and Pagination
Just wondering how to best integrate with pagination and still stick to
MVC...
Say I have a Post model that has a published attribute. I want to show
all the recent published posts on a page.
My first instinct is to create a method in the Post model called recent
that does the find with proper conditions and order, but the problem I
have is how do I use that with pagination (which definitely does not
belong in model)?
Any ideas?
Thanks,
Chris
2008 Dec 05
6
Running R Script on a Sequence of Files
...What I
want to do is:
1) Create a list of the file names in the directory (this is really
what I need help with)
2) For each item in the list...
a) open the file with read.table
b) perform some analysis
c) append some results to an array or save them to another file
3) Next File
My initial instinct is to use Python to rename all the files with
numbers 1:900 and then read them all, but the file names contain some
information that I would like to keep intact and having to keep a
separate database of original names and numbers seems inefficient. Is
there a way to have R read all the fil...
2006 Feb 10
4
db vs filesystem
...atastorage that way
easier to tie to userid and such
damn big databasedumps
--filesystem--
faster than db (according to some)
easily handles big files
extra complexity to tie users to filenames and directories outside the db
Do any of you guys have any experience with this, or for that matter
any instinctive reactions to the problem?
regards,
//Martin Kihlgren
--
###################################################################
A woman is like your shadow; follow her, she flies; fly from her, she follows.
-- Chamfort
###################################################################
2011 Dec 18
1
Why do non-lvds monitors default to dithering these days?
...can try and find a way to set the connector property more
permanently (if anyone has suggestions besides sticking an xrandr
command in my .xinitrc please let me know), but i don't see why we
would need to assume that anything but lvds and eDP needs to be
dithered.
--
Far away from the primal instinct, the song seems to fade away, the
river get wider between your thoughts and the things we do and say.
2008 Jan 11
2
Scripting issues
Users,
I am currently running scripts on a rather large dataset. Many times I sort
the data into smaller datasets and must analyze them individually. My
instincts are to make a for loop, but I can't seem to find a way to index
each sub-dataset (data frames as the case would have it). I would make an
array, however, the data types of the columns are different and as I
understand, an array cannot handle this type of structure.
Any advice on how to do thi...
2003 Jun 20
4
Spedd: R vs S-plus
...d with R for Linux when doing
much the same thing.
I don't have a direct comparison, because they're not
running on the same machine; but machine W has a faster
CPU and more RAM than machine L, yet S-plus on W seems
to take longer by quite a big factor (of the order of 5x)
than R on L.
My instincts say that "WIndows" is probably a significant
factor in the comnparison, but still ...
Ideally, to compare R with S-plus, one should look at them
both on the same OS (Unix or Windows) on the same machine.
Can anyone give me clean comparative speeds?
With thanks,
Ted.
----------------...
2010 Feb 16
1
difftimes; histogram; memory problems
...16,000. Really, what I need is a histogram of all
the values in this matrix.
Ex):
Condition1 <- data.frame('dates' = rep(c('2001-02-10','1998-03-14'),6000))
Condition2 <- data.frame('dates' = rep(c('2003-07-06','2007-03-11'),8000))
First, my instinct is to try and vectorize the operation. I tried
this by expanding each vector into a matrix of repeated vectors (I'd
then just subtract the two). I got the following error:
> expandedCondition1 <- matrix(rep(Condition1[[1]], nrow(Condition2)), byrow=TRUE, ncol=nrow(Condition1))
Error: c...
2013 Aug 15
2
[LLVMdev] Clarification between <type> and <ty> for alloca instruction
...ents) { %arr = alloca i32, i16
> %NumElements call void @use_array(i32* %arr) ret void }
>
> define void @ty_is_i32(i32 %NumElements) { %arr = alloca i32, i32
> %NumElements call void @use_array(i32* %arr) ret void }
Huh... I've obviously being playing with C++ too long because my
instinct immediately told me that dynamically sized arrays on the
stack are't allowed but apparently that's fine for C99 (g++ also seems
fine with this is you don't specify -pedantic)
> Of course, if NumElements *does* overflow they're different: alloca
> i32, i8 257 will allocate 1 i...
2009 Jan 15
4
time sync issue
I am running a Samba domain controller with LDAP integration. I have at
least some workstations which do not seem to be syncing the time with the DC
at all. My first instinct is to simply set the time with a logon script, but
of course that runs as the user, whom does not have permission to set the
system time. I would prefer to get it working right, to where the system
syncs its time with the time server runnong in the DC.
I have tried to find the cause. net time \\dc...
2010 Sep 17
4
[LLVMdev] Need advise on adding tests - Was: Re: ARM MC .s status?
Hi everyone,
I am trying to get up to speed on the MC object file emission for ARM,
the first cut being for ELF, and the testing required for that.
Obviously, we want the tests for the .o emission to ultimately test
the entire .ll -> many llvm passes -> .bc -> .o, but as a first cut,
my instinct tells me that a simple .cpp unit tests that directly
invokes the MC code to generate (and self-check) the ARM ELF might be
the way to go, but I am wondering where the best place for something
like this is? I.e. From what I can tell, in the test-suite, even
single file .c files are (according to the...
2009 Jan 21
2
No bootloader with D-I in domU on part. RAID1
....
There isn''t as much as a grub directory written on the /boot partition.
Not very surprising, the guest OS won''t boot after finishing the
installation anyway. I tried to install grub manually from outside the
domU, but that also doesn''t seem to get me anywhere.
Did I instinctively pick the one disk setup Xen (or grub) won''t work with?
Best regards,
Markus
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2024 Mar 10
1
kcc_periodic output
>
> Is the drepl local processes very busy doing inbound replication?
How can I check this?
My instinct is either the server is very busy (and this should show up in
> CPU use) or a transaction is being held open excessively.
I use VMs on Proxmox. In DC1, I installed the Proxmox agent, and CPU usage
via the dashboard is very low. However, when I checked using 'top,' the
LDAP process is c...
2011 May 06
2
Confidence intervals and polynomial fits
...ts.
Intuitively, I would have expected the confidence limits for the quartic term to be much narrower than for, say, the linear term, because the effect of variation in the quartic term is so much larger. But the way confidence intervals are calculated in R, at least, does not seem to follow my instincts here. In other words, predicted values using the 2.5% value of the linear coefficient and the 97.5% value of the linear coefficient are really not very different, but predicted values using the 2.5% value of the quadratic coefficient and the 97.5% value of the quadratic coefficient are enormously...
2010 Mar 07
2
Why can't "apply" be used with "as.factor" on a data.frame ?
Hi all,
Let's say I have a data.frame and wants to turn each of it's columns into a
factor.
My instinct would be to use as.factor with apply. But this won't work, and
result with a data.frame of characters.
I found another solution for how to achieve this, but I would also like to
understand - *WHY* does it work this way?
Here is an example script:
a <- data.frame(x1 = rnorm(100), x2 = sample...
2008 Jul 07
2
[LLVMdev] addrspace attribute and intrisics
...ooked into the implementation details, at the high
level, I personally think having the address space argument is cleaner
than having it encoded as a pointer. The memory barrier places a
barrier on the entire address space. When I see the %ptr11 on the
memory barrier instruction, my first instinct is to that it is a
memory barrier on the region of memory that %ptr11 points to. What
are other people opinions?
-- Mon Ping
On Jul 7, 2008, at 6:36 AM, Benedict Gaster wrote:
> Thanks, I can now see that this can be implemented with Verifier.cpp.
>
> Even with this ability It is...
2018 Nov 15
3
Mail slowed down to a crawl...
Been moving along just fine for a couple years now, then in the last two days, email has slowed to a crawl.
Retrieving email via IMAP is very slow, progress bar in the mail client shows that it is downloading messages almost constantly, like it never closes the connection, or it?s getting the messages very slowly. The server that dovecot/postfix is on has also bogged down to a crawl.
The
2020 Jan 10
2
DW_OP_implicit_pointer design/implementation in general
...out with the LLVM_implicit_value
(or was it LLVM_explicit_value? I forget)) - and synthesizing artificial
variables in the backend rather than trying to track which variable a
pointer points to. I think this would keep the impact on optimizations
smaller & would be more general. My wager/belief/instinct is that most
cases won't be pointing to a named variable with a single level of
indirection, but to unnamed variables, multiple levels of indirection, etc.
> I get the feeling that allowing more options here will come
> out as more conditions / branching elsewhere, in a way we could try...
2024 Mar 11
1
How to diagnose a busy LDAP server process in the Samba AD DC
...long each query is taking, potentially
showing a particularly slow query that needs to be stopped.
Andrew Bartlett
On Sun, 2024-03-10 at 19:46 -0300, Elias Pereira wrote:
> > Is the drepl local processes very busy doing inbound replication?
>
> How can I check this?
>
> > My instinct is either the server is very busy (and this should show
> > up in CPU use) or a transaction is being held open excessively.
>
> I use VMs on Proxmox. In DC1, I installed the Proxmox agent, and CPU
> usage via the dashboard is very low. However, when I checked using
> 'top,...
2024 Mar 10
1
kcc_periodic output
Either the local server is busy, or possibly (but it would not explain
the samba_kcc) Samba's drepl process is stuck talking to a remote
server.
Is the drepl local processes very busy doing inbound replication?
My instinct is either the server is very busy (and this should show up
in CPU use) or a transaction is being held open excessively.
Andrew Bartlett
On Sat, 2024-03-09 at 19:11 -0300, Elias Pereira via samba wrote:
> I've been grappling with a recurring set of errors for quite some
> time now:- Updat...