Displaying 20 results from an estimated 3000 matches similar to: "Get (feature, threshold) from Output of rpart() for Stump Tree"
2002 Mar 29
1
memory error with rpart()
Dear all,
I have a 100 iteration loop. Within each loop, there are some calls
to rpart() like:
ctl <- rpart.control(maxcompete=0, maxsurrogate=0, maxdepth=10)
temp <- rpart(y~., x, w=wt, method="class", parms=list(split="gini"),
control=ctl)
res <- log(predict.rpart(temp, type="prob"))
newres <- log(predict.rpart(temp, newdata=newx,
2012 Apr 03
1
rpart error message
Hi R-helpers,
I am using rpart package for decision tree using R.We are invoking R
environment through JRI from our java application.Hence, the result of R
command is returned in REXP and we use geterrMessage() to retrieve the
error.
When we execute the following command,
cnr_model<-rpart(as.factor(Species)~Sepal Length+Sepal Width+Petal Length,
method="class",
2011 Sep 29
3
grep and PCRE fun
Hello,
I think I've found a bug in the C function do_grep located in
src/main/grep.c. It seems to affect both the latest revisions of
R-2-13-branch and trunk when compiling R without optimizations and
with it's own version of pcre located in src/extra, at least on ubuntu
10.04.
According to the pcre_exec API (I presume the later versions), the
ovecsize argument must be a multiple of 3 ,
2009 Mar 17
1
Control + Function key doesn't work in VB form
Hi,
I have installed openSUSE 10.2 (i586) and Wine 1.1.16.
I am able to run the VB exe in SUSE and it connect to Sql server. In the VB application I have set Cntrl+F6 key to load another form.
But any key combination with Cntrl key doesn't fire.
Do I have to disable this Cntrl key combination in SUSE or Wine?
Thanks
2000 Dec 15
2
debugger not recognizing C routine names
Something seems to have changed with the debugger
option since I used it last,
unless I've forgotten something really stupid
(much more likely) . The
debugger doesn't seem to recognise the names of C routines
*****************
[jonm at localhost jonm]$ cat test.c
#include "S.h"
void test(int *x,int *y){
y[0]=x[0]+2;
}
[jonm at localhost jonm]$ R COMPILE test.c
gcc
2007 Dec 10
1
Multiple Reponse CART Analysis
Dear R friends-
I'm attempting to generate a regression tree with one gradient predictor and multiple responses, trying to test if change in size (turtle.data$Clength) acts as a single predictor of ten multiple diet taxa abundances (prey.data) Neither rpart or mvpart seem to allow me to do multiple responses. (Or if they can, I'm not using the functions properly.)
> library(rpart)
2009 Jul 26
3
Question about rpart decision trees (being used to predict customer churn)
Hi,
I am using rpart decision trees to analyze customer churn. I am finding that
the decision trees created are not effective because they are not able to
recognize factors that influence churn. I have created an example situation
below. What do I need to do to for rpart to build a tree with the variable
experience? My guess is that this would happen if rpart used the loss matrix
while creating
2017 Apr 13
1
Q: Windows/readline: missing history search
Hello!
Ever since I used R on Windows (RGui) I am missing the ability to search the command history (Cntrl+R (reverse-search-history) in BASH, for example). Is there a particular reason for having this function disabled? Another feature would be word-wise delete (kill-word, backward-kill-word).
Probably being able to use the Alt-key as Meta key for readline (instead of activating menu entries)
2000 Jul 09
1
minor typos in help pages (PR#598)
Dear R Team,
A few monor typos in help pages that I noticed.
Thank you very much.
Rashid Nassar
1.
help(gl)
Examples:
# First control, then treatment:
gl(2,8, label=c("Ctnrl","Treat"))
^^^^
I assume "Cntrl" is meant.
==========================================
2.
help(pmatch)
Details:
The behaviour
1997 Aug 06
1
multiple domain contr. not allowed?
Hi,
Using samba 1.9.17alpha5 on all servers, I'd like to configure one of my
servers to be a failover domain controller in case my usual domain
controller dies. Some verbage in BROWSE.TXT suggests that this is doable:
{
It is possible to configure two samba servers to attempt to become
the domain master browser for a domain. The first server that comes
up will be the domain master browser.
2010 Jul 15
2
Conflict with Ctrl key in MacOS?
After a switch from Windows to Macintosh (running Mac OSX 10.6), I wanted to be able to run a dear old text editor, NoteTab Pro, which is only available in a Windows version.
I did an installation using Wine, and after some initial issues in finding the supporting files to the editor (the path to them turned out to have 14(!) levels), everything was running smoothly.
But pretty soon the MacBook
2010 Jan 18
2
Another cygwin/rsync question
Hi, Been using rsync for many years but I'm stuck with this problem.
I'ts a simplistic backup using rsync from a Windows 2k3 machine to a
Linux box out on the 'net, using pre-shared ssh keys. In this case I'm
saving, files belonging to various users, using the administrator
account on the windows machine and the destination is a normal user
account and its home file area.
2000 Sep 28
1
tcltk package functionality
Hello,
I wrote a function in R which uses tcltk package .... essentially I wanted
to give within that function, a widget with 2 radiobuttons to choose
between plotting Precip and Temperature plots. After the user has chosen
one of the radiobuttons there is another widget that asking him to identify
outliers. However, I am having a lot of problems...what R does is evaluate
the whole function
2002 Jul 08
0
rsync 2.5.5 consuming memory and spirals server down
Hi there,
I've a problem with rsync - see below.
(by the way: I'm using rsync since 2 years now, good work!)
my environment:
- linux, 2.4, Dual-PIII-1.2GHz, 1 GB RAM. more of these machines.
- rsync 2.5.5
- openssh 3.3
the machines are on a lan, so bandwith is not a problem.
I sync large directories (about 6 GB growing) between the machines,
no problem - memory consumtion of rsync is
2008 Nov 03
4
wine hangs until ctrl - C is sent
Hello,
I have a strange problem
I have two applications called ADM and SGP
When I start one or another it starts very fast, but the second hangs until I got to the terminal and I press crtl-c
The message sent when i press ctrl-c is the following
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for c000013a
After that it starts working
2012 Mar 17
3
paste (CTRL + v) not working rgui
R community,
I feel almost embarrassed to ask this question as it is strange behavior. When I think there's a bug around R or a package I ask "Self it's not a bug what dumb thing are you doing?"
I'm running version 2.14.2 (2012-02-29) on a Windows 7 machine using the standard rgui
Ever since I downloaded this latest version I have been having difficulty using the windows
2007 Apr 19
1
"tree-ID" in any segmentation package available?
Dear R-helpers,
I am looking for a segmentation package that gives some "tree identifier"
as output for every observation in the data set (my response variable is
binary). I have skimmed through "rpart", "ada" and "adabag": The output
"trees" gives you the formula, but I have to run several thousand
segmentations on different data sets and it
2012 Jan 06
1
Please help!! How do I set graphical parameters for ploting ctree()
I'm trying to understand how to set graphical parameters for trees created with the party package. For example take the following code:
library(party)
data(airquality)
airq <- subset(airquality, !is.na(Ozone))
airct <- ctree(Ozone ~ ., data = airq,
controls = ctree_control(maxsurrogate = 3))
plot(airct)
My problem is, I've got a ctree that has
2007 Mar 19
1
Some strange window bahviour with Papyrus in wine
Hello
(I hope this is the correct group for this post - if not I am sure you
will tell me where to go :-)) )
I use wine 0.9.23-12.1 in Suse 10.1 on my laptop to run Papyrus (a word
processor originally written for the Atari platform and now available for
Windows).
I have been very pleased with recent versions of wine as it seems now to
be working almost perfectly for Papyrus :-)
However, I
2012 Jun 08
2
remove leading slash
Hello,
How do I change this:
> cnt_str
[1] "\002" "\001" "\102"
...to this:
> cnt_str
[1] "2" "1" "102"
Having trouble because of this:
> nchar(cnt_str[1])
[1] 1
Thanks!
Ben
[[alternative HTML version deleted]]