Data-driven Scanning Probe Microscopy for Advanced Functional Materials