Improve training data sampling.

Draw training sample across polygons rather than across pixels (so entire polygons are excluded/included in training/testing, since they are autocorrelated).