search for: casalino

Displaying 20 results from an estimated 22 matches for "casalino".

2019 Oct 04
2
[MachineScheduler]: SchedBoundary trivially copiable, but "HazardRec" is raw pointer: a design issue?
...and not        the pointer, is copied. If SchedBoundary was not designed to be copiable, then default copy-costructor/assign-operator should be marked as "deleted". Let me know what do you think about it, and if there's actually the need to submit a patch. Best regards, Lorenzo Casalino
2020 Sep 07
2
Metadata in LLVM back-end
Am 31/08/20 um 14:10 schrieb David Greene: > Lorenzo Casalino via llvm-dev <llvm-dev at lists.llvm.org> writes: > >> Furthermore, after register allocation there is a non-negligible effort >> to properly annotate instructions which share the same output register... >> >> Concerning the usage of the live ranges to tie annotated...
2020 Nov 04
2
Metadata in LLVM back-end
Le 04/11/20 à 17:40, David Greene a écrit : > Sorry about the late reply. > > Lorenzo Casalino <lorenzo.casalino93 at gmail.com> writes: > >>>>> - Should not impact compile time excessively (what is "excessive?") >>>> Probably, such estimation should be performed on >>> Did something get cut off here? >> Uops. Yep, I removed a para...
2011 Oct 11
1
Mean or mode imputation fro missing values
Dear R experts, I have a large database made up of mixed data types (numeric, character, factor, ordinal factor) with missing values, and I am looking for a package that would help me impute the missing values using ?either the mean if numerical or the mode if character/factor. I maybe could use replace like this: df$var[is.na(df$var)] <- mean(df$var, na.rm = TRUE) And go through all the many
2012 Mar 05
1
Order a data frame based on the order of another data frame
Hi, I am trying to match the order of the rownames of a dataframe with the rownames of another dataframe (I can't simply sort both sets because I would have to change the order of many other connected datasets if I did that): Also, the second dataset (snp.matrix$fam) is a snp matrix slot: so for example: data_one: x y
2011 Oct 24
1
Creating data frame with residuals of a data frame
Dear experts, I am trying to create a data frame from the residuals I get after having applied a linear regression to each column of a data frame, but I don't know how to create this data frame from the resulting list since the list has differing numbers of rows. So for example: age<- c(5,6,10,14,16,NA,18) value1<- c(30,70,40,50,NA,NA,NA) value2<- c(2,4,1,4,4,4,4) df<-
2013 Feb 18
1
ggplot2 and facet_wrap help
Dear R experts, I am trying to arrange multiple plots, creating one graph for each size1 factor variable in my data frame, and each plot has the median price on the y-axis and the size2 on the x-axis grouped by clarity: library(ggplot2) df <- data.frame(price=matrix(sample(1:1000, 100, replace = TRUE), ncol = 1)) df$size1 = 1:nrow(df) df$size1 = cut(df$size1, breaks=11)
2020 Aug 31
2
Metadata in LLVM back-end
Am 19/08/20 um 22:37 schrieb David Greene: > Lorenzo Casalino via llvm-dev <llvm-dev at lists.llvm.org> writes: > >>>> I was imagining a per-instruction data-structure collecting metadata info >>>> related to that specific instruction, instead of having several metadata info >>>> directly embedded in each instructi...
2020 Nov 08
0
Metadata in LLVM back-end
...t this would be my first time doing so. But maybe it is better to start with Lorenzo's proposal, as you have already been working on this? Please tell me if you prefer me to start the RFC though. Thank you again for keeping this going. Sincerely, - Son On Wed, Nov 4, 2020 at 6:30 PM Lorenzo Casalino < lorenzo.casalino93 at gmail.com> wrote: > > Le 04/11/20 à 17:40, David Greene a écrit : > > Sorry about the late reply. > > > > Lorenzo Casalino <lorenzo.casalino93 at gmail.com> writes: > > > >>>>> - Should not impact compile time exce...
2011 Oct 03
2
Import in R with White Spaces
Hi, I have a simple question about importing data, I would be very grateful if you could help me out. I have used read.csv(file name, header=T, sep=",") to bring in a csv file I saved in MS Excel.The problem is I have white spaces in the middle of values (not in the column names), and this messes up the column entries. Since I have many many files that I am importing and I have spaces
2019 Sep 18
2
How to debug passes
> opt -load lib­dum­my­pass.so -dum­my­pass hel­lo.ll Looks like you are loading a shared library different from "LLVMHello.so". did you change the name of the compilation unit from "Hello.cpp" into "dummypass.cpp"? (As asked previously by Andrzej) did you register the dummy pass? > RegisterPass<DummyPass> X("dummypass",
2020 Sep 15
2
Metadata in LLVM back-end
Am 08/09/20 um 17:57 schrieb David Greene: > Lorenzo Casalino <lorenzo.casalino93 at gmail.com> writes: > >> Am 31/08/20 um 14:10 schrieb David Greene: >>> Lorenzo Casalino via llvm-dev <llvm-dev at lists.llvm.org> writes: >>> >>>> Furthermore, after register allocation there is a non-negligible effort >&g...
2020 Aug 18
2
Metadata in LLVM back-end
Am 07/08/20 um 22:54 schrieb David Greene: > Lorenzo Casalino via llvm-dev <llvm-dev at lists.llvm.org> writes: > >>> As with IR-level metadata, there should be no guarantee that metadata is >>> preserved and that it's a best-effort thing. In other words, relying on >>> metadata for correctness is probably not the thin...
2012 Apr 14
3
Choose between duplicated rows
Dear r experts, Sorry for this basic question, but I can't seem to find a solution? I have this data frame: df <- data.frame(id = c("id1", "id1", "id1", "id2", "id2", "id2"), A = c(11905, 11907, 11907, 11829, 11829, 11829), v1 = c(NA, 3, NA,1,2,NA), v2 = c(NA,2,NA, 2, NA,NA), v3 = c(NA,1,NA,1,NA,NA), v4 = c("N",
2020 Aug 06
2
Metadata in LLVM back-end
Am 31/07/20 um 22:47 schrieb David Greene: @David > Thanks for keeping this going, Lorenzo. > > Lorenzo Casalino via llvm-dev <llvm-dev at lists.llvm.org> writes: > >>> The first questions need to be “what does it mean?”, “how does it >>> work?”, and “what is it useful for?”. It is hard to evaluate a >>> proposal without that. >> Hi everyone, >> >> - &quo...
2012 Apr 17
1
Problem accessing .Rdata objects in a loop
Hi, I am trying to access many .Rdata objects and do some operations with them using a loop. I can load the files but can't access them. The files' names are stored in a character vector called "names". After loading the objects, I can view each one using ls() and see that two objects are present for each. I am trying to access the one with the name which is the same as the
2020 Jul 29
4
Metadata in LLVM back-end
>> On Jul 27, 2020, at 10:11 AM, David Greene via llvm-dev <llvm-dev at lists.llvm.org> wrote: >> >> Son Tuan VU via llvm-dev <llvm-dev at lists.llvm.org> writes: >> >>> Currently metadata (other than debug info) can be attached to IR >>> instructions but disappears during DAG selection. >>> >>> My question is why we do not
2011 Oct 03
2
Merge two data frames and find common values and non-matching values
Hi, I am trying to find a function to match two data frames of different lengths for one field only. So, for example, df1 is: Name Position location francesca A 75 cristina B 36 And df2 is: location Country 75 UK 56 Austria And I would like to match on "Location" and the output to be something like: Name Position Location Match francesca A 75 1 cristina B 36 0 I have tried with
2011 Oct 08
2
Permutation or Bootstrap to obtain p-value for one sample
Hi, I am having trouble understanding how to approach a simulation: I have a sample of n=250 from a population of N=2,000 individuals, and I would like to use either permutation test or bootstrap to test whether this particular sample is significantly different from the values of any other random samples of the same population. I thought I needed to take random samples (but I am not sure how
2011 Nov 24
0
loop through columns in S4 objects
Dear experts, I am trying to perform an association using snpStats. I have a snp matrix called 'plink' which contains my genotype data (as a list of $genotypes, $map, $fam), and a phenotype data frame which contains the outcomes (outcome1, outcome2,...) I would like to associate with the genotype. My question is, how do I loop through the outcomes? This type of data seems different from