Learning Local Correlations in Scanning Tunneling Microscope Data