Statistical Machine Learning for Spatial- and Network-Linked Data