An improved method and system for classifying tissue samples comprises
determining a tissue type classification based on spectral data of
training samples of known target classification. Denoised spectral data
is generated from the spectral data based on the tissue type
classification. A classifier is then trained using the denoised spectral
data to classify the tissue samples.