umbersar / sites_ml

0 stars 1 forks source link

table for prediction, column and row size are not the same #4

Closed zaynxalic closed 4 years ago

zaynxalic commented 4 years ago

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

zaynxalic commented 4 years ago

Notice that some of the columns after the train/test set are all 0s, which may cause that error

zaynxalic commented 4 years ago

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?