Applications of harmonic analysis to topics in data science