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.
Usage | Returns |
---|---|
ee.ConfusionMatrix(array, order) | ConfusionMatrix |
Argument | Type | Details |
---|---|---|
array | Object | A square, 2D array of integers, representing the confusion matrix. |
order | List, 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!