similar to: question

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

2008 Oct 27
0
Displaying number of Y/N affected by tree in rule form RE: R question/request on rules from rpart
Hi Prof. Williams, thanks for your suggestion. The updated code is below. It turns out it was a matter of displaying the second column in yval to get the number of N and subtracting it from the n column in the frame to get the number of Y remaining in a binary example. once this is added now the function returns the rules along with Y and N count affected by the resulting rule. I am ccing
2010 Mar 06
3
r code to generate interaction columns
Hi, is there a way to take a dataset and extract numeric columns and create interaction columns from it automatically? For e.g. there are 5 columns of data: A,B,C,D,E. CDE are numeric. Can someone provide code to automatically create more columns such as: 1) C*D, C*E, C*D*E, (C+E)/(D+.01 (to avoid divide by zero), (D+E)/(C+.01 (to avoid divide by zero), (C+D)/(E+.01 (to avoid
2008 Nov 20
1
rpart tuning question
Hi, In a binary classification dataset is there a way to tune rpart to now allow any false positives. I.e. is there some setting that will enforce no false positives (prior etc)? (and yet Without making the tree pick all 0 or 1 outcome) Dhruv [[alternative HTML version deleted]]
2008 Oct 19
3
pairs plots in R
Hi, is there a way to take a data frame with 100+ columns and large data set to do efficient exploratory analysis in R with pairs? I find using pairs on the whole matrix is slow and the resulting matrix is tiny. Also the variable of interest for me is a binary var Y or N . Is there an efficient way to graphically view many variable relationships that does not look teeny ? I could do
2008 Sep 29
1
persistence of model in R to a file
Hi, Is there a way to save R models (glm, lm , rpart etc) in a file that be read in later? I noticed models take up space. by space them off and removing them from memory it seems that would be useful. Also why do the models keep a copy of all columns in the original data set even those columns are not in the model. E.g. if I build a model on columns A, B even thought column C
2008 Oct 02
2
aggregate empty row for pretty appearance also subtotal if possible
Hi, To pretty print aggregates by various dimensions I needed to add a empty row in output of aggregate. For example. d<-(aggregate(data[,cbind("x")], by=list(data$group1,data$group2), sum)) Group.1 Group.2 x 1 A N 3 2 A Y 2 3 B N 420164905 Is there a way to add an empty
2008 Oct 15
0
R-help Digest, Vol 67, Issue 31
V; Sent via BlackBerry from T-Mobile -----Original Message----- From: r-help-request at r-project.org Date: Tue, 30 Sep 2008 12:00:06 To: <r-help at r-project.org> Subject: R-help Digest, Vol 67, Issue 31 Send R-help mailing list submissions to r-help at r-project.org To subscribe or unsubscribe via the World Wide Web, visit https://stat.ethz.ch/mailman/listinfo/r-help or, via email,
2008 Dec 23
1
sorting regression coefficients by p-value
Hi, Is there a way to get/extract a matrix of regression variable name, coefficient, and p values? (for lm and glm; which can be sort by p value?) thanks Dhruv [[alternative HTML version deleted]]
2017 Jun 22
6
[Bug 101559] New: Displays fail to wake up when booting machine away from Display Port KVM switch
https://bugs.freedesktop.org/show_bug.cgi?id=101559 Bug ID: 101559 Summary: Displays fail to wake up when booting machine away from Display Port KVM switch Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority:
2009 Sep 12
1
[LLVMdev] Cache optimizations and data layout
Hello, I am new to LLVM. I am using an x86 code generator. I need to write a few passes based on cache blocks and data layout information. Does LLVM provide a way for me to see the data layout and analyze what are the cache blocks? If not is it possible to implement the same in the current framework? Thank You Dhruv Choudhary -- School of Electrical and Computer Engineering Georgia Institute
2008 Sep 21
1
design question on piping multiple data sets from 1 file into R
Hi, I have some queries that I use to get time series information for 8 seperate queries which deal with a different set of time series each. I take my queries run them and save the output as csv file and them format the data into graphs in excel. I wanted to know if there is an elegant and clean way to read in 1 csv file but to read the seperate matrices on different rows into seperate
2008 Sep 21
2
r format questions
Hi, 1) I have noticed that when I use the aggregate function it outputs numbers in the results. for example: aggregate by product group.1 Aggregate 1 ProductA 1000400.00 2 ProductB 23232323.00 3 Missing 232323.00 is there a way to suppress the numbers infront of aggregate outputs. I checked and they don't look like columns when I do a summary so I can't -1
2008 Jun 18
2
problems trying the "getting started" demo
I have installed on a VirtualBox vm the crossbow ISO Now I''m trying to create the network map described in the "getting started" pdf I have this situation: On global zone, I have the real NIC: e1000g0 with ip 10.0.2.15 (VirtualBox NAT this IP, I can get web access with it) I have created an etherstub (etherstub n?2) with 2 vnics (vnic5 and vnic6), I''ve plumbed
2002 Mar 13
0
rpart error with 0-frequency factor levels (with partial fix) (PR#1378)
(I'm sending to r-bugs because rpart is one of the recommended packages and is always installed. I'm also sending it directly to Dr. Ripley, as the maintainer.) rpart working as a classifier does not work (produces no splits) when the class indicator has no instances of one of the factor levels, as long as the factor level is not the final level. I have at least a partial fix, which I
2011 Dec 27
0
Using minsplit and unequal weights in rpart
Dear r-help mailing list, Is there a way to incorporate weights into the minsplit criteria in rpart, when the weights are uneven? I could not find a way for the minsplit threshold to take the weights into account, and when the weights are uneven it becomes an issue, as the following example shows. My current workaround is to expand the data into one in which each row is an observation, but that
2004 Oct 13
2
debugging non-visible functions
Hi, I would like to step-through a non-visible function. but apparently I don't know enough about namespaces to get that to work: > methods(predict) ... deleted lines ... [27] predict.rpart* predict.smooth.spline* [31] predict.survreg.penal* Non-visible functions are asterisked > debug(predict.rpart) Error: Object "predict.rpart" not found >
2002 Jan 25
0
rpart subsets
A few weeks back I posted that the subset feature of rpart was not working when predicting a categorical variable. I was able to figure out a simple solution to the problem that I hope can be included in future editions of rpart. I also include a fix for another related problem. The basic problem is that when predicting a categorical using a subset, the subset may not have all the categories
2002 Jan 28
0
rpart subset fix
(Apparently, I posted this to the wrong place. I am hopefully posting this is the correct place now. If not, please advise.) A few weeks back I posted that the subset feature of rpart was not working when predicting a categorical variable. I was able to figure out a simple solution to the problem that I hope can be included in future editions of rpart. I also include a fix for another related
2018 Aug 14
2
Xenial rpart package on CRAN built with wrong R version?
Hello, I just upgraded my Ubuntu Xenial system to R 3.5.1 (from 3.4.?) by changing the sources.list entry and doing an "apt-get dist-upgrade". Everything works except loading the rpart package in R: > library(rpart) Error: package or namespace load failed for ?rpart?: package ?rpart? was installed by an R version with different internals; it needs to be reinstalled for use with
2009 May 26
0
cross-validation in rpart
Dear R users, I know cross-validation does not work in rpart with user defined split functions. As Terry Therneau suggested, one can use the xpred.rpart function and then summarize the matrix of the predicted values into a single "goodness" value. I need only a confirmation: set for example xval=10, if I correctly understood a single column of the matrix obatined by xpred.rpart gives