Displaying 2 results from an estimated 2 matches for "svindex".
Did you mean:
sindex
2010 Sep 24
0
kernlab:ksvm:eps-svr: bug?
...198 if (type(ret) != "eps-svr" || type(ret) != "nu-svr"|| type(ret)!="eps-bsvr")
199 lev(ret) <- sort(unique (y))
200 }
201 ## initialize
202 nclass(ret) <- length (unique(y))
203 p <- 0
204 K <- 0
205 svindex <- problem <- NULL
206 sigma <- 0.1
207 degree <- offset <- scale <- 1
208
209 switch(is(kernel)[1],
210 "rbfkernel" =
211 {
212 sigma <- kpar(kernel)$sigma
213 ktype <- 2
214 },...
2008 Sep 14
0
ksvm accessing the slots of S4 object
...gt;ksvm.model <- ksvm(Class ~ ., data = somedata,kernel = "vanilladot", cross = 10, type ="C-svc")
>names(attributes(ksvm.model))
[1] "param" "scaling" "coef" "alphaindex" "b"
[6] "obj" "SVindex" "nSV" "prior" "prob.model"
[11] "alpha" "type" "kernelf" "kpar" "xmatrix"
[16] "ymatrix" "fitted" "lev" "nclass" "e...