Displaying 20 results from an estimated 200 matches similar to: "caret: Errors with createGrid for rf (randomForest)"
2012 Nov 23
1
caret train and trainControl
I am used to packages like e1071 where you have a tune step and then pass your tunings to train.
It seems with caret, tuning and training are both handled by train.
I am using train and trainControl to find my hyper parameters like so:
MyTrainControl=trainControl(
method = "cv",
number=5,
returnResamp = "all",
classProbs = TRUE
)
rbfSVM <- train(label~., data =
2013 Feb 13
2
CARET: Any way to access other tuning parameters?
The documentation for caret::train shows a list of parameters that one can
tune for each method classification/regression method. For example, for
the method randomForest one can tune mtry in the call to train. But the
function call to train random forests in the original package has many
other parameters, e.g. sampsize, maxnodes, etc.
Is there **any** way to access these parameters using train
2010 Mar 23
1
caret package, how can I deal with RFE+SVM wrong message?
Hello,
I am learning caret package, and I want to use the RFE to reduce the
feature. I want to use RFE coupled Random Forest (RFE+FR) to complete this
task. As we know, there are a number of pre-defined sets of functions, like
random Forest(rfFuncs), however,I want to tune the parameters (mtr) when
RFE, and then I write code below, but there is something wrong message, How
can I deal with it?
2013 Mar 06
1
CARET and NNET fail to train a model when the input is high dimensional
The following code fails to train a nnet model in a random dataset using
caret:
nR <- 700
nCol <- 2000
myCtrl <- trainControl(method="cv", number=3, preProcOptions=NULL,
classProbs = TRUE, summaryFunction = twoClassSummary)
trX <- data.frame(replicate(nR, rnorm(nCol)))
trY <- runif(1)*trX[,1]*trX[,2]^2+runif(1)*trX[,3]/trX[,4]
trY <-
2013 Nov 15
1
Inconsistent results between caret+kernlab versions
I'm using caret to assess classifier performance (and it's great!). However, I've found that my results differ between R2.* and R3.* - reported accuracies are reduced dramatically. I suspect that a code change to kernlab ksvm may be responsible (see version 5.16-24 here: http://cran.r-project.org/web/packages/caret/news.html). I get very different results between caret_5.15-61 +
2011 May 28
0
how to train ksvm with spectral kernel (kernlab) in caret?
Hello all,
I would like to use the train function from the caret package to
train a svm with a spectral kernel from the kernlab package. Sadly
a svm with spectral kernel is not among the many methods in caret...
using caret to train svmRadial:
------------------
library(caret)
library(kernlab)
data(iris)
TrainData<- iris[,1:4]
TrainClasses<- iris[,5]
set.seed(2)
2012 Nov 29
1
Help with this error "kernlab class probability calculations failed; returning NAs"
I have never been able to get class probabilities to work and I am relatively new to using these tools, and I am looking for some insight as to what may be wrong.
I am using caret with kernlab/ksvm. I will simplify my problem to a basic data set which produces the same problem. I have read the caret vignettes as well as documentation for ?train. I appreciate any direction you can give. I
2013 Feb 10
1
Training with very few positives
I have a binary classification problem where the fraction of positives is
very low, e.g. 20 positives in 10,000 examples (0.2%)
What is an appropriate cross validation scheme for training a classifier
with very few positives?
I currently have the following setup:
========================================
library(caret)
tmp <- createDataPartition(Y, p = 9/10, times = 3, list = TRUE)
2007 Mar 20
0
[903] branches/wxruby2/wxwidgets_282/samples: Added #!/usr/bin/env ruby to the grid sample.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2013 Nov 06
1
R help-classification accuracy of DFA and RF using caret
Hi,
I am a graduate student applying published R scripts to compare the classification accuracy of 2 predictive models, one built using discriminant function analysis and one using random forests (webpage link for these scripts is provided below). The purpose of these models is to predict the biotic integrity of streams. Specifically, I am trying to compare the classification accuracy (i.e.,
2009 May 16
5
bagged importance estimates in earth problem
I was trying to produced bagged importance estimates of attributes in earth using the caret package with the following commands:
fit2 <- bagEarth(loyalty ~ ., data=model1, B = 10)
bagImpGCV <- varImp(fit2,value="gcv")
My bootstrap estimates are produced however the second command "varImp" produces the following error:
Error in UseMethod("varImp") : no
2007 Feb 14
0
[875] trunk/wxruby2/samples: Add expanded grid sample
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2004 Dec 09
6
Scrolling to the bottom of a Grid
Hi,
Thanks to the newly added event handlers for Wx::Grid in the 0.6.0
release, I can now provide a much slicker intreface to my "data widgets"
which heavily rely on that control.
However, I haven''t quite figured out how to programmatically scroll to
the last row of a populated grid (actually, the first empty row). So
say that I have a grid with 200 rows only 20 of which
2006 Aug 01
0
Yum Transaction Check Error: package freetype-2.1.9-1.2.2.el4.rf
Hello list friends,
I got the following error during yum update.
How should I proceed to eliminate the probelm?
(I thought perhaps to uninstall the .i386 package -- but there
are some 15-20 other packages depending on it...)
Repositories: dries, kbs-CentOS-Extras, update, rpmforge, base,
addons, extras
FWIW: the protectbase plugin was added on 2006-07-10.
Thanks in advance,
Itay
2006 Apr 12
1
mediawiki-1.4.7-1.2.el4.rf.i386.rpm requirements.
Guys,
I'm migrating an internal Mediawiki over to a new CentOS 4 system. The
old server's running FC3 and has a tarball install, ideally I want to
stick to properly packaged software as far as possible.
[wmcdonald at willspc ~]$ yum deplist mediawiki
Finding dependencies:
Setting up repositories
Reading repository metadata in from local files
package: mediawiki.i386 1.4.7-1.2.el4.rf
2010 Jun 14
2
libcucul.so.0 is needed by package xine-0.99.5-1.el5.rf.i386 (installed)
I'm getting the following dependency problem. Please advise how to resolve.
Running 5.5 with latest kernel and all updates. Tried getting this one to
update and can't - what am I missing?
18:02:57 : Packages to update
18:02:57 : ---> libcaca-0.99-0.1.beta17.el5.rf.i386
18:02:57 : Preparing for install/remove/update
18:02:57 : --> Preparing for a full update
18:02:57 : -->
2016 Feb 01
0
In A UEFI World, "rm -rf /" Can Brick Your System
Once upon a time, m.roth at 5-cent.us <m.roth at 5-cent.us> said:
> Excerpt:
> Running rm -rf / on any UEFI Linux distribution can potentially
> perma-brick your system.
Did someone think running "rm -rf /" is a good idea?
> Ok, *now* tell me why we shouldn't hate systemd?
This has zero to do with systemd. This is a by-product of how the
kernel driver and
2016 Feb 01
2
In A UEFI World, "rm -rf /" Can Brick Your System
On Mon, 1 Feb 2016 13:44:48 -0600
Chris Adams wrote:
> Did someone think running "rm -rf /" is a good idea?
Quote from one of the people who commented on that article:
QUOTE:
You have this in a script: rm -rf "${DIRECTORY}"/
Now, you have a bug in the script and ${DIRECTORY} is not initialized. You then get rm -rf / executed. One should always ensure that DIRECTORY is
2016 Feb 01
0
In A UEFI World, "rm -rf /" Can Brick Your System
On Mon, February 1, 2016 1:33 pm, m.roth at 5-cent.us wrote:
> Excerpt:
> Running rm -rf / on any UEFI Linux distribution can potentially
> perma-brick your system.
Yes, I kind of like "rm -rf /". If my memory doesn't fail me, long ago it
was one of the tricky questions in sysadmin exam (not that anymore if I
read what you, Michael, write further correctly...). Anyway,
2016 Feb 01
0
In A UEFI World, "rm -rf /" Can Brick Your System
wait. would deleting the inode /sys/(whatever) actually modify UEFI
memory? sure, writing to those inodes could do all sorts of harm, but
deleting the inodes in the /sys filesystem, I'm not so sure this isn't a
tempest in a teapot so to speak.
--
john r pierce, recycling bits in santa cruz