Displaying 20 results from an estimated 1000 matches similar to: "ipop (kernlab) gives pars < lower bound ?"
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-probability output and confidence intervals in
regression.
o gausspr()
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-probability output and confidence intervals in
regression.
o gausspr()
2012 Mar 16
1
quadprog error?
I forgot to attach the problem data, 'quadprog.Rdata' file, in my prior
email.
I want to report a following error with quadprog. The solve.QP function
finds a solution to the problem below that violates the last equality
constraint. I tried to solve the same problem using ipop from kernlab
package and get the solution in which all equality constraints are
enforced. I also tried an old
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"
2007 Jul 02
1
QP for solving Support Vector Regression
Dear R users,
I'm trying to run the Support Vector Regression by a general quadratic programming function like ipop ( ) in kernlab or solve.QP ( ) in quadprog packages.
Since they are general, their application in Support Vector Regression can lead to misunderstanding, particularly when constructing matrices. Even their examples are general and applied in Support Vector
2005 Dec 06
1
Dovecot.conf
Hi,
I am mounting a server of email with the Dovecot as MUA, i would like
to restrict the access to imap and ipop to one determined range of IP.
As I configure this in dovecot.conf, I did not understand the
functioning of listen = * or [: ]
Thanks a lot,
Clovis
--
Cl?vis Trist?o
-------------------:-oo)----
Seja Legal, use GNU/Linux
----------------------------------------
2008 May 07
0
Fwd: Re: Solution of function
Forgot to send one copy to R help. Sorry
Megh Dal <megh700004@yahoo.com> wrote: Date: Wed, 7 May 2008 02:45:09 -0700 (PDT)
From: Megh Dal <megh700004@yahoo.com>
Subject: Re: [R] Solution of function
To: Berwin A Turlach <berwin@maths.uwa.edu.au>
Hi Berwin,
Thanks for having look on my problem. However on ipop() function I see following:
ipop solves the quadratic
2005 Oct 13
3
Optim with two constraints
Hi R-list,
I am new to optimization in R and would appreciate help on the following
question. I would like to minimize the following function using two
constraints:
######
fn <- function(par,H,F){
fval <- 0.5 * t(par) %*% H %*% par + F%*% par
fval
}
# matrix H is (n by k)
# matrix F is (n by 1)
# par is a (n by 1) set of weights
# I need two constraints:
# 1.
2009 May 27
1
Constrained fits: y~a+b*x-c*x^2, with a,b,c >=0
I wonder whether R has methods for constrained fitting of linear models.
I am trying fm<-lm(y~x+I(x^2), data=dat) which most of the time gives
indeed the coefficients of an inverted parabola. I know in advance that
it has to be an inverted parabola with the maximum constrained to
positive (or zero) values of x.
The help pages for lm do not contain any info on constrained fitting.
Does anyone
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?
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
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 ~ .,
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.
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
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
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]]
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 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)
}
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),