Partial derivative analysis estimates how infinitesimal changes in each molecular descriptor alter a model’s prediction, providing local sensitivity information for an individual RNA binder. section 6.4.3
Apply the method by:
- Copying the descriptor vector and perturbing one feature by a small delta in opposite directions. section 6.4.3
- Predicting both perturbed inputs and dividing their outcome difference by twice the delta. section 6.4.3
- Repeating the calculation across descriptors and retaining derivatives above a chosen threshold for visualization. section 6.4.3
RNA-binder interpretation
A Python implementation uses model.predict_proba, a delta of 5e-2, central differences, and a bar chart of descriptors whose derivatives exceed 0.01. Delta selection balances approximation error against calculation error; tree ensembles require caution because their piecewise-constant behavior makes finite-difference derivatives fragile. section 6.4.3
Use the central-difference equation to connect two perturbed predictions with an estimated partial derivative. section 6.4.3
