search for: formulation

Displaying 20 results from an estimated 474 matches for "formulation".

2004 Jul 13
2
help with as.function
HI, sorry but i don't understand how to make a function with as.function() formula<-"2+3*x" formu<-as.symbol(formula) > formu 2+3*x formul<-as.function(alist(x=,formu)) curve(formul,1,5,col="blue") Error in xy.coords(x, y, xlabel, ylabel, log) : x and y lengths differ > typeof(formul) [1] "closure" and not plot the curve function, Why?
2005 Jan 03
0
LME-glmmPQL formulation
...ght was the following: glmmPQL(count~site,data=dat,random=~day|site/transect, family="poisson") however, the random effects are not separated into day and site/transect. Instead, there is day|site and day|site %in% transect, which I realize makes sense in light of the model formulation. my second guess was glmmPQL(count~site,random=list(~day|site,~1|trans),family="poisson",data =dat2) which estimates a random effect on ~day|site and on ~1|trans%in%site..... which seems more appropriate, but does not give the same answers as I have for the genstat; nor does it es...
2017 Jul 12
0
How to formulate quadratic function with interaction terms for the PLS fitting model?
Dear all, I am using the pls package of R to perform partial least square on a set of multivariate data. Instead of fitting a linear model, I want to fit my data with a quadratic function with interaction terms. But I am not sure how. I will use an example to illustrate my problem: Following the example in the PLS manual: ## Read data data(gasoline) gasTrain <- gasoline[1:50,] ## Perform
2013 Oct 18
2
[LLVMdev] Contribute a new precise pointer analysis to LLVM
...CFL-based > pointer analysis is generally more expensive as it has O(L^3 N^3) > complexity [29], where L is the size of the grammar and N is the > size of the graph." > > should now been reduced to O(n + m log m) time, assuming you are > using a standard balanced parentheses formulation. > > > > > On Thu, Oct 17, 2013 at 9:51 PM, lian li <lianli at gmail.com> wrote: >> Hi Hal, >> >> Thanks for your interest. >> >> We tested with the following existing compiler optimizations in LLVM >> with SPECINT2006 benchmarks: >> -d...
2013 Oct 18
0
[LLVMdev] Contribute a new precise pointer analysis to LLVM
...alysis is generally more expensive as it has O(L^3 N^3) > > complexity [29], where L is the size of the grammar and N is the > > size of the graph." > > > > should now been reduced to O(n + m log m) time, assuming you are > > using a standard balanced parentheses formulation. > > > > > > > > > > On Thu, Oct 17, 2013 at 9:51 PM, lian li <lianli at gmail.com> wrote: > >> Hi Hal, > >> > >> Thanks for your interest. > >> > >> We tested with the following existing compiler optimizations in LLVM...
2017 Jul 01
0
How to replace match words whith colum name of data frame?
Dear ?, I'm sure that there are many ways to do what you want; here's one: > cbind(concept_df, category= + ifelse(apply( + sapply(chemical_df$chemical, + function(x) grepl(x, concept_df$concept)), + 1, any), + "chemical", "")) concept category 1 butan
2017 Jul 13
0
How to formulate quadratic function with interaction terms for the PLS fitting model?
Below. -- Bert Bert Gunter On Thu, Jul 13, 2017 at 3:07 AM, Luigi Biagini <luigi.biagini at gmail.com> wrote: > I have two ideas about it. > > 1- > i) Entering variables in quadratic form is done with the command I > (variable ^ 2) - > plsr (octane ~ NIR + I (nir ^ 2), ncomp = 10, data = gasTrain, validation = > "LOO" > You could also use a new variable
2017 Jul 13
3
How to formulate quadratic function with interaction terms for the PLS fitting model?
I have two ideas about it. 1- i) Entering variables in quadratic form is done with the command I (variable ^ 2) - plsr (octane ~ NIR + I (nir ^ 2), ncomp = 10, data = gasTrain, validation = "LOO" You could also use a new variable NIR_sq <- (NIR) ^ 2 ii) To insert a square variable, use syntax I (x ^ 2) - it is very important to insert I before the parentheses. iii) If you want to
2013 Aug 06
1
[LLVMdev] Potential SimplifyCFG optimization; hammock to diamond transformation
...ure if something similar exists in LLVM today. The optimization you are looking for is called partial dead code elimination (PDE). I do not think SimplifyCFG would be a great place to put this as that is primarily about cleaning up control flow. I think it deserves its own pass. The most general formulation would result in sinking instructions, including loads (and possibly some other side-effecting instructions when safe to do so), along with potentially duplicating code when the results are dead on some paths below the definition, but not all. It seems like you could do a simpler formulation that...
2017 Jan 04
0
Formulating Advanced Queries with Xapian-Omega
On Thu, Dec 29, 2016 at 05:44:50PM +0100, Giulio Teslano wrote: > a. What other types of extended wild card(s) options are there ? > > or is this still currently limited to these two characters '*?' ? As I said, the branch "adds support for arbitrary glob-style wildcard patterns (where * matches 0 or more characters and ? a single
2013 Apr 23
2
Frustration to get help R users group
Dear R users/developers I requested help to solve the problem of formulating Multivariate Sample selection model by using Full Information Maximum Likelihood (FIML)estimation method. I could not get any response. I formulated the following code of FIML to analyse univariate sample selection problem. Would you please advise me where is my problem library (sem) library(nrmlepln) Selection
2013 Aug 06
0
[LLVMdev] Potential SimplifyCFG optimization; hammock to diamond transformation
...ists in LLVM today. The optimization > you are looking for is called partial dead code elimination (PDE). > > I do not think SimplifyCFG would be a great place to put this as that is > primarily about cleaning up control flow. I think it deserves its own pass. > > The most general formulation would result in sinking instructions, > including loads (and possibly some other side-effecting instructions when > safe to do so), along with potentially duplicating code when the results > are dead on some paths below the definition, but not all. > > It seems like you could do a si...
2013 Aug 06
3
[LLVMdev] Potential SimplifyCFG optimization; hammock to diamond transformation
All, I have some code that looks like the following: { double a, b, c; for (...) { ... a = lots of FP math; b = lots of FP math; c = lots of FP math; if (cond) { a = 0.0; b = 0.1; c = 0.2; } ... } } Could we not convert the hammock into a diamond and move the initial computation of a, b, and c into the else block. Something like this: {
2007 Aug 30
1
categorical variable coefficients in QSAR
...obtain is a coefficient for each substituent at each position, as does Kubinyi: H F Cl Br I Me meta 0.00 -0.30 0.21 0.43 0.58 0.45 para 0.00 0.34 0.77 1.02 1.43 1.26 However, I do not get a coefficient for the Br substituent at the para position. I would like to know if there is an error in this formulation. The technique is quite well established in the field of medicinal chemistry and it is traditional that the binary incidence matrix is formed "by hand" as an intermediate step in the analysis, instead of the much simpler formulation that I am considering here. Thank you for whatever insi...
2016 Dec 22
1
Formulating Advanced Queries with Xapian-Omega
Hello, We have Xapian-Omega installed (Linux) and working in default mode and have browsed several interesting pages on the main site, at trac.xapian.org (the wiki) and in the mailing list. Having tested various search options (up to now only for Omega) we would like to ask a couple of questions. 1. Is it possible to search for Patterns of Text with Omega and/or Xapian Queries ?
2009 Jul 07
5
Permission problem
Hi, I have to solve an apparently simple permission problem, and I don't know if it's the sunny weather or birdsong, well... I just can't figure it out. Here goes. I have a bunch of users in a public library. Some are "administrators": they handle the library, write the docs for everyone, etc. Then you have the "agents", who take care of lending books and
2016 Dec 29
2
Formulating Advanced Queries with Xapian-Omega
To Olly Betts: Thank you very much for any feedback. I apologise for this belated reply and also for the fact that the text of the previous posting appeared fragmented, due to its fixed chars/line format. With reference to: > Can, or could, one construct a query so that Omega (Xapian) can handle > this ? > > ... perhaps with some type of Regex ? > > It would
2000 Jan 12
1
Usage of p/d/qnorm
Hello, could You please help: I am looking for a way to formulate test accuracy measures such as test sensitivity, specificity, predictive values, and correct classification rate using p/d/qnorm. The tests' primary values follow a bimodal distribution, which is modelled by a mixture of two normal distributions: p * dnorm ((x - u1) / s1) / s1 + (1 - p) * dnorm ((x - u2)
2017 Jul 16
0
How to formulate quadratic function with interaction terms for the PLS fitting model?
?? If I haven't misunderstood, they are completely different! 1) NIR must be a matrix, or poly(NIR,...) will fail. 2) Due to the previously identified bug in poly, degree must be explicitly given as poly(NIR, degree =2,raw = TRUE). Now consider the following example: > df <-matrix(runif(60),ncol=3) > y <- runif(20) > mdl1 <-lm(y~df*I(df^2)) > mdl2
2010 Dec 01
1
[LLVMdev] RFC: Exception Handling Proposal Revised
responses to the Exception Handling Proposal are "all over the map", including at least.... 1. what are the semantics of the various high level languages, and how are these constructs to be lowered into an IR 2. what should the IR be 3. what should the final output code format and layout be, and to what extent can/should this be compatible with any existing runtime