Spatial classification and regression using Scikit-learn and GDAL