Similar Items: A Machine Learning Parameterization for the Internal Gravity Wave Spectrum