Loading…
Toward automated infrared spectral analysis in community drug checking
The body of knowledge surrounding infrared spectral analysis of drug mixtures continues to grow alongside the physical expansion of drug checking services. Technicians trained in the analysis of spectroscopic data are essential for reasons that go beyond the accuracy of the analytical results. Signi...
Saved in:
Published in: | Drug testing and analysis 2024-01, Vol.16 (1), p.83-92 |
---|---|
Main Authors: | , , , , |
Format: | Article |
Language: | English |
Subjects: | |
Citations: | Items that this one cites |
Online Access: | Get full text |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Summary: | The body of knowledge surrounding infrared spectral analysis of drug mixtures continues to grow alongside the physical expansion of drug checking services. Technicians trained in the analysis of spectroscopic data are essential for reasons that go beyond the accuracy of the analytical results. Significant barriers faced by people who use drugs in engaging with drug checking services include the speed and accuracy of the results, and the availability and accessibility of the service. These barriers can be overcome by the automation of interpretations. A random forest model for the detection of two compounds, MDA and fluorofentanyl, was trained and optimized with drug samples acquired at a community drug checking site. This resulted in a 79% true positive and 100% true negative rate for MDA, and 61% true positive and 97% true negative rate for fluorofentanyl. The trained models were applied to selected drug samples to demonstrate a proposed workflow for interpreting and validating model predictions. The detection of MDA was demonstrated on three mixtures: (1) MDMA and MDA, (2) MDA and dimethylsulfone, and (3) fentanyl, etizolam, and benzocaine. The classification of fluorofentanyl was applied to a drug mixture containing fentanyl, fluorofentanyl, 4‐anilino‐N‐phenethylpiperidine, caffeine, and mannitol. Feature importance was calculated using shapely additive explanations to better explain the model predictions and k‐nearest neighbors was used for visual comparison to labelled training data. This is a step toward building appropriate trust in computer‐assisted interpretations in order to promote their use in a harm reduction context.
Model optimization and validation are important steps in the automation of spectral analysis. However, integrating machine learning into drug checking must also include the value of knowledge production and community engagement. We present a framework for integrating automated infrared spectral analysis into community drug checking services. |
---|---|
ISSN: | 1942-7603 1942-7611 |
DOI: | 10.1002/dta.3520 |