Displaying 2 results from an estimated 2 matches for "sigmoidpredict".
2012 Aug 19
1
kernlab | ksvm error
...probabilities")[,2]
But unfortunately, when calling the prediction, once in every 10s of times
(using the exact same data), it returns the following error message:
Error in prob.model(object)[[p]]$A :
$ operator is invalid for atomic vectors
Calls: predict -> predict -> .local -> .SigmoidPredict
Execution halted
Does anyone know what the problem is? Any help will be much appreciated.
Cheers
[[alternative HTML version deleted]]
2010 Sep 24
0
kernlab:ksvm:eps-svr: bug?
...2987
2988 setGeneric(".probPlatt", function(deci, yres) standardGeneric(".probPlatt"))
2989 setMethod(".probPlatt",signature(deci="ANY"),
2990 function(deci,yres)
2991 {
...
3098 })
3099
3100 ## Sigmoid predict function
3101
3102 .SigmoidPredict <- function(deci, A, B)
3103 {
...
3111 }
3112
-------------- next part --------------
Browse[2]> summary (as.vector (y)) ## << NOTE THIS
Min. 1st Qu. Median Mean 3rd Qu. Max.
-0.246000 -0.059480 0.006395 0.075260 0.086470 1.014000
Browse[2]> c(mean...