Visualize the Confusion Matrix of a Classifier 

Get training and test sets that give the type of a satellite image as a function of features of the image.

In[1]:=
Click for copyable input
X

Train a classifier on the training set.

In[2]:=
Click for copyable input
X
Out[2]=

Get data on the performance of the classifier on the test set.

In[3]:=
Click for copyable input
X
Out[3]=

Get the accuracy of the classifier and visualize the confusion matrix.

In[4]:=
Click for copyable input
X
Out[4]=
In[5]:=
Click for copyable input
X
Out[5]=