Displaying 5 results from an estimated 5 matches for "rbfkernel".
2007 Aug 01
1
RWeka cross-validation and Weka_control Parametrization
...orm 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 = Weka_control(K="weka.classifiers.functions.supportVector.RBFKernel",G=0.1))
m2 <- SMO(Species ~ ., data = iris, control = Weka_control(K="weka.classifiers.functions.supportVector.RBFKernel",G=1.0))
> m1
SMO
Kernel used:
RBF kernel: K(x,y) = e^-(0.01* <x-y,x-y>^2)
## should be: RBF kernel: K(x,y) = e^-(0.1* <x-y,x-y&g...
2007 Jul 11
2
RWeka control parameters classifiers interface
Hello,
I have some trouble in achieving the desired parametrisation
for the weka classifier functions, using the package RWeka.
The problem is, that the functions
result=classifier(formula, data, subset, na.action, control = Weka_control(mycontrol))
do not seem to be manipulated by the mycontrol- arguments
Perhaps this should be resepected via the handlers- argument ,
but the
2012 Apr 27
2
Where would i put feature requests for a library?
...ould wish something minor changed for convenience, where can i get contact? Can i put it in the "official" bug repository?
(Problem discription for anyone interested:
Why call the default function kpca for a matrix with kpar=list(sigma=0.2), instead of putting this default sigma into the rbfkernel and using kpar=list()? Anytime i call kpca with a kernel without sigma, i have to supply kpar=list() or get an error.
)
2012 Jul 31
1
kernlab kpca predict
..."2" "4" "5" ...
.. .. ..$ : NULL
..@ pcv : num [1:130, 1:2] -0.224 -0.218 -0.216 -0.225 -0.203 ...
..@ eig : Named num [1:2] 0.323 0.119
.. ..- attr(*, "names")= chr [1:2] "Comp.1" "Comp.2"
..@ kernelf :Formal class 'rbfkernel' [package "kernlab"] with 2 slots
.. .. ..@ .Data:function (x, y = NULL)
.. .. ..@ kpar :List of 1
.. .. .. ..$ sigma: num 0.2
..@ kpar : list()
..@ xmatrix : num [1:130, 1:4] 5.1 4.9 4.6 5 5.4 4.6 5 4.4 4.9 4.8 ...
.. ..- attr(*, "dimnames")=List of 2
.....
2010 Sep 24
0
kernlab:ksvm:eps-svr: bug?
..."scaled:scale")]
145 y <- as.vector(y)
146 }
147 }
148 }
149 ncols <- ncol(x)
150 m <- nrows <- nrow(x)
151
152 if (!is.function(kernel))
153 if (!is.list(kpar)&&is.character(kpar)&&(class(kernel)=="rbfkernel" || class(kernel) =="laplacedot" || kernel == "laplacedot"|| kernel=="rbfdot")){
154 kp <- match.arg(kpar,"automatic")
155 if(kp=="automatic")
156 kpar <- list(sigma=mean(sigest(x,scaled=FALSE)[c(1,3)]))
157 c...