ee.ConfusionMatrix

Creates a confusion matrix. Axis 1 (the rows) of the matrix correspond to the actual values, and Axis 0 (the columns) to the predicted values.

UsageReturns
ee.ConfusionMatrix(array, order)ConfusionMatrix
ArgumentTypeDetails
arrayObject

A square, 2D array of integers, representing the confusion matrix.

orderList, default: null

The row and column size and order, for non-contiguous or non-zero based matrices.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!