Closed zaynxalic closed 4 years ago
Notice that some of the columns after the train/test set are all 0s, which may cause that error
I think train and test set is not wrong. However, the problem is that the soil table marked with TE_MIR_AL2O3 is all NA in h_texture which I remove it from valid soil texture. I think that it is the problem but I don't know how to fix it. Could u give me some advice?
svmPredictTestTable <- table(svmPredict$predictions,test_set.num[,c("Str_h_texture")]) the prediction table generated some of column/row value are missing and the size are not equal