This tutorial describes how to use patch-based kmeans clustering to train a model and classify pixels in a target image. It also includes a step to group clusters by membership in a user-specified set ...