The calculation of the information entropy requires an arbitrary step in the computation of the histogram of a signal. Here's some more details on this technical step.
The concept of information entropy can be used to optimise the parameters of your smoothing function. Here's an idea on how to do that.
An in-depth introduction to Principal Component Regression in Python using NIR data. PCR is the combination of PCA with linear regression. Check it out.