search for: constuct

Displaying 20 results from an estimated 23 matches for "constuct".

Did you mean: construct
2006 Aug 16
2
About scaffold mean
Hello All! I''m novice at ROR. Would you like to explain what mean such constuction in Ruby. 1: class DemoController < ActionController::Base 2: scaffold :item 3: end Is 2th line calling of method ''scaffold''? If it is so, when it called? For all instances of class, or only for class? I watch sources of ActionController, but don''t understand comp...
2005 Mar 08
3
[LLVMdev] Recursive Types using the llvm support library
As far as I can tell, when you construct a type using the support library StructType::get, you have to pass in a list of types. How can you make a Recursive type by passing in a pointer to the type you are constucting. An example where something really simple like the line below was output would be perfect. %struct.linked_list = type { %struct.linked_list*, %sbyte* } Thanks for any help, John
2003 Apr 16
2
Jackknife and rpart
...to the jackknife function in bootstrap but can I do something as simple as: for(i in 1:number of samples){ remove i from the data run the tree compare sample[i] to the tree using predict create an error matrix} This would give me a confussion matrix of data not included in the tree's constuction. Am I being obtuse again? Thanks, CM
2013 May 07
1
Provisioning command line args
...provision --help" but I couldn't see such an option there. Does that mean there isn't one ? I also tried to use the "samba-tool --option=option" construct (described on 'man samba-tool') to set the dns forwarder after the provision but I can't work out how to constuct the parameter. I'd appreciate a nudge in the right direction... Thanks, John
2005 Mar 08
0
[LLVMdev] Recursive Types using the llvm support library
On Mon, 7 Mar 2005, John Carrino wrote: > As far as I can tell, when you construct a type using the support > library StructType::get, you have to pass in a list of types. How can > you make a Recursive type by passing in a pointer to the type you are > constucting. > > An example where something really simple like the line below was output > would be perfect. > > %struct.linked_list = type { %struct.linked_list*, %sbyte* } Use something like this: PATypeHolder StructTy = OpaqueType::get(); std::vector<const Type*> Elts; Elt...
2002 Aug 05
1
constructing a formula
...e(a=rnorm(1000)) a$b_rnorm(1000)+.5*a$a a$c_rnorm(1000)+.5*a$b a$d_rnorm(1000)+.5*a$b+.1*a$a attach(a) and I estimate, lm(d ~ b+c+d) BUT, I wish to construct a generalized solution in which, ListOfVar _ c('b','c','d') The question is how to leverage ListOfVar into the constuction of the formula lm(a$d ~ a$b+a$c+a$b). I know this must be fairly simple, but unfortunately my readings of the various help files/books haven't been productive yet. Any help would be appreciated. Thanks in advance. Michaell Taylor -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
2017 Dec 18
2
How to get the serialise score returned in Xapian::KeyMaker->operator().
On Sat, Dec 16, 2017 at 10:11:40PM +0000, Olly Betts wrote: > Unfortunately the sort key isn't currently exposed via the public API. > It's available internally and it seems like it ought to be accessible > but there's no accessor method for it - I can add one but that won't > help for existing releases. I've added MSetIterator::get_sort_key() to master in
2010 Nov 18
1
predict() an rpart() model: how to ignore missing levels in a factor
I am using an algorigm to split my data set into two random sections repeatedly and constuct a model using rpart() on one, test on the other and average out the results. One of my variables is a factor(crop) where each crop type has a code. Some crop types occur infrequently or singly. when the data set is randomly split, it may be that the first data set has a crop type which is not pres...
2012 Mar 12
1
Fwd: Re[2]: B-spline/smooth.basis derivative matrices
...??? 2012, 03:09 > ????: Re[2]: [R] B-spline/smooth.basis derivative > matrices > > > Hello again,(my message was truncated the first time!) > > Thank you, vito for these functions: I've been able to look > at the smoothing spline matrix and its derivatives that I > constucted with functions "create.bspline.basis" and > "smooth.basis" > > Understanding from Hastie and Tishbirani that the > S(lambda)-- the penalty matrix > > decreases in magnitude compared to the matrix [y[i,j] - > f(x)] would it not be of fundamental importanc...
2007 Aug 23
1
nls() and numerical integration (e.g. integrate()) working together?
...results of an economic paper. The method there uses the numerical solution of an integral within nonlinear least squares. Within the integrand there is also some parameter to estimate. Is that in the end possible to implement in R [Originally it was done in GAUSS]? I'm nearly into giving up. I constucted an example to showing the problems I face. I have three questions - related to three errors shown below: 1) How to make clear that in the integrand z is the integration variable and b1 is a parameter while x1 is a data variable 2) and 3) How to set up a correct estimation of the integral? libr...
2019 Feb 23
1
Return/print standard error in t.test()
...isq.test which returns $observed > and $expected. It seems the consent is to simply return the SE but *not* change the print() method, and also be careful not to mess with existing parts of the result. So, a minimal patch is to add the short line stderr = stderr, inside the list(..) constucting the return value... and that's what I'm planning to commit (to the sources). With thanks for the suggestion and considerations to Thomas, John and Peter! Martin > Getting such information printed by print.htest is more tricky, although it might be possible to (ab)use the $esti...
2004 Jun 27
0
Omega and MORELIKE
...LIKE" a document. > > It gives me only a link at 43% to the previous revision of this > > document (i also index my archives)... > > > > The problem is that their was only two or three differences between them. > > > > I found that to do a MORELIKE, omega constuct a RSet with the > > document, extracts the 6 first terms of the corresponding ESet, and > > create a new query with them. > > > > 6 seems to be short... I extend this value to 40, and it looks really > > better (99% for my two documents). > > > > Have yo...
2004 Aug 27
0
questions and recommendations
Hi Yawl, After about 6 months of prattting about I've convinced my boss that we should be installing * into our currently under constuction Data Center in Somerset NJ. There will be 10 permanent people and DR space for another 50. My plan is as follows; ATAComm dual XEON server with quad T1 board. A handfull of ATA's for fax machines, job lot of X-Pro softphones for the DR bit, Polycom IP conference phone and a bunch of SNOM 2...
2012 Feb 24
1
B-spline/smooth.basis derivative matrices
Hello, I've noticed that SPLUS seems to have a function for evaluating derivative matrices of splines. I've found the R function that evaluates matrices from 'smooth.spline'; maybe someone has written something to do the same with smooth.basis? regards, s
2018 Jan 15
0
How to get the serialise score returned in Xapian::KeyMaker->operator().
...amount among different gender or range of age). So our weight function is complex, no matter we use KeyMaker or PostingSource, six to eight values in slot will be used. But we find that using doc.get_value(slot) several times separately in each search makes getting result slowly. Now we want to constuct a forward index (using unordered map) which uses docid as key and its value contains the slot values we need, also the forward index will be constructed while we starting our application. Then we can get the values we used at the same time, and we need not to use sortable_unserialise(). Do you hav...
2007 Oct 02
4
Strange names when creating a data.frame: Difference between <- and =
This is just a curiosity question. Why do the two different syntaxes for df1 and df2 give such different results in the names(dfx)? Thanks df1 <- data.frame(nas = c("A", "B" , "B" ,"C" ,"B", "A", "D"),nums = c(3, 2, 1, 1, 2, 3, 7)) df2 <- data.frame(nas <- c("A", "B" ,
2005 Aug 25
3
dell sc420 connect to LCD 32" at 1366x768
Hi, I am attempting to connect my dell SC420 to a 32" LCD at 1366x768. I have attached my currect config file and currect X start log. How do I massage the xorf file to run at the native resolution of the LCD? It currently runs but is in a virtual mode. The screen scrolls. Any help is appreciated. I am using Centos 4.1. Jerry -------------- next part -------------- An embedded and
2008 Jun 04
3
how to automatically create objects with names from a string list?
Suppose I have a string of objects names: name <- c("foo", "bar", "baz") and I would like to use a for loop to automatically create three objects called "foo", "bar" and "baz" accordingly. Then how can this be done" (so that in the workspace, foo = 1, bar = 2 and baz=3) for (i in name) { ..... } Thanks! Mark
2002 Aug 29
3
2 questions
Hi all, I am using R1.5.0 under Unix, I have a couple of questions here. 1. My program is running out of memory. I am writing a program to grow a list of trees using rpart() on a subset of a large dataset(5807x693) with a different response for every tree. I saw that after each tree was constucted, 116 MB of data was being added to the Vcells. I have no idea what this data is. My dataset is 30MB large and each tree is 1.6 MB large. Could someone tell me how to monitor what data is getting stored in the Vcells? 2. This is related to the same program as above. When growing a tree I used the...
2008 Nov 27
1
Re: RE: Re: Re: when timer go back in dom0 save and restore ormigrate, PV domain hung
...er@eu.citrix.com; Tian, Kevin; xen-devel@lists.xensource.com Subject: 答复: Re: [Xen-devel] when timer go back in dom0 save and restore ormigrate, PV domain hung Hi, yes, there is a patch before to fix problem wc_sec/wc_nsec in xc_domain_restore.c, but it still missed something. If constucting dom0 or restoring of a PV dom. Guest os will read the local wc_sec from xen as it base time.wc_sec is initialized with CMOS data. There were some case which wc_sec will be changed. One is that go back dom0''s system-time will change dom0''s time and wc_sec smaller which is...