Displaying 20 results from an estimated 4000 matches similar to: "A category reduction problem"
2008 Feb 15
7
History of R
Earlier today I sent a question to Frank Harrell as an R developer with
whom I am most familiar. He suggested also that I put my questions to
the list for additional responses. Next month I'll be giving a talk on
R as an example of high quality open source software. I think there is
much to learn from R as a high quality extensible product that (at least
as far as I can tell) has never
2016 Aug 07
2
Weighting Schemes: Evaluation results
Hi,
Evaluation of pivoted normalization ("PPP") of tf-idf weighting scheme is
also complete now. I have also evaluated the default tf-idf normalization
("ntn") and other normalizations combinations involving pivoted
normalization in wdfn, idfn and wtn component as "Pxx", "xPx" and "xxP"
normalization strings respectively to have a clear idea about
2007 May 11
1
model seleciton by leave-one-out cross-validation
Hi, all
When I am using mle.cv(wle), I find a interesting problem: I can't do
leave-one-out cross-validation with mle.cv(wle). I will illustrate the
problem as following:
> xx=matrix(rnorm(20*3),ncol=3)
> bb=c(1,2,0)
> yy=xx%*%bb+rnorm(20,0,0.001)+0
> summary(mle.cv(yy~xx,split=nrow(xx)-1,monte.carlo=2*nrow(xx),verbose=T),
num.max=1)[[1]]
mle.cv: dimension of the split subsample
2008 May 14
4
Accessing items in a list of lists
Using R 2.6.2, say I have the following list of lists, "comb":
data1 <- list(a = 1, b = 2, c = 3)
data2 <- list(a = 4, b = 5, c = 6)
data3 <- list(a = 3, b = 6, c = 9)
comb <- list(data1 = data1, data2 = data2, data3 = data3)
So that all names for the lowest level list are common. How can I most
efficiently access all of the sublist items "a" indexed by the outer
2012 Jun 12
2
[LLVMdev] How to use LLVM optimizations with clang
Thanks alot. How can we view those optimization which are enabled when we do
llc -O3 comb.ll
Are these the same as the ones produced by the following command line
llvm-as < /dev/null | opt -O3 -disable-output -debug-pass=Arguments
Regards
Shahzad
On Tue, Jun 12, 2012 at 1:01 PM, Duncan Sands <baldrick at free.fr> wrote:
>> Yes. But how exactly code generation (optimized one)
2012 Jun 12
2
[LLVMdev] How to use LLVM optimizations with clang
Thanks again.
I executed the following command line
llc -O3 comb.ll.bc -debug-pass=Arguments
and got
Pass Arguments: -targetdata -targetpassconfig -no-aa -tbaa
-targetlibinfo -basicaa -collector-metadata -machinemoduleinfo
-machine-branch-prob -preverify -domtree -verify -loops -loop-simplify
-scalar-evolution -loop-simplify -iv-users -loop-reduce -gc-lowering
-unreachableblockelim
2012 Jun 12
0
[LLVMdev] How to use LLVM optimizations with clang
Hi,
On 12/06/12 13:09, Abdul Wahid Memon wrote:
> Thanks alot. How can we view those optimization which are enabled when we do
>
> llc -O3 comb.ll
llc -O3 comb.ll -debug-pass=Arguments
>
> Are these the same as the ones produced by the following command line
no, as I mentioned before they are of a completely different nature
to the optimizations that opt does.
Ciao, Duncan.
2012 Jun 12
0
[LLVMdev] How to use LLVM optimizations with clang
Hi,
> I executed the following command line
>
> llc -O3 comb.ll.bc -debug-pass=Arguments
>
> and got
>
> Pass Arguments: -targetdata -targetpassconfig -no-aa -tbaa
> -targetlibinfo -basicaa -collector-metadata -machinemoduleinfo
> -machine-branch-prob -preverify -domtree -verify -loops -loop-simplify
> -scalar-evolution -loop-simplify -iv-users -loop-reduce
2012 Jun 12
0
[LLVMdev] How to use LLVM optimizations with clang
> Yes. But how exactly code generation (optimized one) be done without
> clang. Is it possible that we can specify those optimization
> (individual ones instead of standard ones like -O3) some how when
> generating code as is done by clang or llc?
llc comb.ll
gcc -o comb comb.s
Variants:
llc -O0 comb.ll
llc -O3 comb.ll
etc
Note that the codegen level optimizations done by llc
2010 Jul 19
1
divide grid.newpage into two?
Hi,
?
Is there some easy way to split the grid.newpage() into two columns? For example, how could I put the two forest plots below (meta1 and meta2) next to each other?
library(meta)
data(Olkin95)
meta1 <- metabin(event.e, n.e, event.c, n.c,data=Olkin95, subset=c(41,47,51,59),sm="RR", meth="I",studlab=author)
meta2=meta1
meta2$studlab=rep("",length(meta1$studlab)
2012 Nov 19
1
Help: Meta-analysis with metacor
Trying to do a meta-analysis of correlations in R using the meta package; have tried several things and keep getting a similar error. Can anyone help explain the error?
> cor<-c(-0.3018, 0.667, -3.8002, -0.607, -0.4885, -3.8002, -0.0701, 0.1348, -0.9505, -0.5709, -0.6127, -1.2419, -0.1511, -0.1054)> n<-c(3,4,3,3,3,3,16,36,30,9,3,3,30,4)> library(meta)> metacor(cor, n, data=NULL,
2010 Nov 07
3
Integrate and mapply
Hi,
I need some help on integrating a function that is a vector.
I have a function - vector which each element is different. And,
naturally, function integrate() does not work
I checked the article of U. Ligges and J. Fox (2008) about code
optimization "How Can I Avoid This Loop or Make It Faster?" on
http://promberger.info/files/rnews-vectorvsloops2008.pdf.
Their advice did not help
2012 Oct 31
3
expand.grip for permutations
if i were to have a block size of 4 people and i want to assign a treatment
combination to the entire block, there would be 16 different treatment
combinations (TTTT, TTTP, TTPP, PTTP, etc.)
i am trying to get all 16 permutations and i am able to use this code below.
drugs=c('P','T');
comb=expand.grid(drugs,drugs,drugs,drugs)
for a block size of 3 the code would be
2023 Jan 10
1
My forest plot is not fit to windows in R software
Dear Prof.Thank you for your kind response. I have only used:
install.packages("tidyverse")
install.packages("meta")
install.packages("metafor")
library(tidyverse)
library(meta)
library(metafor)and then,forest.meta(hidemeta, layout="RevMan5", xlab="Proportion", comb.r=T, comb.f=F, xlim = c(0,1), fontsize=10, digits=3)Unfortunately I am not
2010 Jan 30
2
parsing files for plot
Hi,
I have many files containing one column of data. I like to use the scan
function to parse the data. Next I like to bind to a large vector.
I try this like:
count<-1
files <- list.files() # all files in the working directory
for(i in files) {
tmp <- scan(i)
assign(files[count], tmp)
count<-count+1
}
This part works!
Now I like to plot the data in a boxplot.
2006 Jun 14
3
appending
All,
In the function below I have 24 individuals and 6 calculations per
individual.
The 6 calculations are collected each time in a 1:24 loop when
calculating "delta".
I'd like to collect all 144 = 24*6 calculations in one vector
("delta.patient.comb").
The function works as is via indexing, but is there an easier way to
collect the measurements via appendinng the 6
2012 Jun 12
0
[LLVMdev] How to use LLVM optimizations with clang
Hi,
> Yes, they both are exactly the same.
then I don't know what is going on. I suggest you send a copy of comb.ll to the
list so that we can see for ourselves.
Ciao, Duncan.
>
> Regards
>
> Shahzad
>
> On Tue, Jun 12, 2012 at 9:38 AM, Duncan Sands<baldrick at free.fr> wrote:
>> Hi, is the comb.ll used here:
>>
>>
>>> $ time lli
2010 Sep 17
1
Attended Transfer does not release channels
Hi all,
i have the following setup
PSTN -> routing server (asterisk 1.6.2.11) -> IAX -> callcenter asterisk
1.6.2.9 -> SIP -> agent
Does work quit fine - then agent does have the abibility to transfer a call
to a third party - the agent can initiate the transfer over a web interface
- it does generate a asterisk manager atxfer request...
So agent does initiate transfer - call
2011 Sep 08
1
ggplot2 freqpoly() layers..?
Hi,
I was trying to overlay/combine two freqpoly plots. The sample code below illustrates the problem. Essentially, I want to do is:
1. Have the same colour for all the lines in 'Plot 1' (and 'Plot 2').
Currently, all the lines in Plot 1 have different colours and all the
lines in Plot 2 have different colors. I'd like for all lines in Plot 1
to be 'red' and all
2012 Jun 28
6
How can I make a list using aggregate function?
Hi friends,
I need to generate a list, that should contain the quantile value of one
column in a data frame. while I am compiling this one i am facing one bug,,
Really I cannot find out that where the problem has occurred? Could any one
help me to come out from this bug??
Here is the code,
data <- lapply(comb.data$zFE, function(x) aggregate(x,