Identifying organic compounds with visible light
phys.org
phys.org
Also... There's some pretty serious challenges with using other people's data rather then actual data collected from a single instrument. Yes RI is a physical thing, but taking those measurements across many wavelengths involves error, sometimes instrument dependent error.
I won't bother looking at the code because neither the abstract nor the results particularly interest me as someone trained in this field(notably the author doesn't seem to be). Some part of me does wonder how they ran this experiment without testing on training data. happens all the time with newcomers. Again not that the claim is unbelievable, it is, it's just it is a worry given the premises posed in the paper itself. A symptom that this is probably low quality is that it's not published in a journal where peers who are interested in or trained to actually review this. Yes believe it or not there are 5 or some odd journals wayyy better suited for this kind of publication. Almost worry it was rejected elsewhere before landing in a p chem journal because... It doesn't seem very good, new, well written, or useful.
Very cool approach, though it will most probably only work for classification (i.e. what is this sample), whereas NIR spectroscopy (most common when working with organic compounds) allows for quantification of the sample analytes (who much of each analyte is in this sample).
Refractive index based classification across wavelengths is probably not going to help you find allergens. Unless you isolate the allergen from the mixture then take the measure and have it in your model...