search for: 1e1

Displaying 20 results from an estimated 22 matches for "1e1".

Did you mean: 11
2016 Oct 28
2
Encontrar la primera columna no NA
...r un poco mas en R base o incorporar Rcpp, pero creo que al menos por mi parte llego hasta aqui. Muy interesante tanto el problema como las soluciones propuestas, un saludo! Adolfo. library(microbenchmark) library(data.table) library(dplyr) library(tidyr) set.seed(123456) numero <- 1e5 N <- 1e1 tabla <- microbenchmark( JVG ={ dat <- data.table( Uno = sample( c(runif(numero) , rep(NA , numero /2e0 )) , size = numero ) , dos = sample( c(runif(numero) , rep(NA , numero /1e1 )) , size = numero ) , tres = sample( c(runif(numero)...
2016 Oct 27
4
Encontrar la primera columna no NA
...> CC: R ayuda <r-help-es en r-project.org> Enviado: Thu, 27 Oct 2016 17:17:12 +0200 (CEST) Asunto: Re: [R-es] Encontrar la primera columna no NA Hemos mejorado bastante desde el inicio. Pero aun andamos lejos. Igual es por el merge que hago. Seguire mirando library(microbenchmark) N <- 1e1 tabla <- microbenchmark( # JVG_dplyr ={ # dat %>% # apply( MARGIN = 1, FUN = # function(x){ # which( !is.na(x) ) %>% min( na.rm = TRUE ) %>% return() # } # ) # dat[ , First_month := First_month]...
2016 Oct 27
2
Encontrar la primera columna no NA
...-------------------------------- # First not NA colum per subject library(data.table) library(dplyr) set.seed(123456) numero <- 1e5 dat <- data.table( Uno = sample( c(runif(numero) , rep(NA , numero /2e0 )), size = numero ) , dos = sample( c(runif(numero) , rep(NA , numero /1e1 )), size = numero ) , tres = sample( c(runif(numero) , rep(NA , numero /2e1 )) , size = numero ) , cuatro = sample( c(runif(numero) , rep(NA , numero /1e2 )) , size = numero ) , cinco = sample( c(runif(numero) , rep(NA , numero /2e2 )) , size = numero ) ,...
2007 Aug 08
1
E1 or analog line
Hi: I want to have conference call(meetme) service with asterisk and 30 users.Now do I use 1E1 or 30 analog lines with due attention to high price of E1 line?And which interface card do I use? Best regards. --------------------------------- Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. -------------- next part -------------- An HTML attachment was...
2016 Oct 27
3
Encontrar la primera columna no NA
...-------------------------------- # First not NA colum per subject library(data.table) library(dplyr) set.seed(123456) numero <- 1e5 dat <- data.table( Uno = sample( c(runif(numero) , rep(NA , numero /2e0 )), size = numero ) , dos = sample( c(runif(numero) , rep(NA , numero /1e1 )), size = numero ) , tres = sample( c(runif(numero) , rep(NA , numero /2e1 )) , size = numero ) , cuatro = sample( c(runif(numero) , rep(NA , numero /1e2 )) , size = numero ) , cinco = sample( c(runif(numero) , rep(NA , numero /2e2 )) , size = numero ) ,...
2016 Oct 14
3
[test-suite] making polybench/symm succeed with "-Ofast" and "-ffp-contract=on"
...t;A[%d][%d] = %lf and B[%d][%d] = %lf differ more than" " FP_ABSTOLERANCE = %lf\n", i, j, V1, i, j, V2, AbsTolerance); return 0; } Do you want me to add the relative tolerance for the 2 tests? polybench/linear-algebra/kernels/symm, FP_ABSTOLERANCE=1e1 polybench/linear-algebra/solvers/gramschmidt, FP_ABSTOLERANCE=1e0 What should be a good relative tolerance to set for these two tests? Here is the code to compute the relative tolerance from fpcmp: // Check to see if these are inside the absolute tolerance if (AbsTolerance < fabs(V1-V2)) {...
2016 Oct 20
2
[test-suite] making polybench/symm succeed with "-Ofast" and "-ffp-contract=on"
On Fri, Oct 14, 2016 at 6:10 PM, Hal Finkel <hfinkel at anl.gov> wrote: >> polybench/linear-algebra/kernels/symm, FP_ABSTOLERANCE=1e1 >> polybench/linear-algebra/solvers/gramschmidt, FP_ABSTOLERANCE=1e0 >> What should be a good relative tolerance to set for these two tests? > > What's the minimum relative tolerance that you need for them to pass? Setting FP_ABSTOLERANCE=1e-5, the two tests are passing when...
2012 Sep 28
1
Crosstable-like analysis (ks test) of dataframe
Hi, I have a dataframe with multiple (appr. 20) columns containing vectors of different values (different distributions). Now I'd like to create a crosstable where I compare the distribution of each vector (df-column) with each other. For the comparison I want to use the ks.test(). The result should contain as row and column names the column names of the input dataframe and the cells should
2012 Oct 09
2
simulating a toss of a coin
All, I've devised a way to toss a coin three times and record the number of heads, then use the table command to summarize the number of time 0, 1, 2, or 3 heads were obtained. n <- 100 x <- sample(c("H","T"),3*n,replace=TRUE) dim(x) <- c(3,n) num_heads <- apply(x,2,function(x) sum(x=="H")) table(num_heads)/n What I'd like to do next is run this
2008 Apr 25
2
Differentiate alphanumeric vs numeric strings
I have a bunch of tables in a Microsoft Access database. An updated database is sent to me every week containing a new table. I know that is inefficient and weird but welcome to my life. I want to read the tables whose names are something such as "040207" but not the ones that have alphanumeric names such as "everyone". Using RODBC I am easily able to create a character vector
2016 Oct 12
8
[test-suite] making polybench/symm succeed with "-Ofast" and "-ffp-contract=on"
On 12 October 2016 at 14:26, Sebastian Pop <sebpop.llvm at gmail.com> wrote: > Correct me if I misunderstood: you would be ok changing the > reference output to exactly match the output of "-O0 -ffp-contract=off". No, that's not at all what I said. Matching identical outputs to FP tests makes no sense because there's *always* an error bar. The output of O0, O1, O2,
2016 Oct 14
2
[test-suite] making polybench/symm succeed with "-Ofast" and "-ffp-contract=on"
On 14 October 2016 at 15:50, Sebastian Pop <sebpop.llvm at gmail.com> wrote: > These 3 tests are passing with the following configurations: > -O3 -ffp-contract=off > -O3 -ffp-contract=on > -O0 -ffp-contract=off > -O0 -ffp-contract=on > > They are not passing at: > -Ofast -ffp-contract=on > -Ofast -ffp-contract=off Let's separate completely FP-contract and
2016 Oct 12
4
[test-suite] making polybench/symm succeed with "-Ofast" and "-ffp-contract=on"
On Wed, Oct 12, 2016 at 10:53 AM, Hal Finkel <hfinkel at anl.gov> wrote: > I don't think that Clang/LLVM uses it by default on x86_64. If you're using -Ofast, however, that would explain it. I recommend looking at -O3 vs -O0 and make sure those are the same. -Ofast enables -ffast-math, which can legitimately cause differences. > The following tests pass at "-O3" and
2005 Jun 23
4
contrats hardcoded in aov()?
On 6/23/05, RenE J.V. Bertin <rjvbertin at gmail.com> wrote: > Hello, > > I was just having a look at the aov function source code, and see that when the model used does not have an Error term, Helmert contrasts are imposed: > > if (is.null(indError)) { > ... > } > else { > opcons <- options("contrasts") >
2015 Feb 13
2
[LLVMdev] trunk's optimizer generates slower code than 3.5
...jnz short loc_100000E90 loc_100000E3F: ; CODE XREF: _main+1F0 j mov edi, [rax+r13*4] mov edx, 0FFFFFFFFh mov ecx, 1 mov rsi, r11 loc_100000E50: ; CODE XREF: _main+1E1 j xor ebx, ebx mov ebp, edi sub ebp, [rsi] jz short loc_100000E95 cmp edx, ebp jz short loc_100000E95 cmp ecx, ebp jz short loc_100000E9...
2015 Feb 14
2
[LLVMdev] trunk's optimizer generates slower code than 3.5
...; CODE XREF: _main+1F0 j >> mov edi, [rax+r13*4] >> mov edx, 0FFFFFFFFh >> mov ecx, 1 >> mov rsi, r11 >> >> loc_100000E50: ; CODE XREF: _main+1E1 j >> xor ebx, ebx >> mov ebp, edi >> sub ebp, [rsi] >> jz short loc_100000E95 >> cmp edx, ebp >> jz short loc_100000E95 >>...
2015 Feb 14
2
[LLVMdev] trunk's optimizer generates slower code than 3.5
...t;>> mov edi, [rax+r13*4] >>>> mov edx, 0FFFFFFFFh >>>> mov ecx, 1 >>>> mov rsi, r11 >>>> >>>> loc_100000E50: ; CODE XREF: _main+1E1 j >>>> xor ebx, ebx >>>> mov ebp, edi >>>> sub ebp, [rsi] >>>> jz short loc_100000E95 >>>> cmp edx, ebp >>>> j...
2005 Jun 26
30
LiveVoip is Bankrupt
So it looks like Livevoip went Bankrupt ------------------------------------------- There is a Federal Court Order in place and has been since Friday early a.m. ALL Suppliers are now under a Court Order that prevents them from terminating any and all services to LiveVoip LLC. If they take such any action they will be in direct violation of a U.S. Federal Court Order. If you have any questions
2016 Jul 18
4
[PATCH v2 0/3] mllib: Various fixes and changes to Getopt module.
v1 -> v2: - Further fixes to Getopt int parsing. - Completed the L/S changes. - Fixed the test suite so it passes now. Also we don't need the special-case tests for 64 bit arch. Rich.
2016 Jul 18
3
[PATCH v4 0/2] mllib: Various fixes and changes to Getopt module.
v3 -> v4: - Pushed the first patch upstream since it was ACKed. - Prevent use of M except for the special virt-v2v options. - Sort the options after added --help etc. - Make corresponding fixes to the tests. Rich.