Displaying 20 results from an estimated 3000 matches similar to: "Speeding things up"
2007 Jan 09
2
Logical operations or selecting data from data.frames
Hi all,
why doesn't something like this does not work?
speedy <-
(sdata$VaR < sdata$DdtdAbs) && sdata$DdtdDuration >= qpois(pct,lambda) &&
sdata$Ddtd > MinDD
or sdata$Ddtd[sdata$Ddtd > 0 && sdata$VaR < sdata$DdtdAbs]
sdata looks like this:
dataId date value Ddtd VaR DdtdAbs DdtdDuration
18948 79637 2004-07-27 10085.10
2019 Apr 02
2
CMake support for Opus proposal (in addition to Autotools)
Hi,
Thanks for the quick feedback I have changed the name to avoid conflict.
Attached is the updated patch.
//Marcus
________________________________
From: Jean-Marc Valin <jmvalin at jmvalin.ca>
Sent: Tuesday, April 2, 2019 00:07
To: Marcus Asteborg; opus at xiph.org
Subject: Re: [opus] CMake support for Opus proposal (in addition to Autotools)
Hi Marcus,
There seems to be a conflict
2019 Apr 02
2
CMake support for Opus proposal (in addition to Autotools)
Right that I had completely missed, I have added the files and verified that it builds with CMake from the tar on Linux (out of the git repo)
I am parsing the package_version file from the tarball if it exists so it should maintain the version info.
//Marcus
________________________________
From: Jean-Marc Valin <jmvalin at jmvalin.ca>
Sent: Tuesday, April 2, 2019 11:38
To: Marcus
2016 Mar 28
2
Is it possible to extend log message?
Hello folks,
Is it possible to extend log message as large as PATH_MAX?
Current length of message format including file path is small against linux PATH_MAX, 4096.
diff --git a/log.c b/log.c
index ad12930..95df4a9 100644
--- a/log.c
+++ b/log.c
@@ -359,7 +359,7 @@ log_redirect_stderr_to(const char *logfile)
log_stderr_fd = fd;
}
-#define MSGBUFSIZ 1024
+#define MSGBUFSIZ 5192
void
2005 Feb 04
1
Keeping the data of C structure in R variables?..
Dear all,
does anybody know if there is a way to implement the following idea:
if for example I have a C/C++ structure of form:
struct {
int size;
char * data;
} SData;
in C code I could create some implementation that would create this
structure by pointer and fill in the data, so I would have a variable
something like
SData* myData;
Now what I need is to pass this data to a
2005 Feb 04
1
Keeping the data of C structure in R variables?..
Dear all,
does anybody know if there is a way to implement the following idea:
if for example I have a C/C++ structure of form:
struct {
int size;
char * data;
} SData;
in C code I could create some implementation that would create this
structure by pointer and fill in the data, so I would have a variable
something like
SData* myData;
Now what I need is to pass this data to a
2020 Mar 22
2
GSoC Interested student
Hi there Johannes!,
I was checking out the issue (about latency hiding when transferring
memory from host to device) you posted about a week ago, but it's not
there anymore. Did you remove it?.
Thanks.
Hamilton.
On 21/03/20 10:04 p. m., Hamilton Tobon Mosquera via llvm-dev wrote:
> Hi there!,
>
> Right now I'm starting with the project proposed by Johannes here:
>
2020 Mar 22
2
GSoC Interested student
Ahhh I understand. So I believe the project you posted is still opened.
Do you any advice on the question I posted before?.
Thank you.
On 22/03/20 1:26 p. m., Doerfert, Johannes wrote:
> I did not. The issues sections on GH was removed.
>
> ________________________________________
> From: Hamilton Tobon Mosquera <htobonm at eafit.edu.co>
> Sent: Sunday, March 22, 2020 12:21
2005 Apr 07
5
apply
Hi,
simple question I guess:
the following line works well:
aveBehav=c(apply(sdata, 2, mean))
However, I would like to pass an argument to the function mean, namely
na.rm=TRUE
Does anyone knows how to do this?
Thanks in advance,
Jan
2010 May 25
1
Need Help! Poor performance about randomForest for large data
Hi, dears,
I am processing some data with 60 columns, and 286,730 rows.
Most columns are numerical value, and some columns are categorical value.
It turns out that: when ntree sets to the default value (500), it says "can
not allocate a vector of 1.1 GB size"; And when I set ntree to be a very
small number like 10, it will run for hours.
I use the (x,y) rather than the (formula,data).
2020 Apr 10
2
Opus CMake build support for Apple frameworks
Hi Simon,
CMake 3.14 add support for crosscompiling iOS, tvOS and watchOS
https://cmake.org/cmake/help/v3.14/manual/cmake-toolchains.7.html#cross-compiling-for-ios-tvos-or-watchos
Can you clarify what your patch does?
//Marcus
cmake-toolchains(7) — CMake 3.14.7 Documentation<https://cmake.org/cmake/help/v3.14/manual/cmake-toolchains.7.html#cross-compiling-for-ios-tvos-or-watchos>
The
2020 Mar 23
2
GSoC Interested student
Hi Johannes,
Yes, I'm highly interested, I already started. It would be nice if you post the details again. I didn't take note of them, I was always looking at the issue in GH.
The problem I'm facing right now is this:
The first task is identifying OpenMP API calls referred to device memory
allocation. I first understood how the compiler driver orchestrates the
process of offloading
2010 May 28
1
Comparing and Interpreting GAMMs
Dear R users
I have a question related to the interpretation of results based on GAMMs using Simon Woods package gamm4.
I have repeated measurements (hours24) of subjects (vpnr) and one factor with three levels (pred). The outcome (dv) is binary.
In the first model I'd like to test for differences among factor levels (main effects only):
gamm.11<-gamm4(dv ~ pred +s(hours24), random = ~
2020 Mar 25
2
GSoC Interested student
Hi Johannes,
Sorry about the failing tests. I completely forgot about running all of
them, I only ran the tests for the openmp ipo transforms.
I found the GH issue in cache. I can post it here if you want.
I analyzed these runtime calls, __tgt_target_teams_[nowait]. What I
don't understand about the problem we want to solve (splitting the
memory transfer into issue and wait and legally
2007 Jan 08
4
Export dataframe to txt
Hi all,
Is there a function to export a dataframe to a text file?
I want to store a large set of data which I have saved in a dataframe
in my workspace and copy and past doesn't cut it.
Thank you,
Benjamin
2001 Jul 09
1
problem loading saved image
I had an open session working in R and I regularly save the image with
save.image(). However, after a period of inactivity of a few days. I quit
the session. Now, when I try to restart R and load the same image I get the
following result:
> load("y:/grm/sdata/.rdata1")
Error in load("y:/grm/sdata/.rdata1") : an xdr real data read error occured
Can someone explain the cause
2006 Oct 26
4
Header of dataframe
Hi
I am fairly new to R and I would appreciate some help to hopefully a
trivial problem.
I created a function:
summary.aggregate <- function(y, ...)
{
temp.mean <- aggregate(y, FUN=mean, ...)
temp.sd <- aggregate(y, FUN=sd, ...)
temp.length <- aggregate(y, FUN=length, ...)
temp <- data.frame(cbind(mean=temp.mean$x,stdev=temp.sd$x,n=temp.length$x))
}
this outputs e.g.:
2020 Mar 29
2
GSoC Interested student
Hi Johannes,
I've been thinking on how to implement a solution for the problem and I
have some questions:
1. You mention in the problem description that the current asynchronous
functions can be used, and probably modified. The problem is that those
runtime functions with _nowait at the end are not asynchronous. Looking
at their implementations, they just wait for other tasks is there
2020 Jun 12
2
Misc patches
Sorry about that, let me check the correct version for the intrin0.h include guard.
//Marcus
________________________________
From: Ralph Giles <giles at thaumas.net>
Sent: Thursday, June 11, 2020 19:31
To: Marcus Asteborg <xnorpx at outlook.com>; opus at xiph.org <opus at xiph.org>
Subject: Re: [opus] Misc patches
Speaking of needing more complete ci feedback, the intrin0.h
2007 Mar 14
4
abs(U) > 0 where U is a vector?
Hi,
I am looking for a way to compare if every element of a vector is > 0.
i.e.
while(abs(U) > 0)
{
..
}
is there a function for this or do I have to write one?
I'd appreciate your help!
Benjamin