The full code for classification after obtaining sample points is here. The full code for classification with sample points generated on the fly is here.

Note: This is a very simple method for generating Landcover maps meant for showing the basic workflow for generating Landcover maps. You can use more sophisticated algorithms like CONTINUE READING