Displaying 20 results from an estimated 700 matches similar to: "kernlab 0.9-0 on CRAN"
2009 Oct 04
3
error installing/compiling kernlab
Hi everybody,
I''m using R on a 64-bit Ubuntu 9.04 (Jaunty). I prefer to install R
packages from source, even if they are available in Synaptic. The
problem is that I can''t install/compile kernlab. Everything works fine
until it gets to the lazy loading part:
** preparing package for lazy loading
Creating a new generic function for "terms" in "kernlab"
2009 Oct 06
0
Kernlab: multidimensional targets in rvm(), ksvm(), gausspr()
Hi there,
I'm trying to do a regression experiment on a multidimensional
dataset where both x and y in the model are multidimensional
vectors.
I'm using R version 2.9.2, updated packages, on a Linux box.
I've tried gausspr(), ksvm() and rvm(), and the models are
computed fine, but I'm always getting the same error message
when I try to use predict():
"Error in
2013 Apr 03
1
kernlab::kkmeans initial centers
Hi,
I am trying to pass initial cluster assignments to the kkmeans
method<http://rss.acs.unt.edu/Rdoc/library/kernlab/html/kkmeans.html>of
kernlab. It is not clear to me how I can set the parameter
*centers* with "initial cluster centers" as stated in the documentation?
thanks,
--ahmed
[[alternative HTML version deleted]]
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
2005 Mar 17
1
kernlab sigest
hello,
I have the following problem setting parameter 'frac' in the sigest
function of the kernlab package.
## executing the ?sigest example:
library(kernlab)
data(spam)
srange <- sigest(type~.,data = spam)
## works fine...
## setting 'frac' explicitly
## (in this case even to the default of .25)
options(error=recover)
srange <- sigest(type~.,data = spam, frac = .25)
##
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
2007 Oct 30
0
kernlab/ ksvm: class.weights & prob.model in binary classification
Hello list,
I am faced with a two-class classification problem with highly asymetric
class sizes (class one: 99%, class two: 1%).
I'd like to obtain a class probability model, also introducing available
information on the class prior.
Calling kernlab/ksvm with the line
>
ksvm_model1<-ksvm(as.matrix(slides), as.factor(Class), class.weights= c("0"
=99, "1" =1),
2008 Aug 08
0
kernlab version 0.9-7
kernlab version 0.9-7 is now online and incorporates :
+ a much improved fast implementation of string kernels "stringdot"
based on suffix arrays.
+ a new kernel method kmmd() which implements a non-parametric kernel
based two sample test.
The new kernlab version also includes many minor improvements and fixes.
Alexandros
_______________________________________________
2008 Aug 08
0
kernlab version 0.9-7
kernlab version 0.9-7 is now online and incorporates :
+ a much improved fast implementation of string kernels "stringdot"
based on suffix arrays.
+ a new kernel method kmmd() which implements a non-parametric kernel
based two sample test.
The new kernlab version also includes many minor improvements and fixes.
Alexandros
_______________________________________________
2010 Nov 09
1
library(kernlab) --- unable to load shared library
Dear R users,
I have recently encountered a problem with using the function `library` in
order to load the package `kernlab`.
My output of sessionInfo() is as follows:
R version 2.10.1 (2009-12-14)
x86_64-unknown-linux-gnu
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
I have installed the package by
2007 Dec 17
0
kernlab and gram matrix
Hi, this is a question about the R package kernlab.
I use kernlab as a library in a C++ program. The host application
defines a graph kernel (defined by me), generates a gram matrix and
trains kernlab directly on this gram matrix, like this:
regm<-ksvm(K,y,kernel="matrix"),
where K is the n x n gram kernelMatrix of my kernel, and y is the
R-vector of quantitative target values.
2010 Nov 22
2
R package "kernlab" can not be properly loaded
Hi,
I tried to load the package "kernlab" under R-v11 and R-v10, however it gave error message:
Error in library.dynam(lib, package, package.lib) :
shared library 'kernlab' not found
In addition: Warning message:
package 'kernlab' was built under R version 2.12.0
Error: package/namespace load failed for 'kernlab'
Has anybody loaded this successfully before?
2013 Nov 03
1
Failed to install kernlab package
Hi everyone,
I am trying to install kernlab package, but failed many times by now on
CentOS 6 operating system. FYI, I have no problem with this package
installation on windows platform.
Here is the error message:
trying URL 'http://cran.wustl.edu/src/contrib/kernlab_0.9-18.tar.gz'
Content type 'application/x-gzip' length 1069148 bytes (1.0 Mb)
opened URL
2009 Apr 28
1
kernlab - custom kernel
hi,
I am using R's "kernlab" package, exactly i am doing classification using
ksvm(.) and predict.ksvm(.).I want use of custom kernel. I am getting some
error.
# Following R code works (with promotergene dataset):
library("kernlab")
s <- function(x, y) {
sum((x*y)^1.25)
}
class(s) <- "kernel"
data("promotergene")
gene <- ksvm(Class ~ .,
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 Sep 13
0
I need help for svm package kernlab in R
I use the svm package kernlab .I have two question.
In R
library(kernlab)
m=ksvm(xtrain,ytrain,type="C-svc",kernel=custom function, C=10)
alpha(m)
alphaindex(m)
I can get alpha value and alpha index about package.
1.
Assumption that number of sample are 20.
number of support vectors are 15.
then rest 5`s alphas are 0?
2. I want use kernelMatrix
xtrain=as.matrix(xtrain)
2012 Aug 27
0
kernlab`s custom kernel of ksvm freeze
Hello, together
I'm trying to use user defined kernel. I know that kernlab offer user
defined kernel(custom kernel functions) in R.
I used data spam including package kernlab.
(number of variables=58 number of examples =4061)
i'm user defined kernel's form,
kp=function(d,e){
as=v*d
bs=v*e
cs=as-bs
cs=as.matrix(cs)
exp(-(norm(cs,"F")^2)/2)
}
2012 Dec 10
0
Time Series Prediction using Gaussian Process
*Hello All,*
I tried figuring out the problem, I was trying to use laplacedot to predict
the long term, which however would not do a good job.
Then, I tried to do a point by point prediction and building the model
again, everytime. It shows me better results. I tried writing my kernel
function (matern covariance function), and attached is the result of that.
Red lines show the fit and blue lines
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
2006 Nov 24
1
How to find AUC in SVM (kernlab package)
Dear all,
I was wondering if someone can help me. I am learning SVM for
classification in my research with kernlab package. I want to know about
classification performance using Area Under Curve (AUC). I know ROCR
package can do this job but I found all example in ROCR package have
include prediction, for example, ROCR.hiv {ROCR}. My problem is how to
produce prediction in SVM and to find