search for: constucting

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

Did you mean: constructing
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 completely.
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
Hi, First, thanks to those who helped me see my gross misunderstanding of randomForest. I worked through a baging tutorial and now understand the "many tree" approach. However, it is not what I want to do! My bagged errors are accpetable but I need to use the actual tree and need a single tree application. I am using rpart for a classification tree but am interested in a more unbaised
2013 May 07
1
Provisioning command line args
Hello, I'm trying to script an installation and can't find the command-line argument to "samba-tool domain provision" to specify the DNS forwarder. I have tried "samba-tool domain 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
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; Elts.p...
2002 Aug 05
1
constructing a formula
Dear Listers, I am having trouble figuring out how to build a formula using a variable list. For example, I have: a _ data.frame(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
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 present in
2012 Mar 12
1
Fwd: Re[2]: B-spline/smooth.basis derivative matrices
--- On Mon, 3/12/12, aleksandr shfets <a_shfets at mail.ru> wrote: > From: aleksandr shfets <a_shfets at mail.ru> > Subject: Fwd: Re[2]: [R] B-spline/smooth.basis derivative matrices > To: "Vassily Shvets" <shv736 at yahoo.com> > Received: Monday, March 12, 2012, 5:15 PM > > > > -------- ???????????? ????????? > -------- > ?? ????:
2007 Aug 23
1
nls() and numerical integration (e.g. integrate()) working together?
Dear List-Members, since 3 weeks I have been heavily working on reproducing the 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
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 $estimat...
2004 Jun 27
0
Omega and MORELIKE
On Wed, Nov 26, 2003 at 08:31:00PM +0000, Olly Betts wrote: > On Fri, Nov 21, 2003 at 11:52:44AM +0100, Franck Meunier wrote: > > I indexed internal docs, and then ask omega to "MORELIKE" 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
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
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().
Thanks for you reply. In our case, we want to get a weight using the user' properties(age, gender, price preference) and products' properties(price, comment count, purchased 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)
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
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 bot...