Displaying 20 results from an estimated 1200 matches similar to: "Where would i put feature requests for a library?"
2012 Jul 31
1
kernlab kpca predict
Hi!
The kernlab function kpca() mentions that new observations can be transformed by using predict. Theres also an example in the documentation, but as you can see i am getting an error there (As i do with my own data). I'm not sure whats wrong at the moment. I haven't any predict functions written by myself in the workspace either. I've tested it with using the matrix version and the
2012 Apr 26
1
kernlab kpca code
Hi!
how do i get to the source code of kpca or even better predict.kpca(which it tells me doesn't exist but should) ?
(And if anyone has too much time:
Now if i got that right, the @pcv attribute consists of the principal components, and for kpca, these are defined as projections of some random point x, which was transformed into the other feature space -> f(x), projected onto the actual
2012 Nov 15
1
Can't see what i did wrong..
with
pred.pca<-predict(splits[[i]]$pca,trainingData at samples)[,1:nPCs]
dframe<-as.data.frame(cbind(pred.pca,class=isExplosive(trainingData,2)));
results[[i]]$classifier<-ksvm(class~.,data=dframe,scaled=T,kernel="polydot",type="C-svc",
C=C,kpar=list(degree=degree,scale=scale,offset=offset),prob.model=T)
and a degree of 5 i get an error of 0 reported by the ksvm
2007 Aug 01
1
RWeka cross-validation and Weka_control Parametrization
Hello,
I have two questions concerning the RWeka package:
1.) First question:
How can one perform a cross validation, -say 10fold- for a given data set and given model ?
2.) Second question
What is the correct syntax for the parametrization of e.g. Kernel classifiers interface
m1 <- SMO(Species ~ ., data = iris, control =
2010 Sep 24
0
kernlab:ksvm:eps-svr: bug?
Hi,
A. In a nutshell:
The training error, obtained as "error (ret)", from the return value
of a ksvm () call for a eps-svr model is (likely) being computed
wrongly. "nu-svr" and "eps-bsvr" suffer from this as well.
I am attaching three files: (1) ksvm.R from the the kernlab package,
un-edited, (2) ksvm_eps-svr.txt: (for easier reading) containing only
eps-svr
2012 Mar 28
2
Making Knitr work
Might not be the best place to ask, but i could get lucky..
I have setup an eclipse environment to write sweave files lately and wanted to switch to knitr. I could get it to work on easy files, but my earlier written sweave file fails to be knit properly.
Here is the error message:
Quitting from lines 273-276: Error in setwd(base.dir) : kann Arbeitsverzeichnis nicht wechseln (it says: cannot
2012 Aug 02
4
Subseting
Hi everyone
I have banking data set in long format with 4 columns.One of these columns
is bank name which consist of 49 banks and I want the data for only 40
banks out of these 49
so can anyone help me on how to get this 40 banks data
My data looks like
Year Name totalliabilties assets
1990 a 90 10
1991 a 89 48
1992 a 87
2012 Jul 10
2
define stuff to be only usable in the same file
Hello R-Help!
I've looked around and have not found:
A simple(short) way to hide functions and variables from the global environment. What i want is for a few of them to only be accessable from the scriptfile they're in. I probably could do fun things with environments , but that seems quite a hassle.
As example: I have a file that gets me stuff from the database and creates an R object
2012 Oct 09
2
append for .Rdata?
Can i somehow append objects to an .Rdata file?
I didn't see an option for it in the save() method.
dump() won't work since i have s4 objects in there.
2012 Oct 10
2
Strange email i'm getting whenever i post to the list
From: ?????? <NAVER-MAILER at naver.com>
Subject: [???? ??] envy721c at naver.cobSDsnLzroZwg66mU7J287J20IOyghOyGoeuQmOyngCDrqrvtlojsig==teuLiOuLpC4=
The only plain english in the message is that the mail was denied by the receiver
Anyone else getting this?
2012 Mar 26
1
normalization of multi-value string variable
Hi All,
I need to normalize/scale string variable which represents interests of customers (e.g., 'cycling, rollerblading, swimming' etc).
Does anybody know how to do this, I want then use it along with other numeric variables for SVM classification.
Appreciate for any advice.
-Alex
[[alternative HTML version deleted]]
2012 Apr 03
1
e1071 tune.control() random parameter
I'm not sure what the parameter specifies:
random
if an integer value is specified, random parameter vectors are drawn from the parameter space.
What are the parameter vectors and what is the parameter space? What means drawn?
greetings
Jessi
[[alternative HTML version deleted]]
2012 Jun 28
1
plot.prcomp() call/eval
Hi!
I am getting a lot of numbers in the background of the pca screeplots if i use call("plot") and eval(somecall).
Til now, creating the calls and plotting later on this way worked fine. Example:
pcaI<-prcomp(iris[,1:4])
plot(pcaI)
x<-call("plot",pcaI)
eval(x)
Anyone got an idea how i can avoid that? (also it might take a second or so for the numbers to appear,
2012 Oct 09
1
other way of making a table?
I'm making tables for prediction results of classifiers (2 classes) that show the usual numbers, true positives, false positives, etc
I used the command
table(predictedLabels,realLabels)
to make those.
I just had a case though ,where one of the label vectors had only one class in it. This will result in only half a table.
Compare:
x<-c(1,1,1,0,0)
y<-c(1,1,1,0,1)
table(x,y)
to
2012 Dec 20
2
Filling Lists or Arrays of variable dimensions
Following problem:
Say you have a bunch of parameters and want to produce results for all combinations of those:
height<-c("high","low")
width<-c("slim","wide")
then what i used to do was something like this:
l<-list()
for(h in height){
l[[h]]<-list()
for(w in width){
l[[h]][[w]] <- doSomething()
}
}
Now those parameters aren't
2009 Dec 25
2
Help with SVM package Kernlab
Hi useR's,
I am resending this request since I got no response for my last post and I
am new to the list so pardon me if I am violating the protocol.
I am trying to use the "Kernlab" package for training and prediction using
SVM's. I am getting the following error when I am trying to use the predict
function:
> predictSvm = predict(modelforSVM, testSeq);
Error in
2017 Jul 12
1
Distribution of Commercial RPM
Apologies if this is the wrong place to ask this.
Is there a location to upload paid for RPM for distrubution, ie a store
for CentOS?
Is there a discription of how to create your own RPM repository for
distrubution?
What about updates of these RPM?
2004 Jul 27
1
[Fwd: multiple rsync simlataneously]
---------------------------- Original Message ----------------------------
Subject: multiple rsync simlataneously
From: kbala@midascomm.com
Date: Wed, July 21, 2004 7:51 pm
To: rsync@lists.samba.org
--------------------------------------------------------------------------
Hi,
We are using rsync to backup the data from 100 remote machine and the
rsync process are started at the
2011 Dec 25
1
Working on VBR fixed point conversion
Hi All,
I am working on VBR fixed point conversion for our DSP processor and in the algorithm the MIN_ENERGY and some more terms which I am not able to understand how those numbers are derived. Can some one help me with some documentation on algorithm discription of VBR?.
Regards,
-Prasad
2012 Sep 07
0
Error when using s.multinom() of the ade4 package - %PCA and MCOA
Hello,
I am working with s.multinom() from the ade4package. I tried to plot the
results of my %PCA (via the function dudi.pca()) followed by a MCOA
(mcoa()). But when I give my variables to s.multinom() I get the following
Error message:
Error in FUN(1:14[[1L]], ...) : number 1 profile without data
I know that it has to do with one (or two?) of the first arguments
(kpca,sglmarkerfrq) but I just