Abstract
Determination of in-situ stresses is essential for subsurface planning and modeling, such as horizontal well planning and hydraulic fracture design. In-situ stresses consist of overburden stress (σv), minimum (σh), and maximum (σH) horizontal stresses. The σh and σH are difficult to determine, whereas the overburden stress can be determined directly from the density logs. The σh and σH can be estimated either from borehole injection tests or theoretical finite elements methods. However, these methods are complex, expensive, or need unavailable tectonic stress data. This study aims to apply different machine learning (ML) techniques, specifically, random forest (RF), functional network (FN), and adaptive neuro-fuzzy inference system (ANFIS), to predict the σh and σH using well-log data. The logging data includes gamma-ray (GR) log, formation bulk density (RHOB) log, compressional (DTC), and shear (DTS) wave transit-time log. A dataset of 2307 points from two wells (Well-1 and Well-2) was used to build the different ML models. The Well-1 data was used in training and testing the models, and the Well-2 data was used to validate the developed models. The obtained results show the capability of the three ML models to predict accurately the σh and σH using the well-log data. Comparing the results of RF, ANFIS, and FN models for minimum horizontal stress prediction showed that ANFIS outperforms the other two models with a correlation coefficient (R) for the validation dataset of 0.96 compared to 0.91 and 0.88 for RF, and FN, respectively. The three models showed similar results for predicting maximum horizontal stress with R values higher than 0.98 and an average absolute percentage error (AAPE) less than 0.3%. a20 index for the actual versus the predicted data showed that the three ML techniques were able to predict the horizontal stresses with a deviation less than 20% from the actual data. For the validation dataset, the RF, ANFIS, and FN models were able to capture all changes in the σh and σH trends with depth and accurately predict the σh and σH values. The outcomes of this study confirm the robust capability of ML to predict σh and σH from readily available logging data with no need for additional costs or site investigation.
Similar content being viewed by others
Introduction
In-situ stresses are presented in overburden stress (\({\upsigma }_{\mathrm{V}}\)), and horizontal stresses, named minimum (\({\upsigma }_{\mathrm{h}})\) and maximum (\({\upsigma }_{\mathrm{H}}\)) horizontal stresses. The stress state of the earth's subterranean formations is considered one of the essential information that has a great interest in petroleum engineering and geoscience fields. Therefore, fully understanding the stress state is crucial for well orientation and hydraulic fracture design that may significantly affect oil and gas production. For example, a horizontal gas well drilled in the direction of the \({\upsigma }_{\mathrm{h}}\) direction of Marcellus shale has a 40–50% increase in productivity compared to a 45° off-azimuth well. Moreover, \({\upsigma }_{\mathrm{h}}\) is essential for geomechanical evaluation, such as wellbore stability1. Furthermore, different seismic studies in the Permian basin showed the importance of \({\upsigma }_{\mathrm{h}}\) in controlling hydraulic fracture propagation. Hence, horizontal stresses should be estimated accurately to optimize drilling and completion operations and improve the hydraulic fracturing process. The challenging task in the in-situ stress analyses is the estimation of the \({\upsigma }_{\mathrm{h}}\mathrm{ and }{\upsigma }_{\mathrm{H}}\), because the \({\upsigma }_{\mathrm{V}}\) can be directly computed by integrating the rock density with depth using the density logs2.
The stress distribution around the borehole directly impacts the drilling operation and the associated wellbore instability, affecting the wellbore integrity and causes many drilling-related issues such as lost circulation, pack-off, stuck bottom-hole-assembly (BHA) or casing3,4. Thus, a comprehensive geomechanical model of downhole formations helps address many issues through different stages of reservoir life. An example of these issues are maintaining borehole stability in drilling operations, formation instability within the production operations and sand production, and the applicable wellbore completion design selection5,6,7,8,9,10.
The \({\upsigma }_{\mathrm{h}}\) can be estimated through different injection tests. These tests include Minifrac, Leak-off Test (LOT), eXtended Leak-off Test (XLOT), or Diagnostic Fracture Injection Test (DFIT)10,11,12,13. The \({\upsigma }_{\mathrm{H}}\) cannot be directly measured using these methods14, and theoretical and empirical correlations are required to estimate the \({\upsigma }_{\mathrm{H}}\) depending on the values of \({\upsigma }_{\mathrm{V}}\) and \({\upsigma }_{\mathrm{h}}\)15,16. The main challenges for the direct measurements are time-consuming and high cost. Besides, it would not provide a continuous profile of the least principal stresses because such tests are typically performed at specific depths.
Numerical modeling depends on the finite different and finite element systems that can be used to model the in-situ stresses. Other physics-based theoretical models, such as uniaxial strain theory, poroelastic strain models, were developed to determine the in-situ stresses of the downhole formations10,17,18,19. These models depend on having measurements of some in-situ geomechanical parameters, static elastic modulus, static Poisson's ratio, and elastic strains. The most accurate method for obtaining such measurements is retrieving core samples from the downhole formations and conducting triaxial tests to estimate these parameters19. The measured parameters would be correlated to the conventional logging data to develop a continuous profile before applying the aforementioned models. Besides, at least one direct field test, i.e., leak-off test, should be conducted to calibrate these profiles and include the effect of the tectonic stresses so that they would effectively represent the in-situ stress state of the downhole formations20,21,22. However, the main limitation of this technique is that retrieving such core samples is an expensive and laborious process that makes such measurements not usually available for all drilled wells.
Applications of machine learning in geomechanics
Machine learning (ML) models can be built to predict specific parameters as a function of available logging data without adding more cost or well intervention. Different ML techniques such as RF, ANFIS, FN, ANN, and support vector machine (SVM), have been applied in the petroleum industry23,24,25,26. Acar and Kaya applied SVM to estimate the elastic modulus for weak rocks. They found that the SVM model was more effective than the multiple regression process23. Similarly, Gowida et al. used different ML techniques including ANN, ANFIS, and SVM to calculate the unconfined compressive strength (UCS) from the drilling data. They found that using ML techniques to predict UCS was superior compared to the available empirical correlations24. Moreover, ML were used to calculate the oil production rate as a function of the choke parameters26. ANFIS and FN models outperform the available empirical correlation to forecast oil production, especially in complex systems with high gas-oil ratios and high water cut.
Bayesian Network (BN) and random forest (RF) models were used to estimate the ground vibration result from the quarry blasting27. RF model showed higher accuracy results compared to the BN model, where the accuracy level was 90% for the RF model comparing to 87% for the BN model for the testing dataset. Zhou et al. used different ML to forecast the shear strength of rockfill materials28. The results revealed that RF models were capable to produce accurate results for the shear strength comparing to the ANN model and multiple regression analysis, and the R-value was 0.98 from the RF model comparing to 0.96 for the ANN model. Similarly, ANFIS and ANN models predicted UCS and Young’s modulus29. ANFIS model showed a superior behavior comparing to the ANN model and multiple regression process. R2 for the ANFIS model was 0.99 comparing to 0.91, and 0.6 for the ANN model and the multiple regression analysis, respectively29. Another ANFIS model was developed to calculate the bearing capacity of the cohesive soft soils30. The ANFIS model revealed an R value of 0.99, and 0.96 between the actual and the estimated data for the training, and testing datasets, respectively. Based on this analysis, random forest and ANFIS machine learning revealed a superior performance to predict the geomechanical parameters.
In-situ stress determination is crucial for well planning and hydraulic fracture designing. Borehole injection tests or theoretical methods can be used to estimate the in-situ stresses. However, these methods are complex, expensive, need unavailable tectonic stress data, and only can be conducted at a specific depth. Therefore, this study aims to apply different machine learning tools to predict the \({\upsigma }_{\mathrm{h}}\) and \({\upsigma }_{\mathrm{H}}\) and provide a continuous profile of in-situ stress using the conventional well-log data with no additional cost or well intervention. The logging data consist of gamma-ray (GR) log, formation bulk density (RHOB) log, compressional (DTC), and shear (DTS) wave transit-time log. Two wells with 2307 data were used to build and validate the RF, ANFIS, and FN models.
Methodology
Data description
Well-logs data from two wells were collected from the Middle East region representing a complex carbonate formation. A dataset of 2307 points included GR, DTC, DTS, RHOB, neutron porosity (NPHI) log, dynamic elastic modulus (Ed), dynamic Poisson's ratio (PRd), and the corresponding \({\upsigma }_{\mathrm{h}}\) and \({\upsigma }_{\mathrm{H}}\). Table 1 summarizes the statistical analysis of the dataset from both wells, including mean, symmetry coefficients (skewness), and the quartiles of each parameter. Most of the parameters have a positive skewness factor, except \({\upsigma }_{\mathrm{H}}\) has a negative skewness factor, with most of the data concentrated to the upper end of the \({\upsigma }_{\mathrm{H}}\) range. The \({\upsigma }_{\mathrm{h}}\) and \({\upsigma }_{\mathrm{H}}\) gradients are recorded in psi/ft to account for the change of stresses with depth.
Since large numbers of input features may cause poor performance for ML models, the redundant and irrelevant features were removed, considering not incurring much loss of information. A dimensionality reduction process was applied to simplify the developed models. The correlation coefficient (R value) was calculated between the inputs to evaluate the dependency of each input on each other, and the following equation was used to calculate the R value.
where R is the Pearson’s correlation coefficient between the dependent parameters \({\mathrm{y}}_{\mathrm{i}}\) and independent parameters, \({\mathrm{x}}_{\mathrm{i}}\). The \({\upmu }_{\mathrm{x}}\mathrm{ and }{\upmu }_{\mathrm{y}}\) are the mean values of the independent and dependent parameters, respectively. The \({\upsigma }_{\mathrm{x}}\mathrm{ and }{\upsigma }_{\mathrm{y}}\) are the standard deviation of the independent and dependent parameters, respectively.
Figure 1 shows a heat map for the absolute value for the correlation coefficient between the input parameters with each other. A high absolute R-value between two parameters indicates a high dependency on each other, hence, only one of them would be considered, and the others would be excluded. Therefore, only GR, RHOB, DTS, and DTC were selected to feed the proposed models, while the other input features were excluded since they depend on the selected ones. Moreover, Sensitivity analysis for the input parameters in the model performance was conducted to judge the model performance with the selected input features as will be discussed in detail in “Result”*** section.
A heat map for the absolute value for the correlation coefficient between the input parameters with each other.
Figure 2 shows a scatter matrix plot for the data features and how two properties vary and give insights into whether there is a direct correlation between the properties. The diagonal charts show the distribution of each parameter. Most of the parameters showed a slightly positive skewness, where the mass of the distribution is concentrated on the left (lower values). The \({\upsigma }_{\mathrm{h}}\) gradient is normally distributed, whereas the \({\upsigma }_{\mathrm{H}}\) gradient showed negative skewness with a long tail due to the left side of the graph. Figure 2 shows that the validation set, in green, is located within the training and testing sets in the different parameters.
Scatter matrix plot of data features. Blue dots for the training dataset, orange dots for the testing dataset, and green dots for the validation dataset. The diagonal charts show the distribution of each parameter.
Pearson's correlation coefficient was used to explore the importance of each of the input parameters in the prediction of minimum and maximum horizontal stress. Equation 1 was used to calculate the R values, where \({\mathrm{y}}_{\mathrm{i}}\) was the \({\upsigma }_{\mathrm{h}}\) and \({\upsigma }_{\mathrm{H}}\), and \({\mathrm{x}}_{\mathrm{i}}\) is the input paramters (GR, RHOB, DTS, and DTC). Figure 3 present the correlation coefficient for \({\upsigma }_{\mathrm{h}}\) and \({\upsigma }_{\mathrm{H}}\) with the input parameters. GR and RHOB showed a positive relationship with the stresses (psi). RHOB reflects the overburden stress, which is directly related to the minimum and maximum horizontal stress. GR reflects the clay and shale concentrations that increase the formation stresses. DTS and DTC reflect the formation compaction. With high formation stresses, the formation grains' compaction increases. Hence, the DTC, and DTS decreases, which was indicated by a negative correlation coefficient between the DTC and DTS, and \({\upsigma }_{\mathrm{h}}\) and \({\upsigma }_{\mathrm{H}}\).
Correlation coefficient between the conventional logging parameters and the minimum and maximum (\({\sigma }_{h}\) and \({\sigma }_{H}\)) horizontal stresses.
Models development
The dataset from Well-1 (1614 points) was used to develop models with training to testing data ratio of 75/25. The unseen dataset from Well-2 (693 points) was used to validate the developed model for each technique. The quality of the model was measured using different performance indicators. The goodness of fit between the actual and the predicted stresses values were evaluated using the R value and coefficient of determination (R2). The error between the actual and the predicted values of \({\upsigma }_{\mathrm{h}}\mathrm{ and }{\upsigma }_{\mathrm{H}}\) was calculated using the absolute average error (AAPE), root mean squared error (RMSE), variance account for (VAF), and the a20 index The correlation coefficient (R) was calculated using Eq. (1), where \({\mathrm{x}}_{\mathrm{i}}\) and \({\mathrm{y}}_{\mathrm{i}}\) are the actual and the predicted \({\upsigma }_{\mathrm{h}}\mathrm{ and }{\upsigma }_{\mathrm{H}}\) gradient values, respectively.
AAPE, RMSE, VAF, a20 index and R2 were calculated using the following equations, respectively.
where, \({\mathrm{y}}_{\mathrm{i actual}}\) and \({\mathrm{y}}_{\mathrm{i predicted}}\) are the actual and the predicted output value ( \({\upsigma }_{\mathrm{h}}\mathrm{ and }{\upsigma }_{\mathrm{H}})\) respectively, and N is the total number of data in the dataset. \(\mathrm{var}(\left({\mathrm{y}}_{\mathrm{i actual}}-{\mathrm{y}}_{\mathrm{i predicted}}\right)\) is the variance of the difference between the actual and the estimated stress values, while \(\mathrm{var}(\left({\mathrm{y}}_{\mathrm{i actual}}\right)\) is the variance of the actual data. In the a20 index, the n20 is the number of points with the ratio of \({{(\mathrm{y}}_{\mathrm{i actual}}/\mathrm{y}}_{\mathrm{i predicted }})\) is between 0.8 and 1.2. It defines the number of data that estimated the outputs values with a divergence of ± 20% from the actual values.
Three different machine learning techniques were applied to the well-log data to predict \({\upsigma }_{\mathrm{h}}\mathrm{ and }{\upsigma }_{\mathrm{H}}\). For each technique, two models were built, one to predict the \({\upsigma }_{\mathrm{h}}\) gradient and the other model to predict the \({\upsigma }_{\mathrm{H}}\) gradient. Figure 4 presents a flowchart for the different model development processes. The data from the first well were randomly split into training and testing datasets. Different splitting ratios were tested varied from 60/40 to 85/15 for the training/testing data points ratio. The model hyperparameters were then optimized to improve the model results. After the model development, the model was verified with unseen data from the dataset from the second well.
Flowchart for building the different RF, FN, and ANFIS models.
RF model comprises many decision trees that accomplish great functioning in a low-dimension dataset. RF overcome the high variance and the overfitting problem by using the single decision tree technique. RF consists of thousands of decision trees, that were built in different bootstrapped data to lower the variance and enhance the power ability of the RF machine. Additionally, during the tree building procedure, a limited number of features are randomly chosen utilizing the cross-validation process, which assists in de-correlate the input trees and consequently improves the model precision31,32. Different patterns of RF hyperparameters were applied, including the maximum depth of the tree, the maximum features to be counted when splitting the node in every single tree, and the number of trees that were used to build the forest (N of estimators). The N estimators varied from 3 to 150; the maximum depth had values varied from [3, 4, 5, …, 30]. The maximum feature varied between different three features ["auto", "sqrt", "log2"]. These parameters were optimized to improve the model results and achieve the best indicators (AAPE and R).
The FN technique was provided as an alternative ML tool for ANN. Compared to ANN, FN keeps changing throughout the learning process by adapting to the data33. FN does not require weights to be assigned to the neurons because the effect of the weights already exists within the neuron functions from which the outputs obtained are converted to an equivalent output forcefully33,34,35,36. The neural functions in FN can take various forms chosen from one or more basic families (polynomial and trigonometric, etc.). In the FN, different methods and types can be used to optimize the model parameters for high prediction accuracy. Such methods as functional network forward–backward (FNFBM), functional network backward-forward (FNBFM), and others, while linear and non-linear types can be used in combinations with the FN methods. Similar to RF development, the FN methods and types were optimized to improve the model performance.
ANFIS combines both neural networks and fuzzy logic concepts by depending on a Takagi–Sugeno inference system for data processing applying Boolean logic. After the inputs and outputs are identified, fuzzy if–then rules are used for fitting non-linear regression. ANFIS is optimized through the number of fuzzy rules and epoch size to achieve accurate predictions without overfitting27,28,29. The fuzzy network, cluster radius, and epoch size were optimized for the model performance37,38,39.
Results and discussion
The three machine learning techniques were used to build six different models, three for \({\upsigma }_{\mathrm{h}}\) prediction and three for \({\upsigma }_{\mathrm{H}}\).
Minimum horizontal stress prediction
The Well-1 dataset was used to train and test the different ML models. Figure 5 display a cross plot for the actual versus the predicted minimum horizontal stress gradient for RF, ANFIS, and FN.
Cross plots of the actual versus the predicted \({\sigma }_{h}\) for the training and the testing datasets from RF, FN, and ANFIS models.
The RF parameters were optimized to improve the model behavior, as described in Fig. 4. The optimum parameters were N of the estimator is 100, the maximum depth is 25, and the maximum feature is log2. RF cross plot shows that the RF model was capable of estimating accurately \({\upsigma }_{\mathrm{h}}\) from the conventional well-log data. Most of the estimated points were aligned to the 45° line for the training dataset. While the model accuracy marginally reduced for the testing dataset with an R of 0.90. The RF model has R of 0.99 and 0.90 for training, and testing datasets, respectively. AAPE for the RF model was found to be 0.10 and 0.13% for training and testing datasets. GR, DTC, DTS, and RHOB were input to the model. R-value in the case of the testing dataset was found to be 0.88.
To explore the effect of all collected input data on the estimation of the horizontal stresses. Various models with different dataset combinations were developed as shown in Table 2. Excluding NPHI, Ed, and PRd from the input dataset, did not affect the model performance, and GR, DTC, DTS, and RHOB can be used to estimate the horizontal stress.
Similarly, the ANFIS technique was applied to the dataset from Well-1 to train and test the model. ANFIS parameters were optimized. The optimal input and the output membership function are gaussmf and linear, respectively. The optimal cluster radius and epoch size are 0.1 and 10, respectively. The ANFIS cross plot in both training and testing datasets shows the capability of the ANFIS model to predict \({\upsigma }_{\mathrm{h}}\) from the conventional well-log data with a good alignment with the 45° line. ANFIS model slightly outperforms RF model with less overfitting effect. Both training and testing datasets have AAPE of 0.10 with R values of 0.94 and 0.93 in the cases of training and testing datasets.
The FN was then implemented on the dataset from Well-1. Different combinations of FN methods and types were used to optimize the developed model performance. Table 3 summarizes FN methods and types and the corresponding R values and AAPE from the testing dataset. The different combinations showed that the FN model was less performed compared to RF and ANFIS models with optimum R values of 0.83 and 0.85 for the training and testing datasets, respectively. Most of the data aligned to the 45° line, with some points deviated from it. AAPE was estimated to be 0.19% in both training and testing datasets.
The dataset from Well-2 was used to validate the different ML models for \({\upsigma }_{\mathrm{h}}\) prediction. Figure 6 shows the actual versus the predicted \({\upsigma }_{\mathrm{h}}\) gradient for the validation dataset. In both RF and ANFIS models, the graph shows that the actual and estimated values are almost identical, which proves the ability of RF and ANFIS models to predict accurately \({\upsigma }_{\mathrm{h}}\) gradient from well-log data. FN model was capable of describing the general trend of the \({\upsigma }_{\mathrm{h}}\) gradient with marginal deviation from the actual values at some locations, particularly at the spikes.
Actual versus the predicted \({\sigma }_{h}\) for the validation dataset from (a) RF model, (b) ANFIS model, and (c) FN model.
Table 4 summarizes the quality indicator for RF, ANFIS, and FN models for the different datasets. It shows that the ANFIS model has the best performance with R and AAPE values are almost the same for training, testing, and validation datasets. RF displays overfitting behavior slightly where the training R value was 0.99 that decreased to 0.90 with the testing dataset and 0.91 in the validation dataset. FN had the lowest accuracy with an R factor of 0.85 and 0.88 for the testing and validation datasets. The calculated a20 index for the three ML techniques showed 100%, which indicates that all the predicted stresses were with 20% deviation from the actual \({\upsigma }_{\mathrm{h}}\) gradient.
Maximum horizontal stress prediction
The Well-1 logging data, including GR, DTC, DTS, and RHOB as inputs and the \({\upsigma }_{\mathrm{H}}\) gradient as output were used to train and test the RF, ANFIS, and FN models. Figure 7 presents the actual versus the estimated \({\upsigma }_{\mathrm{H}}\) cross plots for the training and testing datasets for the RF, ANFIS, and FN models.
Cross plots of the actual versus the predicted \({\sigma }_{H}\) for the training and the testing datasets from RF, FN, and ANFIS models.
The RF parameters were optimized to improve the model performance. The optimum N of the estimator, maximum depth, and maximum feature were 100, 20, and log2. Similarly, the optimal parameters for the ANFIS input and the output membership functions were found to be gaussmf and linear, whereas the cluster radius was 0.1, and the epoch size was 15. The best combination of the FN method and type was found to be the FNBFM and non-linear (2).
Figure 7 shows plots of the actual versus the estimated \({\upsigma }_{\mathrm{H}}\) gradient of the RF, FN, and ANFIS models for both training and testing datasets. The three model presents a very accurate prediction of \({\upsigma }_{\mathrm{H}}\) from the conventional well logs with all the data lined up with the 45° line. The R values for the three models' training and testing dataset were higher than 0.98, with AAPE less than 0.3%.
The Well-2 dataset was used to validate the RF, ANFIS, and FN developed models that predict \({\upsigma }_{\mathrm{H}}\) gradient. Figure 8 shows the actual versus the predicted \({\upsigma }_{\mathrm{H}}\) gradient for the validation dataset. In the RF, ANFIS, and FN models, the actual and predicted \({\upsigma }_{\mathrm{H}}\) gradient curves are identical, which confirms the three models' prediction accuracy.
Actual versus the predicted \({\upsigma }_{\mathrm{h}}\) gradient for the validation dataset from (a) RF model, (b) ANFIS model, and (c) FN model.
Table 5 summarizes the quality indicator for RF, ANFIS, and FN models for the training, testing, and validation datasets. It shows the three models' optimal robust performance where the R and AAPE values are almost the same for the different datasets. R-value for the different models was higher than 0.97 in all datasets with AAPE of 0.3% and RMSE of 3.9E-6. The a20 index was found to be 100% for the different datasets with the different models.
The established ML models were able to estimate the \({\upsigma }_{\mathrm{h}}\) and \({\upsigma }_{\mathrm{H}}\) gradients from the logging data; GR, DTC, DTS, and RHOB. Hence, a continuous profile for the \({\upsigma }_{\mathrm{h}}\) and \({\upsigma }_{\mathrm{H}}\) with depth can be obtained. Having continuous profiles of the least principal stresses for the drilled wells provides practical solutions to several wellbore instability issues, which assist well integrity and better hydraulic fracturing design.
It should be emphasized that the application of the developed models is limited to carbonate formations because other formations may have different log responses to the geomechanical properties that control the horizontal stresses values. Moreover, similar to any developed model, it should be applied to input data within the model's inputs ranges in Table 1 to guarantee trustworthy results. For future work, a similar analysis will be conducted on a dataset for a sandstone formation to evaluate the application of ML techniques to predict the \({\upsigma }_{\mathrm{h}}\) and \({\upsigma }_{\mathrm{H}}\) in sandstone formations.
Conclusions
This study presents the application of RF, ANFIS, FN techniques to predict the minimum and maximum horizontal stress gradients from the convention well-logs, including GR, DTC, DTS, and RHOB. Following are the main conclusions;
-
The GR, DTC, DTS, and RHOB logs showed a strong correlation with \({\upsigma }_{\mathrm{h}}\) and \({\upsigma }_{\mathrm{H}}\).
-
RF and ANFIS models were able to predict accurately \({\upsigma }_{\mathrm{h}}\) and \({\upsigma }_{\mathrm{H}}\) gradients from the conventional well-logs with AAPE less than 0.3%.
-
FN model accurately predicted \({\upsigma }_{\mathrm{H}}\) gradient from the well-logs but did not provide the same accuracy in predicting \({\upsigma }_{\mathrm{h}}\) gradient.
This study showed the capabilities and robustness of machine learning techniques to predict the minimum and maximum horizontal stress gradients from the conventional well-logs with about ± 0.3% accuracy error and goodness of fit (R) of 0.90–0.98.
Abbreviations
- AAPE:
-
Average absolute percentage error
- ANFIS:
-
Adaptive neuro-fuzzy inference system
- ANN:
-
Artificial neural network
- DFIT :
-
Diagnostic fracture injection test
- DTC :
-
Compressional waves transit time, µs/ft
- DTS:
-
Shear waves transit time, µs/ft
- FN:
-
Functional network
- FNFSM:
-
Functional network forward-selection method
- FNESM:
-
Functional network exhaustive-search method
- FNBEM:
-
Functional network backward-elimination method
- FNFBM:
-
Functional network forward–backward method
- FNBFM:
-
Functional network backward-forward method
- GR :
-
Gamma-ray, API
- LOT :
-
Leak-off test
- N :
-
The number of data points
- ML:
-
Machine learning
- R :
-
Correlation coefficient
- RF:
-
Random forest
- RHOB:
-
Formation bulk density, g/cm3
- \({\mathrm{x}}_{\mathrm{i}}\) :
-
The independent parameter
- XLOT:
-
Extended leak-off test
- \({\mathrm{y}}_{\mathrm{i}}\) :
-
The dependent parameters
- \({\upsigma }_{\mathrm{V}}\) :
-
Overburden stress, psi/ft
- \({\upsigma }_{\mathrm{h}}\) :
-
Minimum horizontal stress, psi/ft
- \({\upsigma }_{\mathrm{H}}\) :
-
Maximum horizontal stress, psi/ft
- \({\upsigma }_{\mathrm{x}}\mathrm{ and }{\upsigma }_{\mathrm{y}}\) :
-
The standard deviation for the independent and dependent parameters
- \({\upmu }_{\mathrm{x}}\mathrm{ and }{\upmu }_{\mathrm{y}}\) :
-
Mean for the independent and dependent parameters
References
Zinn, C., Blood, D. R. & Morath, P. In evaluating the impact of Wellbore Azimuth in the Marcellus Shale, Paper presented at the SPE Eastern Regional Meeting, Columbus, Ohio, USA, August 2011, 2011.
McGarr, A. & Gay, N. C. State of stress in the earth’s crust. Annu. Rev. Earth Planet. Sci. 6(1), 405–436 (1978).
Al-Zankawi, O., Belhouchet, M. & Abdessalem, A. In real-time integration of geo-mechanics to overcome drilling challenges and low NPT, SPE Kuwait Oil & Gas Show and Conference, Kuwait City, Kuwait, October 2017, 2017.
Abdideh, M. & Fathabadi, M. Analysis of stress field and determination of safe mud window in borehole drilling (case study: SW Iran). J. Pet. Explor. Prod. Technol. 3, 105–110 (2013).
Bell, J. S. Petro Geoscience 2. In situ stresses in sedimentary rocks (part 2): Applications of stress measurements. Geosci. Can. 23, 3 (1996).
Maleki, S. et al. Comparison of different failure criteria in prediction of safe mud weigh window in drilling practice. Earth Sci. Rev. 136, 36–58 (2014).
Molaghab, A., Taherynia, M. H., Fatemi Aghda, S. M. & Fahimifar, A. Determination of minimum and maximum stress profiles using wellbore failure evidences: A case study—a deep oil well in the southwest of Iran. J. Pet. Explor. Prod. Technol. 7(3), 707–715 (2017).
Warpinski, N. R. & Teufel, L. W. In In-Situ Stresses in Low-Permeability, Nonmarine Rocks, SPE/DOE Joint Symposium on Low Permeability Reservoirs (1987).
Willson, S. M., Moschovidis, Z. A. , Cameron, J. R. & Palmer, I. D. In new model for predicting the rate of sand production, SPE/ISRM Rock Mechanics Conference (2002).
Zoback, M. D. et al. Determination of stress orientation and magnitude in deep wells. Int. J. Rock Mech. Min. Sci. 40(7), 1049–1076 (2003).
Carnegie, A., Thomas, M. , Efnik, M. S. , Hamawi, M. , Akbar, M. & Burton, M. In An Advanced Method of Determining Insitu Reservoir Stresses: Wireline Conveyed Micro-Fracturing, Abu Dhabi International Petroleum Exhibition and Conference, Abu Dhabi, United Arab Emirates, October 2002, 2002.
Nolte, K. G. Principles for fracture design based on pressure analysis. SPE Prod. Eng. 3(01), 22–30 (1988).
Ibrahim Mohamed, M., Ibrahim, A. F., Ibrahim, M., Pieprzica, C. & Ozkan, E. In Determination of ISIP of Non-Ideal Behavior During Diagnostic Fracture Injection Tests, presented at the SPE Annual Technical Conference and Exhibition, Calgary, Alberta, Canada, September 2019, 2019.
Zoback, M. D. Reservoir Geomechanics (Cambridge University Press, 2007).
Binh, N. T. T., Tokunaga, T., Goulty, N. R., Son, H. P. & Van Binh, M. Stress state in the Cuu Long and Nam Con Son basins, offshore Vietnam. Mar. Pet. Geol. 28(5), 973–979 (2011).
Zang, A., Stephansson, O., Heidbach, O. & Janouschkowetz, S. World stress map database as a resource for rock mechanics and rock engineering. Geotech. Geol. Eng. 30(3), 625–646 (2012).
Anderson, E. M. The dynamics of faulting. Trans. Edinburgh Geol. Soc. 8(3), 387 (1905).
Blanton, T. L. & Olson, J. E. Stress magnitudes from logs: Effects of tectonic strains and temperature. SPE Reservoir Eval. Eng. 2(01), 62–68 (1999).
Fjar, E., Holt, R. M., Raaen, A. & Horsrud, P. Petroleum Related Rock Mechanics (Elsevier, 2008).
Fan, X. et al. Prediction of the horizontal stress of the tight sandstone formation in eastern Sulige of China. J. Petrol. Sci. Eng. 113, 72–80 (2014).
Meng, Z., Zhang, J. & Wang, R. In-situ stress, pore pressure and stress-dependent permeability in the Southern Qinshui Basin. Int. J. Rock Mech. Min. Sci. 48(1), 122–131 (2011).
Rasouli, V., Pallikathekathil, Z. J. & Mawuli, E. The influence of perturbed stresses near faults on drilling strategy: A case study in Blacktip field, North Australia. J. Petrol. Sci. Eng. 76(1), 37–50 (2011).
Acar, M. C. & Kaya, B. Models to estimate the elastic modulus of weak rocks based on least square support vector machine. Arab. J. Geosci. 13(14), 590 (2020).
Gowida, A., Elkatatny, S. & Gamal, H. Unconfined compressive strength (UCS) prediction in real-time while drilling using artificial intelligence tools. Neural Comput. Appl. 20, 20 (2021).
Zhao, H.-B. & Yin, S. Geomechanical parameters identification by particle swarm optimization and support vector machine. Appl. Math. Model. 33(10), 3997–4012 (2009).
Al Dhaif, R., Ibrahim, A. F. & Elkatatny, S. Prediction of surface oil rates for volatile oil and gas condensate reservoirs using artificial intelligence techniques. J. Energy Resour. Technol. 20, 1–14 (2021).
Zhou, J., Asteris, P. G., Armaghani, D. J. & Pham, B. T. Prediction of ground vibration induced by blasting operations through the use of the Bayesian Network and random forest models. Soil Dyn. Earthq. Eng. 139, 106390 (2020).
Zhou, J. et al. Random forests and cubist algorithms for predicting shear strengths of rockfill materials. Appl. Sci. 9(8), 1621 (2019).
Jahed Armaghani, D., Tonnizam Mohamad, E., Momeni, E., Narayanasamy, M. S. & Mohd Amin, M. F. An adaptive neuro-fuzzy inference system for predicting unconfined compressive strength and Young’s modulus: A study on Main Range granite. Bull. Eng. Geol. Environ. 74(4), 1301–1319 (2015).
Bunawan, A. R., Momeni, E., Armaghani, D. J., Nissabinti Mat Said, K. & Rashid, A. S. A. Experimental and intelligent techniques to estimate bearing capacity of cohesive soft soils reinforced with soil-cement columns. Measurement 124, 529–538 (2018).
Hegde, C., Wallace, S. & Gray, K. In Using Trees, Bagging, and Random Forests to Predict Rate of Penetration During Drilling, Paper presented at the SPE Middle East Intelligent Oil and Gas Conference and Exhibition, Abu Dhabi, UAE, September 2015, 2015.
Yarveicy, H., Saghafi, H., Ghiasi, M. & Mohammadi, A. Decision tre… based modeling of CO2 equilibrium absorption in different aqueous solutions of absorbents. Environ. Prog. 2019(38), 441–448 (2019).
Castillo, E., Cobo, A., Gutiérrez, J. M. & Pruneda, E. Functional networks: A new network-based methodology. Comput. Aided Civ. Infrastruct. Eng. 15(2), 90–106 (2000).
Castillo, E., Gutiérrez, J. M., Hadi, A. S. & Lacruz, B. Some applications of functional networks in statistics and engineering. Technometrics 43(1), 10–24 (2001).
Anifowose, F., Labadin, J. & Abdulraheem, A. In Prediction of Petroleum Reservoir Properties Using Different Versions of Adaptive Neuro-Fuzzy Inference System Hybrid Models, CISIM 2013 (2013).
Ahmed, A. & Khalid, M. An intelligent framework for short-term multi-step wind speed forecasting based on functional networks. Appl. Energy 225, 902–911 (2018).
Jang, J. R. & Chuen-Tsai, S. Neuro-fuzzy modeling and control. Proc. IEEE 83(3), 378–406 (1995).
Jang, J. R. In Input Selection for ANFIS Learning, Proceedings of IEEE 5th International Fuzzy Systems, vol 2, 11 Sept. 1996, pp 1493–1499.
Walia, N., Singh, H. & Sharma, A. ANFIS: Adaptive neuro-fuzzy inference system—a survey. Int. J. Comput. Appl. 123, 32–38 (2015).
Author information
Authors and Affiliations
Contributions
S.E. A.A. conceived the idea and collected the required data and participated in the methodology design. A.I, A.G., conducted the data analysis, designed the methodology, run the algorithms and performed the sensitivity and the optimization of the results. S.E., A.A. also participated in methodology design and results validation supervising. The original manuscript was written by A, I., and all authors participated in the manuscript revision and editing.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Ibrahim, A.F., Gowida, A., Ali, A. et al. Machine learning application to predict in-situ stresses from logging data. Sci Rep 11, 23445 (2021). https://doi.org/10.1038/s41598-021-02959-9
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41598-021-02959-9
This article is cited by
-
Research on prediction method of well logging reservoir parameters based on Multi-TransFKAN model
Scientific Reports (2025)
-
Stacked machine learning models for accurate estimation of shear and Stoneley wave transit times in DSI log
Scientific Reports (2025)
-
Inversion Study of In-Situ Stress in the Underground Powerhouse Area of a Large Hydropower Project in Southwest China
Rock Mechanics and Rock Engineering (2025)
-
Predictive modeling of reservoir geomechanical parameters through computational intelligence approach, integrating core and well logging data
Earth Science Informatics (2025)
-
Nonlinear Intelligent Inversion Method and Practice for In-situ Stress in Stratified Rock Masses with Deep Valley
Rock Mechanics and Rock Engineering (2025)










