similar to: caret::train() and ctree()

Displaying 20 results from an estimated 500 matches similar to: "caret::train() and ctree()"

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 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 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 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
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
2012 Aug 23
0
party package: ctree - survival data - extracting statistics/predictors
Dear R users, I am trying to apply the analysis processed in a paper, on the data I'm working with. The data is: 80 patients for which I have survival data (time - days, and event - binary), and microarray expression data for 200 genes (predictor continuous variables). My data matrix "data.test" has ncol: 202 and nrow: 80. What I want to do is: - run recursive partitioning on
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,
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 <-
2011 Feb 17
1
missing values in party::ctree
After ctree builds a tree, how would I determine the direction missing values follow by examining the BinaryTree-class object? For instance in the example below Bare.nuclei has 16 missing values and is used for the first split, but the missing values are not listed in either set of factors. (I have the same question for missing values among numeric [non-factor] values, but I assume the answer
2011 Apr 29
0
Plot multiple ctrees in the same figure
Dear all: Is there a way one could plot two conditional inference trees (party package, ctree) in a figure specified by layout? My attempts failed as plot.party seemed to take over the layout functionality and forced a single ctree plot to be displayed. A brief (non reproducible) example together with the intended behavior follows below. I hope I am not missing something obvious. My system:
2013 Jan 27
1
lapply and SpatialGridDataFrame error
Hi all, I have a set of 54 files that I need to convert from ASCII grid format to .shp files to .bnd files for BayesX. I have the following R code to operate on those files: library(maptools) library(Grid2Polygons) library(BayesX) library(BayesXsrc) library(R2BayesX) readfunct <- function(x) { u <- readAsciiGrid(x) } modfilesmore <- paste0("MaxFloodDepth_", 1:54,
2012 Mar 21
1
enableJIT() and internal R completions (was: [ESS-bugs] ess-mode 12.03; ess hangs emacs)
Hello, JIT compiler interferes with internal R completions: compiler::enableJIT(2) utils:::functionArgs("density", '') gives: utils:::functionArgs("density", '') Note: no visible global function definition for 'bw.nrd0' Note: no visible global function definition for 'bw.nrd' Note: no visible global function definition for 'bw.ucv'
2012 Jun 15
0
argument "x" is missing, with no default - Please help find argument x
R programming question, not machine learning, although that's the content. Apologies to all for whom the following code is eye-burning. I am using foreach() to run a simulation on a randomForest model (actually conditional randomForest ... "party" package). The simulation is in two dimensions. examining how "mtry" and "ntrees" are related in terms of predictive
2011 Jan 20
1
Problems with ecodist
Dear Dr.Goslee and anyone may intrested in matrix manipulate, I am using your ecodist to do mantel and partial mantel test, I have locality data and shape variation data, and the two distance matrixs are given as belowings. When I run the analysis, it is always report that the matrix is not square, but I didn't know what's wrong with my data. Would you please help me on this. I am quite
2013 Jan 12
1
How to extract value for specific rows in an array?
Hi everyone, I have a dataset that contains depths measurements every 30 sec for several days. The subset of data that I am working on looks like this: Date Day Depth 18442.00 29 41.0 18442.00 29 43.5 ... 18442.04 29 40.3 18442.04 29 35.1 ... 18443.00 30 16.5 ... Since my data is collected
2001 Nov 15
3
rsync takes way too long to perform this....
rsync -avnp remote::gif/ `find /home/www/html/ -maxdepth 1 -name "*.[j,g][pg,if]*"` /tmp/ If I run this on the local machine, the rsync server, it takes this long: ---> root@server (0.34)# time find /home/www/html/ -maxdepth 1 -name "*.[j,g][pg,if]*" -type f /home/www/html/comparestores_2.jpg /home/www/html/home.jpg /home/www/html/comparestores_3.jpg
2014 Dec 11
1
Error build documentation for samba-4.0.23
Try to build samba-4.0.23 (4.0.22 build without problems): http://git.altlinux.org/tasks/136130/build/100/x86_64/log There is error as described in "new" bug https://bugzilla.samba.org/show_bug.cgi?id=9515 [2720/2814] Generating manpages/smb.conf.5 ... (many validity errors like ID ABORTSHUTDOWNSCRIPT already defined) ... runtime error: file
2009 May 19
9
Hang at 5:34 pm EST
Some at 5:34 pm EST DAILY, all my call get disconnect. I tried RE-INSTALLATION, I tried Reinstallation on a virgin HDD, but its same. I tried changing VOIP provider I tried changing Internet Provider..But no help.. What could be the reason ? Here are my enties of crontab : ### recording mixing/compressing/ftping scripts 0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * *
2009 Apr 17
1
R on Windows and RMySQL
I have successfully installed R (version 2.8.1) and RMySQL (version 0.7-4) on my PC (Windows). Now I have a problem running RMySQL on R. I constantly receive the following error-message: Error in utils::readRegistry("SOFTWARE\\MySQL AB", hive = "HLM", maxdepth = 2) : Registry-Schl?ssel 'S' nicht gefunden Error : .onLoad in 'loadNamespace' f?r