Displaying 20 results from an estimated 100 matches similar to: "caret package, how can I deal with RFE+SVM wrong message?"
Please help me!!!! Error in `[.data.frame`(x, , retained, drop = FALSE) : undefined columns selected
2010 Jan 02
1
Please help me!!!! Error in `[.data.frame`(x, , retained, drop = FALSE) : undefined columns selected
I am learning the package "caret", after I do the "rfe" function, I get the
error ,as follows:
Error in `[.data.frame`(x, , retained, drop = FALSE) :
undefined columns selected
In addition: Warning message:
In predict.lm(object, x) :
prediction from a rank-deficient fit may be misleading
I try to that manual example, that is good, my data is wrong. I do not know
what
2010 Mar 24
0
R-help ordinal regression
Dear colleagues,
i am carrying out an ordinal regression model. I try it on SPSS but I "flirt" with R as well. I have a few questions.
1. What is the most reliable/tested/trusted package for ordinal regression in the R world?
2. Also, I have a statistical question. What is the danger of having to many 'empty cells' in ordinal regression? How many empty cells are too many? Do
2011 May 01
0
Dummy variables using rfe in caret for variable selection
I'm trying to run "rfe" for variable selection in the caret package, and am
getting an error. My data frame includes a dummy variable with 3 levels.
x <- chlDescr
y <- chl
#crate dummy variable
levels(x$State) <- c("AL","GA","FL")
dummy <- model.matrix(~State,x)
z <- cbind(dummy, x)
#remove State category variable
w <- z[,c(-4)]
2016 Jan 26
2
Re: starting a domain only when you have enough resources
On Tue, Jan 26, 2016 at 1:51 PM, Michal Privoznik <mprivozn@redhat.com>
wrote:
> On 26.01.2016 14:35, Andrei Perietanu wrote:
> > On Tue, Jan 26, 2016 at 12:39 PM, Michal Privoznik <mprivozn@redhat.com>
> > wrote:
> >
> >> On 26.01.2016 12:30, Andrei Perietanu wrote:
> >>> Hi all,
> >>>
> >>> I am running KVM on a 3.18
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 <-
2011 Aug 22
3
Ignoring loadNamespace errors when loading a file
On a Unix machine I ran caret::rfe using the multicore package, and I
saved the resulting object using save(lm2, file = "lm2.RData").
[Reproducible example below.]
When I try to load("lm2.RData") on my Windows laptop, I get
Error in loadNamespace(name) : there is no package called 'multicore'
I completely understand the error and I would like to ignore it and
2007 Apr 08
8
SQLite3 build is broken because calling rollback!() doesn't prevent COMMIT
I know why SQLite3 is broken. This code:
Topic.transaction do |transaction|
transaction.rollback!
end
results in the following database commands:
BEGIN;
ROLLBACK;
COMMIT;
In other words, there is a COMMIT when no transaction is in flight.
MySQL and Postgres are coll with it, but SQLite3 blows up with
indignation.
Recorded as a ticket: http://dev.rubyonrails.org/ticket/8030
2004 Apr 23
2
More confusion on exclude rules
I have created two new files /export/home/bin/test_temp.delete_me and
/export/home/webmstr/nflmg/scripts/regional/misc_loaders/test_temp.delete_me
on the rsync server and am using the following exclude file.
+ bin/
+ nflmg/scripts/regional/misc_loaders/
- core
- *.bz2
- *.orig
- *.BAK
- *.bak
- *.old
- *.csv
- *.tmp
- *.4chart
- *.xls
- *.difftrx
- *.difftra
- *.rawbad
- *.trx.all
- *.tar.*
-
2006 Sep 01
1
Checking a package: "Foreign function calls without 'PACKAGE' argument:" - what must I do??
In the process of checking a package, I get the warning
Foreign function calls without 'PACKAGE' argument:
.Call("tr", ...)
.Call("trProd", ...)
See section 'System and foreign language interfaces' of the 'Writing R..
These functions are called using the wrappers
trX <- function(x, package="gRcox") { .Call("tr", x,
2008 Oct 17
1
link_to + image_tag
i want to integrated link_to with image_tag
before i did link_to with image_tag like this
<%=link_to image_tag(image.filename
2013 Jan 31
3
/home on BTRFS on SSD, now highly fragmenting virtuoso database - use autodefrag?
Hi!
Today I converted my /home from Ext4 to BTRFS by reformatting and copying
all over again.
I created the filesystem with -l 16384 -n 16384 -d single -m single on an
logical volume Intel SSD 320 and mount with compress=lzo,spacecache. Current state:
merkaba:~> btrfs filesystem show
failed to read /dev/sr0
Label: ''home'' uuid: […]
Total devices 1 FS bytes used
2008 Nov 16
3
[Schrodinger-devel] ogg dirac granulepos in oggz tools
On 11/14/08, David Flynn <davidf+nntp at woaf.net> wrote:
> Correct; there is no metadata handling capability in the current
> mapping spec.
I'd suggest at some point to look into separate stream solution for
metadata, perhaps M3F [1].
-Ivo
[1] http://wiki.xiph.org/index.php/M3F
2011 Aug 28
1
Trying to extract probabilities in CARET (caret) package with a glmStepAIC model
Dear developers,
I have jutst started working with caret and all the nice features it offers. But I just encountered a problem:
I am working with a dataset that include 4 predictor variables in Descr and a two-category outcome in Categ (codified as a factor).
Everything was working fine I got the results, confussion matrix etc.
BUT for obtaining the AUC and predicted probabilities I had to add
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 =
2009 Jan 15
2
problems with extractPrediction in package caret
Hi list,
I´m working on a predictive modeling task using the caret package.
I found the best model parameters using the train() and trainControl() command. Now I want to evaluate my model and make predictions on a test dataset. I tried to follow the instructions in the manual and the vignettes but unfortunately I´m getting an error message I can`t figure out.
Here is my code:
rfControl <-
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
2007 Apr 12
2
Asterisk 1.2.17 and Cisco 7940/SIP: bug or what?
Hi.
I'm stuck into an odd situation.
Here's what happens:
4 Thomson ST2030S
2 Cisco 7912
3 Cisco 7940
2 AAstra 480i
Asterisk 1.2.17
Diva 4BRI + chan_capi
I've just upgraded yesterday from Asterisk 1.2.13 to 1.2.17.
Until yesterday, everything was just fine with 1.2.13.
Immediately after the upgrade, *all* the 7940 are no more able to
make calls, just receive them, while 7912
2012 Feb 11
3
9.0-RELEASE PV from scratch on XCP v1.1.0
Title: HOWTO-FreeBSD-on-XCP
Author: John D. "Trix" Farrar
Date: 2012-02-09
* The Challenge - ParaVirtualized FreeBSD 9.0-RELEASE under XCP 1.1.0
The idea here is to create a PV FreeBSD VM under Xen Cloud Platform
(XCP) without starting with an HVM first. The documentation I''''ve
been able to find on-line is at least a year old and is mostly written
for Xen (under
2009 Jun 30
1
garchFit in fGarch fitted values are all the same
Dear all-
Package /fGarch/ version 2100.78 in R version 2.8.1 (2008-12-22)
running on linux 2.6.22.9-91.fc7
In trying to fit garch models in above environment. I am getting
"reasonable" fitted coefficients, but the fitObject@fitted are all the
same. This is true even for the help page example:
library(fGarch)
R> X.timeSeries = as.timeSeries(msft.dat)
R> head(
+
2006 Jun 02
20
Prices of g729 codec
Hi, does anyone know the prices for g729 codecs from Digium? I sent an
email a while ago to them but haven't got any response so far.
Prices are per unit or volume?
Thanks,
--
-------------------------------------------
Erick Perez
Linux User 376588
http://counter.li.org/ (Get counted!!!)
Panama, Republic of Panama