Describir: Automated stopping criterion for spectral measurements with active learning