search for: countt

Displaying 3 results from an estimated 3 matches for "countt".

Did you mean: count
2007 Sep 10
2
Failover SIP logic
I need some extensions logic assistance, I'm trying to dial out one of multiple SIP trunks, in sequence. I need to detect a busy SIP trunk(I only allow 1 call per trunk) and roll over to a second or third depending on that busy status Here's what I've got for a macro thusfar, but it's not working(fails if the 1st trunk is busy) extensions.conf: [globals] trunk_1 => SIP/trunk1
2003 Apr 02
4
randomForests predict problem
...got the same error. What am I doing wrong ? > library(mlbench) > library(randomForest) > data(Soybean) > test <- sample(1:683, 150, replace=F) > sb.rf <- randomForest(Class~., data=Soybean[-test,]) > sb.rf.pred <- predict(sb.rf, Soybean[test,]) Error in matrix(t1$countts, nr = nclass, nc = ntest) : No data to replace in matrix(...) I did it the same way with rpart and all worked fine : > library(rpart) > sb.rp <- rpart(Class~., data=Soybean[-test,]) > sb.rp.pred <- predict(sb.rp, Soybean[test,], type="class") Thank you all fo...
2003 Apr 03
0
debugging question
...e problem with predict.randomForest in the randomForest package yesterday, and I'm baffled by it. The code at the end of the message produces the error. The problem is that, in predict.randomForest, there's a .Fortran call to "runforest". One of the arguments passed in is "countts", which is a vector of doubles. The error occured because when the .Fortran call returned, that component of the output is mysteriously turned into numeric(0)! I checked that vector inside the Fortran code (dimensioned as a matrix), and it looked fine. Can anyone provide some hint as to wh...