Displaying 20 results from an estimated 115 matches for "kernlab".
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 install.packages("kernlab"), and it had
ended u...
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 'kern...
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...
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"
Creating a new generic function for "fitted" in "kernlab"
Creating a new generic function for &...
2009 Nov 29
2
kernlab's ksvm method freeze
Hello,
I am using kernlab to do some binary classification on aminoacid
strings.
I am using a custom kernel, so i use the kernel="matrix" option of the
ksvm method.
My (normalized) kernel matrix is of size 1309*1309, my results vector
has the same length.
I am using C-svc.
My kernlab call is something similiar...
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"...
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...
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 AUC.
Here is a si...
2008 Aug 27
1
R 2.7.2 kernlab issues
Hello,
After upgrading to 2.7.2 this morning via the cran repository, I get the
following error when calling R via the command line:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared library
'/home/jstumpf/R/i486-pc-linux-gnu-library/2.7/kernlab/libs/kernlab.so':
libRlapack.so: cannot open shared object file: No such file or directory
Fatal error: unable to restore saved data in .RData
Has anyone else had this issue? Any solutions?
Joshua Stumpf
Eastern Michigan University
[[alternative HTML version deleted]]
2006 Nov 27
0
kernlab 0.9-0 on CRAN
A new version of kernlab has just been released.
kernlab is a kernel-based Machine Learning package for R.
kernlab includes the following functions:
o ksvm() : Support Vector Machines for classification, regression,
novelty detection, native multi-class classification, support
for class-probabili...
2006 Nov 27
0
kernlab 0.9-0 on CRAN
A new version of kernlab has just been released.
kernlab is a kernel-based Machine Learning package for R.
kernlab includes the following functions:
o ksvm() : Support Vector Machines for classification, regression,
novelty detection, native multi-class classification, support
for class-probabili...
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 realize this is a very small dataset, the actual data is much larger, I am just using 10 rows as...
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)
## fails.....
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 myse...
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)
}
class(...
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 al...
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 `contrasts<-`(`*tmp*`, value = "contr.treatment") : contrasts can
be applied only to fa...
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...
2005 Jul 07
1
Kernlab: problem with small datasets
Hi,
I found a small problem with kernlab. The problem, I think, is that the
3-fold cross-validation performed to estimate probabilities is not
class-balanced, so the classifier could find empty classes.
The following example (maybe a little forced) show the error:
data(glass)
set.seed(1)
model<-ksvm(Type~.,data=glass[c(1:2,75:76,165:1...