Multi-label Classification with Optimal Thresholding for Multi-composition Spectroscopic Analysis