Machine Learning-Enabled NIR Spectroscopy. Part 2: Workflow for Selecting a Subset of Samples from Publicly Accessible Data

AAPS PharmSciTech. 2023 Jan 10;24(1):34. doi: 10.1208/s12249-022-02493-5.

Abstract

An increasingly large dataset of pharmaceutics disciplines is frequently challenging to comprehend. Since machine learning needs high-quality data sets, the open-source dataset can be a place to start. This work presents a systematic method to choose representative subsamples from the existing research, along with an extensive set of quality measures and a visualization strategy. The preceding article (Muthudoss et al.. in AAPS PharmSciTech 23, 2022) describes a workflow for leveraging near infrared (NIR) spectroscopy to obtain reliable and robust data on pharmaceutical samples. This study describes the systematic and structured procedure for selecting subsamples from the historical data. We offer a wide range of in-depth quality measures, diagnostic tools, and visualization techniques. A real-world, well-researched NIR dataset was employed to demonstrate this approach. This open-source tablet dataset ( http://www.models.life.ku.dk/Tablets ) consists of different doses in milligrams, different shapes, and sizes of dosage forms, slots in tablets, three different manufacturing scales (lab, pilot, production), coating differences (coated vs uncoated), etc. This sample is appropriate; that is, the model was developed on one scale (in this research, the lab scale), and it can be great to investigate how well the top models are transferable when tested on new data like pilot-scale or production (full) scale. A literature review indicated that the PLS regression models outperform artificial neural network-multilayer perceptron (ANN-MLP). This work demonstrates the selection of appropriate hyperparameters and their impact on ANN-MLP model performance. The hyperparameter tuning approaches and performance with available references are discussed for the data under investigation. Model extension from lab-scale to pilot-scale/production scale is demonstrated. HIGHLIGHTS: • We present a comprehensive quality metrics and visualization strategy in selecting subsamples from the existing studies • A comprehensive assessment and workflow are demonstrated using historical real-world near-infrared (NIR) data sets • Selection of appropriate hyperparameters and their impact on artificial neural network-multilayer perceptron (ANN-MLP) model performance • The choice of hyperparameter tuning approaches and performance with available references are discussed for the data under investigation • Model extension from lab-scale to pilot-scale successfully demonstrated.

Keywords: NIR spectroscopy; artificial neural network-multilayer perceptron (ANN-MLP); data quality; machine learning.

Publication types

  • Review

MeSH terms

  • Machine Learning
  • Models, Theoretical
  • Neural Networks, Computer*
  • Spectroscopy, Near-Infrared*
  • Workflow