We have applied a CNN to preprocess Raman spectra from fresh tissue samples from brain tumors. The neural network can handle the variations that occur naturally, which enables explorative data analysis methods such as PCA.