A confusion matrix is an Earth Engine variable object that represents what is sometimes called an “error matrix” or a “contingency table.” It is an array of two similar axes, one representing a set of known values and the other representing a corresponding set of predicted values. The array then records how often each of a set of predictions associates a particular known value with a particular predicted value. These predictions are usually those generated by a classifier or stored as a collection of trained features for multispectral satellite image classification. Confusion matrices can be processed by using operations of the types listed below.
- confusionMatrix.kappa
- confusionMatrix.accuracy
- confusionMatrix.producersAccuracy
- confusionMatrix.consumersAccuracy
- confusionMatrix.order
- confusionMatrix.getInfo
- confusionMatrix.toString <--- Incomplete from here onward.
- ee.Algorithms.Describe(confusionMatrix)
- confusionMatrix.serialize