Soft classification of single samples based on multi-analyte spectra