Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Jun;415(14):2749-2761.
doi: 10.1007/s00216-023-04678-8. Epub 2023 Apr 18.

Machine learning for optical chemical multi-analyte imaging : Why we should dare and why it's not without risks

Affiliations

Machine learning for optical chemical multi-analyte imaging : Why we should dare and why it's not without risks

Silvia E Zieger et al. Anal Bioanal Chem. 2023 Jun.

Abstract

Simultaneous sensing of metabolic analytes such as pH and O2 is critical in complex and heterogeneous biological environments where analytes often are interrelated. However, measuring all target analytes at the same time and position is often challenging. A major challenge preventing further progress occurs when sensor signals cannot be directly correlated to analyte concentrations due to additional effects, overshadowing and complicating the actual correlations. In fields related to optical sensing, machine learning has already shown its potential to overcome these challenges by solving nested and multidimensional correlations. Hence, we want to apply machine learning models to fluorescence-based optical chemical sensors to facilitate simultaneous imaging of multiple analytes in 2D. We present a proof-of-concept approach for simultaneous imaging of pH and dissolved O2 using an optical chemical sensor, a hyperspectral camera for image acquisition, and a multi-layered machine learning model based on a decision tree algorithm (XGBoost) for data analysis. Our model predicts dissolved O2 and pH with a mean absolute error of < 4.50·10-2 and < 1.96·10-1, respectively, and a root mean square error of < 2.12·10-1 and < 4.42·10-1, respectively. Besides the model-building process, we discuss the potentials of machine learning for optical chemical sensing, especially regarding multi-analyte imaging, and highlight risks of bias that can arise in machine learning-based data analysis.

Keywords: Decision tree algorithm; Dissolved oxygen; Intensity-based sensing; Supervised pattern recognition; XGBoost; pH.

PubMed Disclaimer

Conflict of interest statement

The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
Schematic representation of the measurement setup used for measuring and calibrating the optical chemical dual-sensor for pH and dissolved O2 (A) and real image of the fluorescence of the dual analyte optode upon excitation with a high-power LED (B)
Fig. 2
Fig. 2
Spectral characterization of the single optode layers recorded on the ClarioStar Plus plate reader under different pH and O2 conditions. The excitation spectra of A lipophilic HPTS as a pH-sensitive dye and C Pt-TPTBP as an O2-sensitive dye are shown in the left panels, while the emission spectra of B the pH indicator and D the O2 indicator are shown in the right panel. Note that the O2-sensitive sensor layer also contains macrolex fluorescent yellow as the reference dye. While in A, C, and D, the fluorescence intensity is displayed relative to the maximum intensity, in B, the intensity is displayed relative to the isosbestic point at 530 nm
Fig. 3
Fig. 3
pH and O2 calibration of the dual analyte optode under constant condition of the respective other analyte. A pH calibration between pH 4 and 11 under anoxic (0 hPa) and air-saturated (195 hPa) conditions. B O2 calibration is displayed as ratiometric intensity relative to the reference indicator, macrolex fluorescence yellow, while the pH is kept constant at either pH 4 or pH 8. The dashed curves in both panels represent the hypothetical calibration curves of the analytes if the respective standard calibration functions for the individual analytes, i.e., Boltzmann fit for pH calibration and simplified Stern–Volmer fit for O2 calibration, were applied to the calibration points
Scheme 1
Scheme 1
Overview of the workflow conducted to build up the multi-layered machine learning model for simultaneous detection of pH and dissolved O2
Fig. 4
Fig. 4
Dataset adjustment of the unbalanced calibration dataset by reducing the number of data points used where data are prevailing. The amount of data points used is adjusted to the general median. The adjustment is performed separately for each analyte. For each panel, the original distribution of the dataset is shown in light color, while the more balanced dataset is shown in dark colors, i.e., (A) in orange for pH and (B) in gray for O2
Fig. 5
Fig. 5
Overall model performance for predicting the pH (A) and dissolved O2 concentration (B), respectively, assessed against test data that the algorithm has never seen before. The main plot compares the predicted and the respective target values for the entire calibration range using the multi-layered ML model based on XGBoost. The insets of each panel display the dispersion around the target value as black dotted markers. The target value is indicated as an orange solid line. C and D display examples of optode images before and after data analysis. C shows the absolute fluorescence intensity of the dual analyte optode is visualized at 773 nm, whereas D shows the chemical images in which the absolute fluorescence intensity has been translated into the corresponding pH and O2 concentration (in hPa) to represent them in each pixel

Similar articles

Cited by

References

    1. Kornmann H, Rhiel M, Cannizzaro C, Marison I, von Stockar U. Methodology for real-time, multianalyte monitoring of fermentations using an in-situ mid-infrared sensor. Biotechnol Bioeng. 2003;82(6):702–709. doi: 10.1002/bit.10618. - DOI - PubMed
    1. Hwang EY, Pappas D, Jeevarajan AS, Anderson MM. Evaluation of the paratrend multi-analyte sensor for potential utilization in long-duration automated cell culture monitoring. Biomed Microdevices. 2004;6(3):241–249. doi: 10.1023/B:BMMD.0000042054.02940.b6. - DOI - PubMed
    1. Rodriguez-Mozaz S, Reder S, de Alda ML, Gauglitz G, Barcelo D. Simultaneous multi-analyte determination of estrone, isoproturon and atrazine in natural waters by the RIver ANAlyser (RIANA), an optical immunosensor. Biosens Bioelectron. 2004;19(7):633–640. doi: 10.1016/S0956-5663(03)00255-0. - DOI - PubMed
    1. Mendoza EA, Robinson D, Lieberman RA. Miniaturized integrated optic chemical sensors for environmental monitoring and remediation. Chem Biochem Environ Fiber Sens VIII. 2836: SPIE; 1996. p. 76–86.
    1. Kortzinger A, Schimanski J, Send U. High quality oxygen measurements from profiling floats: a promising new technique. JTECH. 2005;22(3):302–308.

LinkOut - more resources