A formation-response classifier for borehole deviation using conventional well log data
Accurate and timely identification of borehole deviation is essential in drilling, as unexpected trajectory shifts serve as key indicators of localised geomechanical failure, formation anisotropy, and wellbore integrity degradation. This study presents a systematic machine learning (ML) framework for classifying borehole deviation as Normal or deviated, utilising seven petrophysical and geomechanical well-log features from a 301-sample single-well dataset. Five supervised classifiers, K-Nearest Neighbours (KNN), Logistic Regression (LR), Gaussian Naive Bayes (GNB), Multilayer Perceptron (MLP), and Histogram Gradient Boosting (HGB) were evaluated. Preprocessing incorporated standard scaling, median imputation, and class imbalance mitigation using balanced class weights and the Synthetic Minority Oversampling Technique (SMOTE). To eliminate spatial data leakage, models were evaluated within a 10-fold depth-blocked cross-validation framework across five random seeds, yielding 95% confidence intervals for all performance metrics. The HGB model achieved the highest macro-averaged F1-score of 97.88% (±2.05% CI) and an out-of-fold cross-validation accuracy of 98.00%, outperforming KNN (94.39%), MLP (86.04%), GNB (81.04%), and LR (77.03%). Permutation-based feature importance highlighted Delta T, Gamma-ray, and Resistivity as the primary indicators of deviation risk, aligning with geomechanical principles. These findings demonstrate that Histogram Gradient Boosting with leakage-safe preprocessing provides a robust offline proof-of-concept for assessing wellbore trajectory quality before field validation.
Authors
- M. Abdullah (ORCID: https://orcid.org/0000-0002-9248-6460)
- Naveen Kumar (ORCID: https://orcid.org/0000-0001-9742-2346)
Institutions
- Vellore Institute of Technology University (IN)
Publication Details
- Journal
- PLoS ONE
- Published
- 2026-10-09
- DOI
- https://doi.org/10.1371/journal.pone.0356220
- Primary Topic
- Drilling and Well Engineering
- Type
- article
- Field-Weighted Citation Impact
- 0.00