Issue with Supervised random forest classification

the random forest leaves 0 when the level of confidence is not reached (see links below). But of course, if water was in your training data, it should be included in the resulting classification. You can try masking out the water areas again, by creating a nodata mask before the classification and then apply it on the classified RF image.

1 Like