Efficient and Accurate pH Determination with pH Test Strips Based on Machine Learning.
Xiao Long XiongYun Peng MaHui LiuCheng Zhi HuangJun ZhouPublished in: Analytical chemistry (2024)
The determination of pH values is crucial in various fields, such as analytical chemistry, medical diagnostics, and biochemical research. pH test strips, renowned for their convenience and cost-effectiveness, are commonly utilized for pH qualitative estimation. Recently, quantitative methods for determining pH values using pH test strips have been developed. However, these methods can be prone to errors due to environmental factors, such as lighting conditions, which affect the imaging quality of the pH test strips. To address these challenges, we developed an innovative approach that combines machine learning techniques with pH test strips for the quantitative determination of pH values. Our method involves extracting artificial features from the pH test strip images and combining them across multiple dimensions for comprehensive analysis. To ensure optimal feature selection, we developed a feature selection strategy based on SHAP importance. This strategy helps in identifying the most relevant features that contribute to accurate pH prediction. Furthermore, we integrated multiple machine learning algorithms, employing a robust stacking fusion strategy to establish a highly reliable pH value prediction model. Our proposed method automates the determination of pH values through pH test strips, effectively overcoming the limitations associated with environmental lighting interference. Experimental results demonstrate that this method is convenient, effective, and highly reliable for the determination of pH values.