Displaying 20 results from an estimated 300 matches similar to: "party package: ctree - survival data - extracting statistics/predictors"
2011 Feb 16
1
caret::train() and ctree()
Like earth can be trained simultaneously for degree and nprune, is there a way to train ctree simultaneously for mincriterion and maxdepth?
Also, I notice there are separate methods ctree and ctree2, and if both options are attempted to tune with one method, the summary averages the option it doesn't support. The full log is attached, and notice these lines below for
2012 Jan 19
1
ctree question
Hello. I have used the "party" package to generate a regression tree as
follows:
>origdata<-read.csv("origdata.csv")
>ctrl<-ctree_control(mincriterion=0.99,maxdepth=10,minbucket=10)
>test.ct<-ctree(Y~X1+X2+X3,data=origdata,control=ctrl)
The above works fine. Orig data was my training data. I now have a test
data file (testdata), and
2010 Apr 07
1
extracting ctree() output information
Hi,
I am new to R and am using the ctree() function to do customer
segmentation. I am using the following code to generate the tree:
treedata$Response<-factor(treedata$Conversion)
fit<-ctree(Response ~
.,controls=ctree_control(mincriterion=0.99,maxdepth=4),data=treedata)
plot(fit)
print(fit)
The variable "Response" above equals 1 if the customer responded to an
offering and
2009 Mar 04
3
How to reuse my self function?
Dear all,
I wrote a function test1 in test1.R.
Right, I am writing another function test2 on test2.R and trying to use
test1 function.
How can I do?
Is there any similar way like including test1.R in test2.R file?
Thank You Very Much.
Jia-Ming
============================
$BD%2HLC(B Jia-Ming Chang
PhD Student
Comparative Bioinformatics Group
Bioinformatics and Genomics Programme
Centre
2009 Mar 13
0
ctree from Java via Rserve
Hi,
I want to run the R-function ctree (package party) from Java over Rserve
with the following Java-Code:
try{
RConnection v = new RConnection();
v.voidEval("library(party)");
v.voidEval("try(load(\"C:\\Documents and Settings\\daten2.rda\"))");
v.voidEval("try(pdf(\"C:\\Documents and Settings\\test4.pdf\"))");
v.voidEval("plot
2009 Apr 20
0
New versions for the distr-family of packages
-------------------------------------------------------------------------------
New versions released for the distr family of package
-------------------------------------------------------------------------------
We would like to announce the availability on CRAN (with possibly a
minor delay until on every mirror) of new versions of our packages
in the "distr"-family (version 2.1),
2009 Apr 20
0
New versions for the distr-family of packages
-------------------------------------------------------------------------------
New versions released for the distr family of package
-------------------------------------------------------------------------------
We would like to announce the availability on CRAN (with possibly a
minor delay until on every mirror) of new versions of our packages
in the "distr"-family (version 2.1),
2012 May 02
2
Función para devolver nombre del área de trabajo en uso
¡Hola!
¿Alguien sabe si existe una función en R que devuelve el nombre del área de trabajo (workspace) en uso si éste ha sido guardado anteriormente?
Con getwd() R me devuelve la carpeta de trabajo, pero si en ésta tengo varios áreas de trabajo guardados, p.e. a.RData y b.RData, ¿cómo podría saber en cuál estoy trabajando si por un despiste no me acordara cuál he abierto anteriormente (sin tener
2010 Jul 27
1
Cforest mincriterion
Hi,
Could anyone help me understand how the mincriterion threshold works in
ctree and cforest of the party package? I've seen examples which state that
to satisfy the p < 0.05 condition before splitting I should use mincriterion
= 0.95 while the documentation suggests I should use mincriterion =
qnorm(0.95) which would obviously feed the function a different value.
Thanks in advance,
2008 Nov 14
2
the number of the arguments of function is not sure
I want to write a function to plot a picture for each inputting file like
the following example.
plot_test <- function(f1,f2)
{
}
However,
--
Jia-Ming
============================
$BD%2HLC(B Jia-Ming Chang
PhD Student
Comparative Bioinformatics Group
Bioinformatics and Genomics Programme
Centre de Regulacio Genomica (CRG)
Dr. Aiguader, 88
08003 Barcelona
Spain
E-Mail:
2006 Apr 18
0
Jeffries-Matusita distance
I've calculated as follows:
matusita<-function(f1,f2,lw,up){
fmatu<-function(x) ( sqrt(f1(x)) - sqrt(f2(x)) )^2
sqrt (integrate( fmatu, lower=lw, upper=up, subdivisions=1000000)$value)
}
Josué Almansa
Unitat de Recerca en Serveis Sanitaris
Institut Municipal d'Investigació Mèdica, IMIM
c/ Doctor Aiguader, 80
08003 Barcelona
e-mail: jalmansa@imim.es
2008 Jun 30
1
ctree (party) plot meaning question
I tried to use ctree but am not sure about the meaning of the plot.
My.data.ct<-ctree(Resp~., data=My.data)
plot(My.data.ct)
My data.frame contains 88 explanatory variables (continous,ordered/unordered
multistate,count data) and one response with two groups.
In the plot are only two variables shown (2 internal nodes) and 3 final
nodes. Does it mean that only these two variables show a
2019 Dec 15
0
christmas package
Generation of a number of Christmas cards, most of them being animated. The
name of each card includes the year in which it was created.
Some examples are:
- The christmas card that was writen in 2009 shows a ?caganer? (
https://en.wikipedia.org/wiki/Caganer):
> library(christmas)
> xmas2009caganer()
- The 2019 design is about CRM (Christmas regression model) ;-)
>
2019 Dec 15
0
christmas package
Generation of a number of Christmas cards, most of them being animated. The
name of each card includes the year in which it was created.
Some examples are:
- The christmas card that was writen in 2009 shows a ?caganer? (
https://en.wikipedia.org/wiki/Caganer):
> library(christmas)
> xmas2009caganer()
- The 2019 design is about CRM (Christmas regression model) ;-)
>
2011 Jun 22
1
caret's Kappa for categorical resampling
Hello,
When evaluating different learning methods for a categorization problem with
the (really useful!) caret package, I'm getting confusing results from the
Kappa computation. The data is about 20,000 rows and a few dozen columns,
and the categories are quite asymmetrical, 4.1% in one category and 95.9% in
the other. When I train a ctree model as:
model <- train(dat.dts,
2012 Jan 09
2
Unexpected results using the oneway_test in the coin package
Dear fellow R users,
Keywords: Kruskal-Wallis, Post-Hoc, pair-wise comparisons, Nemenyi-Damico-Wolfe-Dunn test, coin package, oneway_test
I am using the "oneway_test" function in the R package "coin" and I am obtaining results which I cannot believe are accurate. I do not wish to waste anyone's time and so if the following problem is rather trivial, I apologize, however I
2009 Sep 26
1
mboost_1.1-3 blackboost_fit (PR#13972)
Full_Name: Ivan the Terrible
Version: 2.9.2
OS: Windows XP SP3
Submission from: (NULL) (89.110.13.151)
When using the method blackboost_fit of the package mboost appear following
error :
Error in party:::get_variables(obj at responses) :
trying to get slot "responses" from an object (class "boost_data") that is not
an S4 object
Simple test case that produce bug:
2010 Sep 16
1
Nemenyi test as a post-hoc test to Kruskal Wallis
Dear all,
I've discovered the possibility to do the Nemenyi-Damico-Wolfe-Dunn test in the library(coin); oneway_test()
With the given example I am unfortunately not able to reproduce the test. What does trafo and contrMat mean?
I have a dataframe with 176 elements in 7 classes. It may be a problem, that my model isn't balanced? In Class1 I happen to have 4 elements, while there are 90 in
2010 Feb 03
0
mboost: how to implement cost-sensitive boosting family
mboost contains a blackboost method to build tree-based boosting models. I tried to write my own "cost-sensitive" ada family. But obviously my understanding to implement ngradient, loss, and offset functions is not right. I would greatly appreciate if anyone can help me out, or show me how to write a cost-sensitive family, thanks!
Follows are some families I wrote
ngradient <-
2012 Mar 26
0
Different result with "kruskal.test" and post-hoc analysis with Nemenyi-Damico-Wolfe-Dunn test implemented in the help page for oneway_test in the coin package that uses multcomp
Dear Researchers,
Sorry for this email but I am not a statistician, and for this I have this
problem to understand. Thanks in Advance for help and suggestions.
Gianni
I have 21 classes (00, 01, 02, 04, ....,020) with different length. I did a
kruskal wall test in R with the following code
kruskal.test(m.class.l, m.class.length.lf)
Kruskal-Wallis rank sum test
data: m.class.l and