Displaying 1 result from an estimated 1 matches for "predictedtestcurrent".
2011 Mar 03
1
Non-conformable arrays
...code for the table command and the two matrices that I sometimes have. Notice that in the second matrix, the "fad" column is missing. Basically, I want all the columns and rows to be predetermined so that no columns/rows go missing. Thanks for your help!
Kind regards,
Greg
table(y.test,PredictedTestCurrent):
      PredictedTestCurrent
y.test adi car con fad gla mas
   adi   9   0   0   0   0   0
   car   0   6   1   0   0   3
   con   1   0   3   0   0   0
   fad   0   0   0   2   5   4
   gla   0   1   0   0   6   3
   mas   0   0   0   1   4   4
      PredictedTestCurrent
y.test adi car con gla...