I am working on validating a collection of images from a time series in Google Earth Engine and the confusion matrix that results from validation of the trained image v.s. the landcover classes defined in the validation set is [[0]]. I can't seem to determine what the source of this value is but have hypothesized the following:
1.) The validation data region should not intersect with the trained region
2.) The training data should not intersect with the validation region
Based on inspection in the Earth Engine code editor, neither one of these hypotheses seem to be correct because there are classified regions that violate both hypotheses and still produce a populated confusion matrix.
If anyone has an understanding of what causes an error (confusion) matrix in Earth Engine to return empty that would be awesome. Thanks!