similar to: programming question

Displaying 20 results from an estimated 3000 matches similar to: "programming question"

2001 May 22
1
Surrogate splits for decision trees
Dear R, Short verse of the question: Is there R code which will calculate surrogate splits and/or delta impurity for decision trees at each node? Long Version: I have local, legacy code which I use to calculate my decision trees. I would like to switch to R, but as I understand it surrogate splits are not implemented. Surrogate splits and feature ranking are described in Breiman et al
2002 Jan 22
1
documentation and plotting with lqs
Dear r-help, Is there any available description of the components of lqs objects found in the package "lqs"? > names(slts) [1] "crit" "sing" "coefficients" "bestone" [5] "fitted.values" "residuals" "scale" "terms" [9] "call"
2001 Sep 04
1
searching the r-help list
Do those who have had trouble finding stuff in the R-archive used the search engine? http://www.scirus.com/ And as far as threading goes. My mailler "mutt" threads the mailing list quite nicely. --Clayton -- Clayton Springer, Ph. D. Sandia National Laboratories csprin at ca.sandia.gov Biosystems Research Department (925) 294-2143 P.O. Box
2001 Nov 12
0
Additional Documentation for rpart?
Dear r-help, I am looking for additional documentation on the "adj" column in rpart's splits matrix. The help says: adj gives the adjusted concordance for surrogate splits I am looking info about "adjusted concordance". I cannot find this phrase in either Therneau & Atkinson original RPART documentation or the CART book. This question came up in the
2002 Feb 26
1
Logistic Regression woes
Hi All, When I tried to do logistic regression and I got the following messages: > SampledW.glm.ALL <- glm (V1 ~ ., family = binomial, data = SampledW) Warning messages: 1: Algorithm did not converge in: (if (is.empty.model(mt)) glm.fit.null else glm.fit)(x = X, y = Y, 2: fitted probabilities numerically 0 or 1 occurred in: (if (is.empty.model(mt)) glm.fit.null else glm.fit)(x = X, y =
2000 Mar 08
3
Reading data for discriminant analysis
Dear R users, I want to do discriminant analysis on my data. I have successfully followed the discriminant analysis in V & R on the iris data: > ir <- rbind (iris3[,,1],iris3[,,2],iris3[,,3]) > ir.species <- c(rep("s",50),rep("c",50),rep("v",50)) > a <- lda(log(ir),ir.species) > a$svd^2/sum(a$svd^2) [1] 0.996498601 0.003501399 > a.x <-
2002 Apr 25
1
understanding and resolving seg faults
Dear r-devel, I am mutating rpart to do calculations on trees. I am trying to extract information from the tree. However, I got a seg. fault. This is the offending line in "rpmatrix.c": deltaI[0][0] = spl->improve; (Commenting it out cures the seg fault) I would like some advice on how to debug this. I have allocated memory with calloc and deltaI[0][0] should be
2000 Mar 08
1
Trouble with data dim
Dear R users, I am a novice user working through V & R. My first question stems from p20 of the second edition.: I perform the following actions: > mydata <- c(2.9,3.4,3.4,3.7,3.7,2.8,2.8,2.5,2.4,2.4) > names(mydata) <- c('c','j','b','e','i','h','g','d','f','a') > mydata c j b e i h
1999 Oct 25
1
trouble reading in datasets
Dear All, I was trying to follow some of the examples in Venables and Ripley "Modern applied ... with S-plus" I have downloaded a copy of the iris data set and loaded into R. : however I cannot use the apply command (from p47): > apply (iris, 2 ,mean) Error in sum(..., na.rm = na.rm) : invalid "mode" of argument > apply (iris, c(2) ,mean) Error in sum(..., na.rm =
2014 Dec 15
2
need guidance on getting started...again
Thanks, Mark. Um, how's about from the commandline or how do I get, I guess we're still using X11, windows to load. Sorry, :<}}} Clayton >-----Original Message----- >From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On >Behalf Of Mark LaPierre >Sent: Sunday, December 14, 2014 5:50 PM >To: centos at centos.org; Mark LaPierre >Subject: Re:
2023 Mar 10
1
linux-6.2-rc4+ hangs on poweroff/reboot: Bisected
On Fri, Mar 10, 2023 at 10:26?AM Chris Clayton <chris2553 at googlemail.com> wrote: > > Hi. > > Is it likely that this fix will be sumbmitted to mainline during the ongoing 6.3 development cycle? > yes, it's already pushed to drm-misc-fixed, which then will go into the current devel cycle. I just don't know when it's the next time it will be pushed upwards, but it
2023 Feb 20
1
linux-6.2-rc4+ hangs on poweroff/reboot: Bisected
On Mon, Feb 20, 2023 at 11:51 AM Chris Clayton <chris2553 at googlemail.com> wrote: > > > > On 20/02/2023 05:35, Ben Skeggs wrote: > > On Sun, 19 Feb 2023 at 04:55, Chris Clayton <chris2553 at googlemail.com> wrote: > >> > >> > >> > >> On 18/02/2023 15:19, Chris Clayton wrote: > >>> > >>> > >>> On
2009 Aug 17
2
Newbie that don't understand R code
I got some R code that I don't understand. Question as comment in code //where is t comming from, what is phi inverse rAC <- function(name, n, d, theta){ #generic function for Archimedean copula simulation illegalpar <- switch(name, clayton = (theta < 0), gumbel = (theta < 1), frank = (theta < 0), BB9 = ((theta[1] < 1) | (theta[2] < 0)), GIG = ((theta[2] < 0) |
2014 Dec 15
2
How serious are we about not wanting to see...
Personally, I am agnostic. I've just read thru Centos documentation that there is a big effort to remove all upstream personalities from Centos. Personally, I don't see why RH is doing this. I would think that it undermines RH. But I'm still new/old to all of this. It used to be the big argument was between Unix from Berkeley(4.? I think) and SysIII/V. Always always battles for turf.
2007 Dec 18
2
Is cp then mv the default?
Hi, I noticed there is an "-inplace" option on rsync web site's man page. So this seems to mean "copy then move" is the default behavior. Has this been the default all the time? I am running a pretty old version, see below, and I need to have the "copy then move" feature to ensure partial files are not accessed while they are being updated. [qt_prod@cflxqs55p
2011 Jun 10
1
smoothScatter function question and adding a legend
Hello, I have a few questions, regarding the smoothScatter function. I have a scatter plot with more than 500,000 data points for two samples. So, I am wanting to display the density in colors to convince people that my good correlation coefficient is not due to an "influential point effect" and plus, I also want to make my scatter plot look pretty. Anyway ... I have been able to
2003 Dec 08
1
trouble with predict.l1ce
Dear R-help, I am having trouble with the predict function in lasso2. For example: > data(Iowa) > l1c.I <- l1ce(Yield ~ ., Iowa, bound = 10, absolute.t=TRUE) > predict (l1c.I) # this works is fine > predict (l1c.I,Iowa) Error in eval(exper,envir, enclos) : couldn't find function "Yield" And I have similar trouble whenever I use the newdata argument in
1999 May 29
2
Unexpected behaviour of read.table
When reading comma-delimited files as saved from a spreadsheet (unfortunately many of my scientific collaborators give me these) in read.table(), missing values are spotted most of the time. Unfortunately when comma is the first character on the line it gets it wrong. For example, reading the file 1,,3 ,5,6 ,8,9 with read.table("test.dat", header=F, sep=",") R gives
2014 Dec 15
2
need guidance on getting started...again
Hello, It's been about 15 years since I've enjoyed working in the Unix space, and I am trying to reintegrate myself. A few things have changed in the intervening years. I've installed the first Centos6 iso without too much difficulty, but I am rusty on commands and such. It appears the install doesn't install mans so would somebody suggest a way to find and install them. It
2020 Mar 03
3
Adding accelerator tables to existing linked DWARF files
Is there/could you further explain the use-case for adding an index to an existing binary? Certainly not the worst idea/could come in handy sometimes, but you mention benchmarking - is the benefit of not recompiling/relinking that significant to such experiments? If it's not for use in a common workflow, but only in a compiler/debugger development workflow, it doesn't seem so important to