Improving Machine Learning Classification Predictions through SHAP and Features Analysis Interpretation
Leonardo Bernal1,2, Giulio Rastelli1, Luca Pinzi1
1Department of Life Sciences, University of Modena and Reggio Emilia, Via Giuseppe Campi 103, 41125 Modena, Italy.
Journal of Chemical Information and Modeling
|October 20, 2025
Summary
This study introduces a novel method combining SHapley Additive Explanations (SHAP) with feature analysis to improve machine learning model accuracy in drug discovery. The approach effectively identifies and flags misclassified compounds, enhancing predictive performance for virtual screening.
Area of Science:
- Computational chemistry and cheminformatics
- Machine learning in drug discovery
- Cancer research
Background:
- Tree-based machine learning (ML) algorithms like Extra Trees (ET), Random Forest (RF), Gradient Boosting Machine (GBM), and XGBoost (XGB) are vital in early drug discovery.
- These models often face challenges with misclassification and limited interpretability, hindering practical application.
- SHapley Additive Explanations (SHAP) offers a way to understand feature importance and potentially improve model predictions.
Purpose of the Study:
- To develop and validate a novel approach integrating SHAP values and feature analysis to reduce misclassification errors in ML models.
- To benchmark the performance of ET, RF, GBM, and XGB algorithms using prostate cancer cell line data.
- To create a misclassification-detection framework to improve the reliability of virtual screening predictions.
Main Methods:
- Benchmarking of ET, RF, GBM, and XGB classifiers using RDKit and ECFP4 molecular descriptors.
- Application of SHAP value analysis to understand prediction drivers and identify misclassified compounds.
- Development and testing of four misclassification-detection filtering rules: RAW, SHAP, RAW OR SHAP, and RAW AND SHAP.
Main Results:
- GBM and XGB models achieved high performance (MCC > 0.58, F1-score > 0.8) on antiproliferative activity data for PC3, LNCaP, and DU-145 cell lines.
- SHAP analysis revealed that misclassified compounds often had feature values typical of the opposite class.
- The 'RAW OR SHAP' rule successfully identified a significant percentage of misclassified compounds (up to 63% in LNCaP).
Conclusions:
- The proposed integration of SHAP and feature analysis provides an effective strategy to detect and mitigate misclassifications in ML models.
- The developed filtering rules enhance classifier performance by enabling the exclusion of likely erroneous predictions.
- This approach offers a valuable tool for improving the accuracy and reliability of virtual screening in drug discovery.
Related Concept Videos
Role of Shaping in Operant Conditioning
956
Shaping is a technique used in operant conditioning to train complex behaviors by rewarding successive approximations toward the target behavior. This method is necessary because organisms are unlikely to perform complex behaviors spontaneously. Instead, shaping breaks down the desired behavior into small, manageable steps.
The steps involved in shaping begin with reinforcing any response that resembles the desired behavior. For example, parents might praise a child for picking up one toy. As...
The steps involved in shaping begin with reinforcing any response that resembles the desired behavior. For example, parents might praise a child for picking up one toy. As...
956
Classification of Signals
1.3K
In signal processing, signals are classified based on various characteristics: continuous-time versus discrete-time, periodic versus aperiodic, analog versus digital, and causal versus noncausal. Each category highlights distinct properties crucial for understanding and manipulating signals.
A continuous-time signal holds a value at every instant in time, representing information seamlessly. In contrast, a discrete-time signal holds values only at specific moments, often denoted as x(n), where...
A continuous-time signal holds a value at every instant in time, representing information seamlessly. In contrast, a discrete-time signal holds values only at specific moments, often denoted as x(n), where...
1.3K
Regression Analysis
8.0K
Regression analysis is a statistical tool that describes a mathematical relationship between a dependent variable and one or more independent variables.
In regression analysis, a regression equation is determined based on the line of best fit– a line that best fits the data points plotted in a graph. This line is also called the regression line. The algebraic equation for the regression line is called the regression equation. It is represented as:
In regression analysis, a regression equation is determined based on the line of best fit– a line that best fits the data points plotted in a graph. This line is also called the regression line. The algebraic equation for the regression line is called the regression equation. It is represented as:
8.0K
Statistical Analysis: Overview
14.3K
When we take repeated measurements on the same or replicated samples, we will observe inconsistencies in the magnitude. These inconsistencies are called errors. To categorize and characterize these results and their errors, the researcher can use statistical analysis to determine the quality of the measurements and/or suitability of the methods.
One of the most commonly used statistical quantifiers is the mean, which is the ratio between the sum of the numerical values of all results and the...
One of the most commonly used statistical quantifiers is the mean, which is the ratio between the sum of the numerical values of all results and the...
14.3K
