MACHINE LEARNING METHODS FOR SPECTRAL ANALYSIS