Displaying 20 results from an estimated 10000 matches similar to: "ordered factor and unordered factor"
2013 Jul 09
2
[LLVMdev] Floating point ordered and unordered comparisons
Hi All,
I noticed LLVM target independent side is converting an ordered less than
"setolt" into unordered greater than "setuge" operation. There are no
target hooks to control going from the ordered mode into unordered.
I am trying to figure out the best way to support unordered operation on
Hexagon. We don't have a single instruction to do unordered operation. So
we
2010 Feb 03
1
Changing an unordered factor into an ordered factor
I'm trying to change an unordered factor into an ordered factor:
data96$RV961327 <- data96$V961327
data96$RV961327[data96$V961327 %in% levels(data96$V961327)[4]] <- NA
data96$RV961327[data96$V961327 %in% levels(data96$V961327)[5]] <- NA
data96$RV961327 <- factor(data96$RV961327)
attributes(data96$RV961327)
levels(data96$RV961327)
data96$RV961327
data96$RRV961327 <-
2013 Aug 29
1
[LLVMdev] Ordered / Unordered FP compare are not handled properly on X86
On 29 August 2013 10:12, Demikhovsky, Elena <elena.demikhovsky at intel.com> wrote:
> But this is another case. LLVM IR distinguishes between ordered and unordered compare and X86 backend has appropriate instructions.
I think LLVM uses ordered/unordered compare to mean something
different to what the x86 instructions do. For example, "not equal":
fcmp une == unordered not
2013 Jul 09
0
[LLVMdev] Floating point ordered and unordered comparisons
On Tue, Jul 9, 2013 at 3:00 PM, <sundeepk at codeaurora.org> wrote:
> Hi All,
>
> I noticed LLVM target independent side is converting an ordered less than
> "setolt" into unordered greater than "setuge" operation. There are no
> target hooks to control going from the ordered mode into unordered.
>
> I am trying to figure out the best way to support
2013 Aug 29
0
[LLVMdev] Ordered / Unordered FP compare are not handled properly on X86
But this is another case. LLVM IR distinguishes between ordered and unordered compare and X86 backend has appropriate instructions.
But during DAG selection we just lose this information and always generate unordered fcmp.
I.e. in case of ordered fcmp the vcomiss should be generated, and in case of unordered - vucomiss.
- Elena
-----Original Message-----
From: Dr D. Chisnall [mailto:dc552 at
2013 Jul 10
1
[LLVMdev] Floating point ordered and unordered comparisons
> The function ISD::getSetCCInverse() would probably be useful for you
> here: you can use it to transform an unordered operation into an
> ordered operation.
Thanks for your reply Eli. I will check how to convert unordered
operations back to ordered one. I have another related question - is it
possible for frontend (clang) to generate unordered operation from the
source code?
-Sundeep
2002 Sep 11
1
subsetting an ordered factor
[I hope all of you had some good holidays/vacation!]
My current flabbergaster:
## a dummy factor
> size<- rep( c('short', 'long'), 10 )
## take a subset:
> subset( size, size!='short')
[1] "long" "long" "long" "long" "long" "long" "long" "long" "long" "long"
##
2013 Aug 29
2
[LLVMdev] Ordered / Unordered FP compare are not handled properly on X86
On 29 Aug 2013, at 08:19, Tim Northover <t.p.northover at gmail.com> wrote:
> If so, a compare that used that instruction would have to become more
> like an "invoke" with a landingpad for the exception and so on,
> wouldn't it? The current fcmp can already distinguish between ordered
> and unordered, because ucomiss provides that information.
There are currently
2013 Aug 29
2
[LLVMdev] Ordered / Unordered FP compare are not handled properly on X86
Should I open a ticket for this?
- Elena
From: Eli Friedman [mailto:eli.friedman at gmail.com]
Sent: Wednesday, August 28, 2013 19:51
To: Demikhovsky, Elena
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Ordered / Unordered FP compare are not handled properly on X86
On Wed, Aug 28, 2013 at 2:16 AM, Demikhovsky, Elena <elena.demikhovsky at intel.com<mailto:elena.demikhovsky at
2013 Aug 28
2
[LLVMdev] Ordered / Unordered FP compare are not handled properly on X86
I found that there is no diff in code generator for Ordered / Unordered FP compare instructions.
FUCOMISS, FUCOMISD are generated in the both cases.
- Elena
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or
2013 Aug 28
0
[LLVMdev] Ordered / Unordered FP compare are not handled properly on X86
On Wed, Aug 28, 2013 at 2:16 AM, Demikhovsky, Elena <
elena.demikhovsky at intel.com> wrote:
> I found that there is no diff in code generator for Ordered / Unordered
> FP compare instructions.
> FUCOMISS, FUCOMISD are generated in the both cases.
>
>
> Yes. That's how fcmp is defined in LangRef.
-Eli
-------------- next part --------------
An HTML attachment was
2011 Nov 15
2
Models with ordered and unordered factors
Hello;
I am having a problems with the interpretation of models using ordered or
unordered predictors.
I am running models in lmer but I will try to give a simplified example
data set using lm.
Both in the example and in my real data set I use a predictor variable
referring to 3 consecutive days of an experiment. It is a factor, and I
thought it would be more correct to consider it ordered.
Below
2013 Aug 29
0
[LLVMdev] Ordered / Unordered FP compare are not handled properly on X86
On 29 August 2013 06:31, Demikhovsky, Elena <elena.demikhovsky at intel.com> wrote:
> Should I open a ticket for this?
I think he was saying this is intended behaviour. Isn't the difference
between ucomiss and comiss just whether an exception is raised for
NaN?
If so, a compare that used that instruction would have to become more
like an "invoke" with a landingpad for the
2010 Feb 17
1
Unordered Factors For ggplot?
I have data that comes into R already ordered. When I use ggplot, it orders
them which I don't want. How do I fix this without changing
options("contrast")?
The data I have is number of days:
30
29
...
20
19
...
10
9
...
1
When I plot with ggplot, it orders them by the first number only. So 3 ends
up coming before 29.
--
View this message in context:
2010 Apr 18
1
unorder an ordered factor
Given an ordered factor, how does one unorder it?
I tried various commands with reorder, with order=F, but they all gave me
error messages. I also tried to drop the order with various 'as dot
something' commands, but these didn't work either.
--
View this message in context: http://n4.nabble.com/unorder-an-ordered-factor-tp2014745p2014745.html
Sent from the R help mailing list archive
2012 Jul 13
2
[LLVMdev] LLVM IR atomics: difference between unordered and monotonic?
Hi All,
I am reading about LLVM IR atomics (http://llvm.org/docs/Atomics.html)
and get confused about the difference between "Unordered" and "Monotonic".
In particular, I am not sure I understand the statement of "It essentially
guarantees that if you take all the operations affecting a specific
address, a consistent ordering exists.". For me, it means that for the
2012 Oct 23
1
Creating a polygon from an unordered set of points
Hello,
I have the contour of the shoreline of a lake. I have measured data points
away from the lake shore signifying a particular depth. The data is not
ordered as a polygon and hence trying to draw it creates a series of lines
all over the place. I would like to turn the points into a ordered set that
results in a smooth polygon.
I have tried a "nearest point" approach. An example
2009 Oct 08
1
unordered multinomial logistic regression (or logit model) with repeated measures (I think)
I am attempted to examine the temporal independence of my data set and think
I need an unordered multinomial logistic regression (or logit model) with
repeated measures to do so. The data in question is location of chickens.
Chickens could be in any one of 5 locations when a snapshot sample was
taken. The locations of chickens (bird) in 8 pens (pen) were scored twice a
day (AMPM) for 20 days
2008 Feb 20
2
factors ordered by mean
Hi,
How to order the levels os factor not by alphabetic order but by mean of Y.
Somethink like this:
I have this alphabetic order:
> levels(pH)
[1] "alto" "baixo" "medio"
the order by mean os yvar is:
> sort(tapply(Riqueza,pH,mean))
baixo medio alto
11.56667 20.00000 26.80000
How to make the levels of pH ordered by this mean to the result to
2009 Sep 17
3
generating unordered combinations
Hi,
I am trying to generate all unordered combinations of a set of
numbers / characters, and I can only find a (very) clumsy way of doing
this using expand.grid. For example, all unordered combinations of
the numbers 0, 1, 2 are:
0, 0, 0
0, 0, 1
0, 0, 2
0, 1, 1
0, 1, 2
0, 2, 2
1, 1, 1
1, 1, 2
1, 2, 2
2, 2, 2
(I have not included, for example, 1, 0, 0, since it is equivalent to
0, 0, 1).
I have