Statistics for Active learning for spectroscopic data regression