Learning BPS Spectra and the Gap Conjecture