Displaying 20 results from an estimated 500 matches similar to: "Composition of NEAR and OR"
2013 Jun 11
1
Help needed in feature extraction from two input files
Hi,
Try this:
lines1<- readLines(textConnection("gene1 or1|1234 or3|56 or4|793
gene4 or2|347
gene5 or3|23 or7|123456789"))
lines2<-readLines(textConnection(">or1|1234
ATCGGATTCAGG
>or2|347
GAACCTATCGGGGGGGGAATTTATATATTTTA
>or3|56
ATCGGAGATATAACCAATC
>or3|23
AAAATTAACAAGAGAATAGACAAAAAAA
>or4|793
ATCTCTCTCCTCTCTCTCTAAAAA
>or7|123456789
2014 Aug 21
2
pregunta
Buenas noches Javier y José,
Estoy en contra de usar attach(), asi que propongo la siguiente alternativa
con with():
# paquete
require(epicalc)
# los argumentos en ... pasan de epicalc:::cc
# ver ?cc para mas informacion
foo <- function(var1, var2, var3, ...){
or1 <- cc(var1, var2, ...)
or2 <- cc(var1, var3, ...)
list(or1 = or1, or2 = or2)
}
# datos
x <-
2010 Jan 27
1
Possible bug in fisher.test() (PR#14196)
# is there a bug in the calculation of the odds ratio in fisher.test?
# Nicholas Horton, nhorton at smith.edu Fri Jan 22 08:29:07 EST 2010
x1 = c(rep(0, 244), rep(1, 209))
x2 = c(rep(0, 177), rep(1, 67), rep(0, 169), rep(1, 40))
or1 = sum(x1==1&x2==1)*sum(x1==0&x2==0)/
(sum(x1==1&x2==0)*sum(x1==0&x2==1))
library(epitools)
or2 = oddsratio.wald(x1, x2)$measure[2,1]
or3 =
2014 Aug 21
2
pregunta
Estimados
Estoy entrenando hacer funciones que respondan a comandos,
en esta caso en la salida gráfica se observa que dice : Exposure=var3 y
outcome=var 1
quisiéramos que se reflejan los nombres de la base de datos : var1=estado,
var2=cake, var3=chocolate
Espero haberme explicado adecuadamente
Adjunto tabla con datos
####################################
#Comando que llama
2017 Jan 20
2
NEAR non-leaf subqueries
Olly Betts writes:
> On Thu, Jan 12, 2017 at 07:53:21PM +0100, Jean-Francois Dockes wrote:
>
> > Recoll also supports multi-word synonyms which could potentially
> > generate PHRASE subqueries inside NEAR queries, but this
> > understandably already did not work with 1.2, so the multi-word
> > expansions are only used when proximity is not involved (by the way,
2010 Sep 08
3
[LLVMdev] Complex regalloc contraints
Hi Carlos, Jakob,
The PBQP allocator was designed to support a very wide range of constraints,
and can handle something like this easily.
Say you have 4 of these orX/irX registers, then for any pair of virtual
registers used in such an add instruction you would add the following
constraint matrix to the PBQP instance:
[ 0 inf inf inf ]
[ inf 0 inf inf ]
[ inf inf 0 inf ]
[ inf inf inf 0
2017 Jan 04
2
NEAR non-leaf subqueries
Olly Betts writes:
> On Thu, Dec 29, 2016 at 07:21:41PM +0100, Jean-Francois Dockes wrote:
> > Xapian 1.2 supports a query like:
> >
> > (A OR B) NEAR (C OR D)
> >
> > and distributes the factors to create something like:
> >
> > (A NEAR 2 C) OR (B NEAR 2 C) OR (B NEAR 2 C) OR (A NEAR 2 C)
> >
> > Xapian 1.4 rejects such
2010 Sep 07
0
[LLVMdev] Complex regalloc contraints
On Sep 7, 2010, at 3:01 AM, Carlos Sanchez de La Lama wrote:
> The machine I am targeting has some special requirements for some
> operations, say:
>
> ADD or1, ir1, r5
>
> would add ir1 (input reg 1) and r5 and put the result in or1 (output reg
> 1). The point id that input and output regs have to go paired (this
> meaning an addition of ir1 with whatever always goes to
2010 Sep 07
2
[LLVMdev] Complex regalloc contraints
Hi all,
The machine I am targeting has some special requirements for some
operations, say:
ADD or1, ir1, r5
would add ir1 (input reg 1) and r5 and put the result in or1 (output reg
1). The point id that input and output regs have to go paired (this
meaning an addition of ir1 with whatever always goes to or1, or an in
general irX + whatever goes to orX).
AFAIK, InstrInfo.td only allow
2017 Jan 12
2
NEAR non-leaf subqueries
Olly Betts writes:
> On Wed, Jan 04, 2017 at 07:29:58AM +0100, Jean-Francois Dockes wrote:
> > Olly Betts writes:
> > > The ticket has a patch which attempts to handle the OR case (which seems
> > > to be the part you actually care about) but this suffers from issues with
> > > object lifetimes which get a bit involved in the details. Since there
>
2013 Sep 17
16
Xen VGA Passthrough - GTX 480 successfully quadrified to quadro 6000 (softmod) - more than 4GB of RAM for Win XP 64 Bits
Hi Gordan,
I received my Asus GTX 480 today (bought on ebay).
Finally I succeeded in
- quadrifying my GTX 480 into a Quadro 6000 ( softmod).
- overpassing the 3-4GB of RAM on Windows XP 64 bits (domU) by applying a well known patch for Xen.
- playing Crysis 2 and Darksiders II for a few minutes.
http://img11.hostingpics.net/pics/953254ScreenshotXenSoftModedQuadro6000.png
Using nvlfash I
2007 Oct 01
3
How to beat Google aka Xapian & Natural Language Processing.
Xapians!
If tomorrow Xapian search engine would achieved the same performance
and result in searches as Google we would not be able to beat Google,
because we would create only a copy of the searches that already
exists from Google search engine. However there is a way to beat
anyone, and there is a way to beat Google successfully as well just do
not give up. Some see it as implementing Ajax, or
2006 Dec 06
1
Bug and patch for +terms with wildcards
In current Xapian SVN HEAD, there is a bug in the query parser concerned
with the handling of wildcard terms with a "+" prefix. Specifically,
a query such as "+foo* bar" will be parsed by the query parser into
Xapian::Query("bar") if there are no terms in the database which start
"foo". Instead, since the "+" term cannot be matched, I believe
2011 May 27
1
Does OP_NEAR works with stemming?
Hi All,
I used the OP_NEAR operator for queryparser, and when I searched for "apple store" from my own collection, the query is parsed as "Zappl:(pos=1) NEAR 11 Zstore:(pos=2)" but retrieved nothing. However, if I type in "Apple Store", the query is parsed as Xapian::Query((apple:(pos=1) NEAR 11 store:(pos=2))) and some results are showed. I'm not sure whether
2009 Jan 07
2
Plotting a graph for every Level of a Factor
Hello,
I'm sorry if this seems similar to my last post but I thought it was
significantly different to warrent a new thread. Using the dataset below,
is there a way to generate a bar/line plot for the TACC/Catch of every lvl
of stock? i.e. OR1,OR3,OR5. The picture at the bottom of this post is an
example of the bar/line plot for OR1 which was generated when OR1 was the
only stock in the
2016 Dec 29
2
NEAR non-leaf subqueries
Hi,
Xapian 1.2 supports a query like:
(A OR B) NEAR (C OR D)
and distributes the factors to create something like:
(A NEAR 2 C) OR (B NEAR 2 C) OR (B NEAR 2 C) OR (A NEAR 2 C)
Xapian 1.4 rejects such a query with the error message.
OP_NEAR and OP_PHRASE only currently support leaf subqueries
Because Recoll expands the terms to their stem siblings at query time, its
NEAR queries
2024 Apr 26
1
queries for a set of values
I probably should've used boolean terms in addition to numeric
values when indexing, but currently I have a set of numeric
values[1] and trying to avoid having to reindex ~250GB DBs
(and asking numerous users to do the same).
Say I have a bunch of values which I want to filter a query against.
If I had boolean terms, it could just OP_OR against the whole set.
IOW, this is what notmuch does
2009 Jan 07
1
Bar Plot with Connected Points on 1 Y-Axis
Hi Everyone,
Have created a bar plot of the data below using the following code:
barplot(TACC,space=0,names.arg=Year). I now want to add a series of
connected points to represent the catch. I tried to do this using
line(Catch) or points(Catch), however both of these commands result in each
data point being aligned with the right edge of each bar. I need them to be
solid points in the centre of
2014 Oct 30
2
Does Xapian support retrieval optional?
Hi,
I've been using Xapian for a while. But there is a scene I don't know
whether supported already.
Suppose:
1. Raw query: how to make pizza
2. Parsed query: how AND to AND make AND pizza
3. Documents:
d1: how to make pizza at home
d2: 3 ways to make pizza
d3: make pizza in 4 easy steps
Question:
1. During searching process, how to retrieve d2, d3 (although they don't
2017 Jan 20
0
NEAR non-leaf subqueries
On Fri, Jan 20, 2017 at 03:35:13PM +0100, Jean-Francois Dockes wrote:
> Olly Betts writes:
> > On Thu, Jan 12, 2017 at 07:53:21PM +0100, Jean-Francois Dockes wrote:
> >
> > > Recoll also supports multi-word synonyms which could potentially
> > > generate PHRASE subqueries inside NEAR queries, but this
> > > understandably already did not work with