I am trying to run fix1.06 on melodic data but get stuck in the fix -c step.
In the .fix_2b_predict.log I see the following Error (returned from R)
+ # KNN
+ eval(parse(text = paste("tmp <- knn(train.data.",indx,"[,-dim(train.data.",indx,")[2]], test.data.",indx,", train.data.",indx,"[,dim(train.d
.",indx,")[2]], k = k.knn, prob = T)", sep = "")))
+ eval(parse(text = paste("knn.test",indx," <- attributes(tmp)", sep = "")))
+ eval(parse(text = paste("knn.test",indx,"$prob[tmp==0] <- 1-knn.test",indx,"$prob[tmp==0]", sep = "")))
+ }
Error in RET@get_where(newdata = newdata, mincriterion = mincriterion) :
INTEGER() can only be applied to a 'integer', not a 'double'
Calls: eval ... treeresponse -> .local -> <Anonymous> -> <Anonymous> -> .Call
Execution halted
System details:
I run Scientific Linux release 6.5 (Carbon) version 2.6.32-358.11.1.el6.x86_64
R-version installed: "R version 3.1.0 (2014-04-10)"
the requird packages all loaded smoothly without warnings.
Anybody seen this message before?
What am I doig wrong?
How can I remedy?
Regards
Bob van Dijk
|