Re: [R] Caret and Summary

2015-10-29 Thread Kuhn, Max
On 10/29/15, 11:46 AM, "Lorenzo Isella" wrote: >Dear All, >I trained a model, let's call it mm, using caret+Cubist. >When I type summary(mm), the output is rather long. >This is because a Cubist model is a long set of rules, partially >reminiscent of a classification tree. >How can I save summa

[R] [R-pkgs] caret version 6.0-21

2014-01-03 Thread Kuhn, Max
The caret package (short for Classification And REgression Training) attempts to streamline the process for creating predictive models. The package contains tools for: - data splitting - pre-processing - feature selection - model tuning using resampling (with parallel processing) - variable i

Re: [R] odfWeave: in multi-page plots only last page appears in document

2008-04-14 Thread Kuhn, Max
-Original Message- From: Sarah Goslee [mailto:[EMAIL PROTECTED] Sent: Monday, April 14, 2008 2:32 PM To: Tobias Sing Cc: r-help; Kuhn, Max Subject: Re: [R] odfWeave: in multi-page plots only last page appears in document If you ran that code outside ODFWeave, you'd only get one plot, so why woul

[R] [R-pkgs] New versions of the caret (3.08) and caretLSF (1.12) packages

2007-11-29 Thread Kuhn, Max
New versions of the caret (3.08) and caretLSF (1.12) packages have been released. caret (short for "Classification And REgression Training") aims to simplify the model building process. The package has functions for data splitting, pre-processing and model tuning, as well as other miscellaneous f

Re: [R] Loc function in R??

2007-11-20 Thread Kuhn, Max
?which > which(X) [1] 1 2 3 Max -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barb, Jennifer (NIH/CIT) [E] Sent: Tuesday, November 20, 2007 3:07 PM To: [EMAIL PROTECTED] Subject: [R] Loc function in R?? Does anyone know which function (if any) will r

Re: [R] R2HTML package and Open Office: text only pasted

2007-11-05 Thread Kuhn, Max
Graham, I'm not sure what the issue is, but I would suggest using OpenOffice directly with the odfWeave package. Max -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Graham Smith Sent: Monday, November 05, 2007 3:02 AM To: [EMAIL PROTECTED] Subject: [R] R

Re: [R] RWeka and naiveBayes

2007-11-01 Thread Kuhn, Max
Sancar, > I'm trying to use RWeka to use a NaiveBayes Classifier(the Weka > version). However it crashes whenever there is a NA in the class > Gender It is difficult to tell what the problem is without the data (or a reproducible toy example), but it seems like you are trying to remove NA values

Re: [R] NAIVE BAYES with 10-fold cross validation

2007-10-31 Thread Kuhn, Max
Julia, > i checked the caret package out and the tuning works. but i > can't find a way to make a contingency table in order to > see the classification result. You should read the vignettes for the package at: http://cran.r-project.org/src/contrib/Descriptions/caret.html these have the de

Re: [R] NAIVE BAYES with 10-fold cross validation

2007-10-30 Thread Kuhn, Max
> am trying to implement the code of the e1071 package for naive bayes, > but it doens't really work, any ideas?? > am very glad about any help!! > need a naive bayes with 10-fold cross validation: The caret package will do this. Use fit <- train( x, y, method = "nb", trControl = trainCo

Re: [R] random forest mtry and mse

2007-10-12 Thread Kuhn, Max
Dave, > I have been using random forest on a data set with 226 sites and 36 > explanatory variables (continuous and categorical). When I use > "tune.randomforest" to determine the best value to use in "mtry" there > is a fairly consistent and steady decrease in MSE, with the optimum of > "mtry

Re: [R] How to catch a R error in R code

2007-10-10 Thread Kuhn, Max
Howard, > though it received the statement. I tried to use some R built-in > functions of try, tryCatch, eval, expression, as.expression, > parse, deparse, etc. None of them worked. How did they not work? What did you attempt? Did you use silent = TRUE in try? Please be more specific about t

[R] [R-pkgs] new packages: caret, caretLSF and caretNWS

2007-10-05 Thread Kuhn, Max
Three more packages will be showing up on your mirror soon. The caret package (short for "Classification And REgression Training") aims to simplify the model building process. The package has functions for - data splitting: balanced train/test splits, cross-validation and bootstrapping sampling

Re: [R] sprucing up the R homepage

2007-09-27 Thread Kuhn, Max
Antony, > be drawn with R, all applied to the swiss fertility dataset. Are > these the kinds of graphics we would want to draw in a real > analysis? You make a good point about what would need to be done for these data, that wasn't the objective of the graphic. I couldn't find the origina

Re: [R] wordReport

2007-09-26 Thread Kuhn, Max
> Where can I find all the ways to write Word documents using R? There aren't many. Look at http://www.user2007.org/program/presentations/kuhn.pdf to get Word documents via OpenOffice. Max __ R-help@r-project.org mailing list https://stat.ethz.

Re: [R] help for high-quality plot (wmf) in files

2007-09-18 Thread Kuhn, Max
> Standard sweave may not work for this, but there is the odfWeave package > that will create openoffice documents which can easily be converted to > word docs (I have used this for creating sets of graphs to send to > clients who only use word). I don't know if it can generate .wmf files > or not