Machine learning-based drilled rock mass structure quantitative prediction method and system
By constructing an associated dataset and using a machine learning model to automatically correct biases, the systematic bias problem of borehole longitudinal wave velocity and rock quality indicators in rock mass structure classification was solved, realizing high-precision and low-cost quantitative prediction of rock mass structure, which is applicable to the safety assessment of dam foundations in water conservancy and hydropower projects.
Patent Information
- Application Number
- CN202610448253.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-04-07
- Publication Date
- 2026-05-08
- Estimated Expiration
- 2046-04-07
AI Technical Summary
In existing technologies, the use of borehole longitudinal wave velocity and rock quality indicators to classify rock mass structures suffers from systematic deviations and cannot be directly integrated. It requires correction based on engineers' experience, making it difficult to achieve precise and standardized rock mass structure classification.
A machine learning-based method for quantitative prediction of borehole rock mass structure is constructed. By building an associated dataset, the overall deviation correction coefficient of rock mass integrity coefficient and rock quality index is calculated. The machine learning model is used to automatically capture the nonlinear mapping relationship between the two indices and the quantitative value of rock mass structure, thereby achieving automatic mapping.
It improves the accuracy and efficiency of rock mass structure prediction, reduces labor costs, provides a reliable basis for dam foundation safety assessment, is suitable for field environments without network access, supports local offline deployment, and is adaptable to different lithology and hydrogeological conditions.
Smart Images

Figure CN121997297A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of machine learning technology, and in particular to a method and system for quantitative prediction of borehole rock mass structure based on machine learning. Background Technology
[0002] Accurate classification of the rock mass structure of riverbed dam foundations is a core prerequisite for the design, construction, and safety assessment of water conservancy and hydropower projects, directly determining the dam foundation treatment scheme, project cost, and operational safety. Currently, exploration methods for riverbed dam foundations are limited by topographic and hydrological conditions, mainly relying on borehole exploration, lacking comprehensive and intuitive methods for exposing the rock mass. Therefore, borehole-related indicators have become the core basis for rock mass structure classification.
[0003] Current technologies often use a single index to classify rock mass structure. Currently, the common practice is to calculate the rock mass integrity coefficient using borehole P-wave velocity, and then combine this coefficient with the rock mass integrity coefficient to classify the rock mass structure type; alternatively, rock quality indicators are obtained from borehole cores, and the rock mass structure is classified based on these indicators. However, in practice, it has been found that these two indicators have inherent limitations: The longitudinal wave velocity of boreholes reflects the integrity characteristics of rock mass in situ. It is affected by factors such as rock mass fissure filling material, groundwater, and test depth, resulting in systematic deviations in the rock mass structure types classified based on the rock mass integrity coefficient. If rock quality indicators are obtained from borehole cores, disturbances are inevitable during the core extraction process. Furthermore, the rock mass structure types classified based on rock quality indicators are also subject to systematic biases due to factors such as core recovery rate and fracture development direction. More importantly, the results of the two classifications are often contradictory and cannot be directly integrated for judgment. They require manual correction based on the experience of engineers, which is highly subjective, inefficient, and difficult to guarantee in terms of accuracy. This cannot meet the requirements of large-scale water conservancy projects for precise and standardized rock mass structure classification.
[0004] Therefore, it is necessary to propose a machine learning-based quantitative prediction method and system for borehole rock mass structure to solve or at least alleviate the above-mentioned defects. Summary of the Invention
[0005] The main objective of this invention is to provide a method and system for quantitative prediction of borehole rock mass structure based on machine learning, so as to solve the above-mentioned technical problems.
[0006] To achieve the above objectives, this invention provides a machine learning-based method for quantitative prediction of borehole rock mass structure, comprising the following steps: S1, construct an associated dataset based on the actual rock mass structure; the associated dataset includes multiple data records, each data record is associated with the rock mass integrity coefficient, rock quality index and actual rock mass structure quantification value of the same borehole depth or corresponding exploration area; wherein, the actual rock mass structure quantification value is determined based on the rock mass structure revealed by borehole television images and / or exploration tunnels, the rock mass structure is divided into multiple categories, each category corresponds to a unique quantification value; S2, Based on the associated dataset, calculate the rock mass integrity coefficient and the overall deviation correction coefficient of the rock quality index respectively; S3, obtain the original rock mass integrity coefficient data and the original rock quality index data of the borehole to be predicted, and use the overall deviation correction coefficient to correct the original rock mass integrity coefficient data and the original rock quality index data respectively to obtain the corrected rock mass integrity coefficient data and the corrected rock quality index data. S4, input the corrected rock mass integrity coefficient data and the corrected rock quality index data into the pre-trained machine learning model, and output the quantitative prediction value of rock mass structure; wherein, the machine learning model is trained based on the training dataset, the training dataset includes the corrected data obtained by correcting the rock mass integrity coefficient data and rock quality index data in the associated dataset after being corrected by the overall deviation correction coefficient, and the actual quantitative value of rock mass structure in the associated dataset.
[0007] Preferably, step S1 includes the following steps: Acquire borehole television images with a resolution of not less than 720P. Take one frame of the image every 0.5 meters along the borehole depth direction and record the borehole depth, number of fractures, fracture width and filling material type corresponding to each frame of the image. Collect rock mass structure data exposed by the exploration tunnel, conduct full-section mapping of the exploration tunnel wall, and record the rock mass structure type, fracture development parameters and rock mass weathering degree; The borehole television images are aligned with the rock mass structure data exposed by the exploration tunnel according to depth. The rock mass structure categories reflected in the images within the same depth range are compared with those revealed by the tunnel walls. If the rock mass structure categories reflected by the two are consistent, the quantified value corresponding to that rock mass structure category is determined as the actual rock mass structure quantified value for that depth range. If the rock mass structure categories reflected by the two are inconsistent, a comprehensive judgment is made based on the core data and geological survey report to determine the actual rock mass structure quantified value for that depth range.
[0008] Preferably, step S2 includes the following steps: S21, Based on the actual rock mass structure quantification values in the associated dataset, group the rock mass integrity coefficient data and rock quality index data in the associated dataset according to the rock mass structure category; S22, For each rock mass structure category, calculate the average value of all rock mass integrity coefficient data under that rock mass structure category as the measured average value of the rock mass integrity coefficient of that rock mass structure category, and calculate the average value of all rock quality index data under that rock mass structure category as the measured average value of the rock quality index of that rock mass structure category. S23, obtain the standard rock mass integrity coefficient value and standard rock quality index value corresponding to each rock mass structure category determined according to the engineering rock mass classification standard; S24, For each rock mass structure category, calculate the deviation value of the rock mass integrity coefficient and the deviation value of the rock quality index for that rock mass structure category; S25, calculate the proportion of the number of samples for each rock mass structure category to the total number of samples in the associated dataset, and use it as the weight coefficient for that rock mass structure category; S26. Multiply the deviation values of the rock mass integrity coefficient of each rock mass structure category by the corresponding weight coefficient and then sum them to obtain the overall deviation correction coefficient of the rock mass integrity coefficient; multiply the deviation values of the rock quality index of each rock mass structure category by the corresponding weight coefficient and then sum them to obtain the overall deviation correction coefficient of the rock quality index.
[0009] Preferably, step S3 includes the following steps: S31, Obtain the original rock mass integrity coefficient data and original rock quality index data of the borehole to be predicted; S32, perform data cleaning on the original rock mass integrity coefficient data and the original rock quality index data, remove outliers that exceed the preset reasonable range, and fill in the missing values to obtain the cleaned rock mass integrity coefficient data and the cleaned rock quality index data. S33, The cleaned rock mass integrity coefficient data and cleaned rock quality index data are standardized to convert the data into standardized data with a mean of zero and a standard deviation of one, thus obtaining standardized rock mass integrity coefficient data and standardized rock quality index data. S34, the standardized rock mass integrity coefficient data and standardized rock quality index data are corrected using the overall deviation correction coefficient. The overall deviation correction coefficient of the rock mass integrity coefficient is subtracted from the standardized rock mass integrity coefficient data to obtain the corrected rock mass integrity coefficient data; the overall deviation correction coefficient of the rock quality index is subtracted from the standardized rock quality index data to obtain the corrected rock quality index data.
[0010] Preferably, the machine learning model in step S4 is obtained through the following steps: S41, Construct a training dataset; wherein, the training dataset includes corrected rock mass integrity coefficient data, corrected rock quality index data, and actual rock mass structure quantification values; S42, the training dataset is divided into a training set and a test set; S43, determine the search space for hyperparameters; wherein, the hyperparameters include maximum tree depth, learning rate, number of weak learners, sample sampling ratio, and feature sampling ratio; S44. Using a grid search combined with cross-validation, the hyperparameter combinations are traversed within the search space of the hyperparameters. The mean absolute error is used as the evaluation index, and the hyperparameter combination that minimizes the mean absolute error is selected as the optimal hyperparameter. S45, Using the optimal hyperparameters, train the machine learning model on the training set to obtain the trained machine learning model.
[0011] Preferably, in step S42, when dividing the training dataset into a training set and a test set, a stratified sampling method is used to ensure that the sample proportion of the actual rock mass structure quantification values corresponding to each rock mass structure category in the training set and the test set is consistent with the sample proportion of the actual rock mass structure quantification values corresponding to each rock mass structure category in the training dataset; wherein, the number of samples in the training set accounts for 70% of the total number of samples in the training dataset, and the number of samples in the test set accounts for 30% of the total number of samples in the training dataset.
[0012] Preferably, in step S44, a grid search combined with 3-fold cross-validation is used to traverse each hyperparameter combination in the search space of the hyperparameters, and the hyperparameter combination that minimizes the mean absolute error is selected as the optimal hyperparameter using the mean absolute error as the evaluation index; wherein the mean absolute error is less than or equal to 0.3, and the coefficient of determination of the machine learning model on the test set is greater than or equal to 0.7.
[0013] Preferably, the search range for the maximum tree depth is 2 to 4, the search range for the learning rate is 0.05 to 0.2, the search range for the number of weak learners is 100 to 200, the search range for the sample sampling ratio is 0.9 to 1.0, and the search range for the feature sampling ratio is 0.9 to 1.0.
[0014] Preferably, the step S4 is followed by the following step: Select at least one verification borehole, obtain the corrected rock mass integrity coefficient data and corrected rock quality index data of the verification borehole, and input them into the trained machine learning model to obtain the quantitative prediction value of rock mass structure. The predicted value of the rock mass structure is compared with the actual value of the rock mass structure determined by the borehole television imagery and / or exploration tunnel exposure based on the verification borehole; the mean absolute error between the two is calculated; when the mean absolute error exceeds 0.3, the data of the verification borehole is added to the associated dataset, the overall deviation correction coefficient is recalculated, and the machine learning model is retrained.
[0015] The present invention also provides a machine learning-based quantitative prediction system for borehole rock mass structure, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the machine learning-based quantitative prediction method for borehole rock mass structure as described above.
[0016] Compared with the prior art, the present invention has the following beneficial effects: (1) This invention can solve the problem of systematic bias in a single indicator and improve prediction accuracy. By constructing an associated dataset based on the actual rock mass structure revealed by borehole television images and / or exploration tunnels, and using the quantitative value of the actual rock mass structure as a benchmark, the overall deviation correction coefficient of the rock mass integrity coefficient and rock quality index is calculated based on the associated dataset. The deviation of the original data is corrected using this correction coefficient, thus eliminating the systematic inherent bias of the two types of indicators from the source of data. (2) By inputting the corrected data into a pre-trained machine learning model, the nonlinear mapping relationship between the dual indicators and the quantitative value of rock mass structure is automatically captured, realizing the automatic mapping from the input of the dual indicators to the output of the quantitative prediction value of rock mass structure. Engineering verification shows that the prediction model of this invention has a high coefficient of determination (COP) on the test set. With an accuracy of 0.9 or higher, a mean absolute error (MAE) of no more than 0.3, and a prediction time of no more than 1.5 seconds for a single set of data, the prediction accuracy and efficiency are far superior to traditional empirical methods. No manual intervention is required, which significantly improves efficiency and reduces labor costs, providing a reliable basis for dam foundation safety assessment.
[0017] (3) This invention supports local offline deployment and is suitable for environments without network access in the field; it constructs a data closed-loop mechanism, continuously iterates the model as exploration progresses, adapts to different lithology and hydrogeological conditions, provides quantitative basis for the optimization of exploration indicators, and has both technical innovation and engineering practical value. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0019] Figure 1 This is a schematic flowchart of one embodiment of the present invention; Figure 2 This is a schematic diagram of the sample distribution of various rock mass structure types in one embodiment of the present invention; Figure 3 This is a scatter plot illustrating the relationship between the rock mass integrity coefficient Kv and the rock quality index RQD in one embodiment of the present invention. Figure 4 This is a schematic diagram comparing the actual value and the model prediction value of the rock mass structure quantification value in one embodiment of the present invention.
[0020] The objectives, features, and advantages of this invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0021] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0022] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0023] Furthermore, the technical solutions of the various embodiments can be combined with each other, but only if they are feasible for those skilled in the art. If the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such combination of technical solutions does not exist and is not within the scope of protection claimed by this invention.
[0024] Please refer to Figures 1 to 4 This invention provides a machine learning-based method for quantitative prediction of borehole rock mass structure, comprising the following steps: S1. Construct an associated dataset based on the actual rock mass structure. The associated dataset includes multiple data records, each associated with the rock mass integrity coefficient, rock quality index, and actual rock mass structure quantification value of the same borehole depth or corresponding exploration area. The actual rock mass structure quantification value is determined based on the rock mass structure revealed by borehole television images and / or exploration tunnels. The rock mass structure is divided into multiple categories, each corresponding to a unique quantification value. For borehole data, each rock mass integrity coefficient and rock quality index corresponds to a specific borehole depth, and each image frame also corresponds to a specific borehole depth. The tunnel wall mapping data corresponds to specific spatial coordinates. Through coordinate transformation, a correspondence can be established with the borehole depth. By using depth coordinates or spatial coordinates, data from different sources are precisely aligned in spatial location, ensuring that the rock mass integrity coefficient and rock quality index of each data record in the associated dataset and the actual rock mass structure quantification value originate from the same spatial location (same borehole depth or adjacent exploration area).
[0025] Rock mass structure is a qualitative description and cannot be directly input into machine learning models; it needs to be converted into a numerical form. This invention, based on the "Engineering Rock Mass Classification Standard" (GB / T 50218-2014), classifies actual rock mass structures into multiple categories and assigns a unique quantitative value to each category. Preferably, there are five categories: intact rock mass, relatively intact rock mass, relatively fractured rock mass, fractured rock mass, and extremely fractured rock mass. Furthermore, the rock mass integrity coefficient Kv and the rock quality index RQD are existing mature parameters, and their background and origin will not be elaborated upon here.
[0026] S2, based on the associated dataset, calculate the overall deviation correction coefficients for the rock mass integrity coefficient and the rock quality index, respectively. It is worth noting that the rock mass integrity coefficient is affected by factors such as fracture filling material, groundwater, and test depth, and deviates from the true value overall. The rock quality index is affected by factors such as core recovery rate, fracture development direction, and drilling disturbance, and deviates from the true value overall. If these deviations are not eliminated, the machine learning model will learn the mapping relationship between the biased test data and the actual rock mass structure, rather than the true physical laws.
[0027] S3, obtain the original rock mass integrity coefficient data and the original rock quality index data of the borehole to be predicted, and use the overall deviation correction coefficient to correct the original rock mass integrity coefficient data and the original rock quality index data respectively to obtain the corrected rock mass integrity coefficient data and the corrected rock quality index data. S4, input the corrected rock mass integrity coefficient data and the corrected rock quality index data into the pre-trained machine learning model, and output the quantitative prediction value of rock mass structure; wherein, the machine learning model is trained based on the training dataset, the training dataset includes the corrected data obtained by correcting the rock mass integrity coefficient data and rock quality index data in the associated dataset after being corrected by the overall deviation correction coefficient, and the actual quantitative value of rock mass structure in the associated dataset.
[0028] This invention can solve the problem of systematic bias in single indicators and improve prediction accuracy. By constructing an associated dataset based on the actual rock mass structure revealed by borehole television images and / or exploration tunnels, and using the quantitative value of the actual rock mass structure as a benchmark, the overall bias correction coefficient of rock mass integrity coefficient and rock quality index is calculated based on the associated dataset. The bias correction coefficient is used to correct the original data, eliminating the systematic inherent bias of the two types of indicators from the source of data. By inputting the corrected data into a pre-trained machine learning model, the nonlinear mapping relationship between the two indicators and the quantitative values of rock mass structure is automatically captured, achieving automatic mapping from the input of the two indicators to the output of the quantitative prediction value of rock mass structure. Engineering verification has shown that the prediction model of this invention has a high coefficient of determination (COP) on the test set. With an accuracy of 0.9 or higher, a mean absolute error (MAE) of no more than 0.3, and a prediction time of no more than 1.5 seconds for a single set of data, the prediction accuracy and efficiency are far superior to traditional empirical methods. No manual intervention is required, which significantly improves efficiency and reduces labor costs, providing a reliable basis for dam foundation safety assessment.
[0029] (3) This invention supports local offline deployment and is suitable for environments without network access in the field; it constructs a data closed-loop mechanism, continuously iterates the model as exploration progresses, adapts to different lithology and hydrogeological conditions, provides quantitative basis for the optimization of exploration indicators, and has both technical innovation and engineering practical value.
[0030] In a preferred embodiment, step S1 includes the following steps: Acquire borehole television images with a resolution of not less than 720P. Take one frame of the image every 0.5 meters along the borehole depth direction and record the borehole depth, number of fractures, fracture width and filling material type corresponding to each frame of the image. First, boreholes are laid out to cover key areas of the dam foundation (such as the dam axis, dam abutments, foundation bearing layer, and areas of geological anomalies), with no fewer than 30 boreholes. The borehole depth matches the design depth of the dam foundation (generally no less than 1.5 times the dam height), and the borehole spacing is determined based on the scale and geological complexity of the dam foundation to ensure comprehensive data coverage of the dam foundation area. In boreholes where wave velocity testing and core sampling have been completed, a borehole television camera is used to capture full-hole images. To ensure image quality that clearly identifies rock mass fracture characteristics, the borehole television camera has a resolution of no less than 720P (1280×720 pixels). This resolution setting allows for clear differentiation of key fracture features and infill types, solving the problem of low-resolution images failing to accurately identify fine fracture structures in existing technologies. One frame of image is captured every 0.5 meters along the borehole depth direction. This capture interval is based on practical principles of engineering geological exploration: a 0.5-meter interval can completely record the changes in the rock mass along the depth direction without generating excessive data redundancy, ensuring efficient subsequent data correlation.
[0031] Data on the rock mass structure revealed by the exploration tunnels were collected. A full-section mapping of the tunnel walls was conducted, recording the rock mass structure type, fracture development parameters, and degree of weathering. Exploration tunnels were constructed in the dam foundation exploration area, with a cross-sectional size of no less than 1.5 meters × 2.0 meters to ensure that staff could conduct comprehensive mapping of the tunnel walls. The full-section mapping of the exploration tunnel walls was conducted, recording the rock mass structure type, fracture development parameters, and degree of weathering.
[0032] The borehole television images are aligned with the rock mass structure data exposed by the exploration tunnel according to depth. The rock mass structure categories reflected in the images within the same depth range are compared with those revealed by the tunnel walls. If the rock mass structure categories reflected by the two are consistent, the quantified value corresponding to that rock mass structure category is determined as the actual rock mass structure quantified value for that depth range. If the rock mass structure categories reflected by the two are inconsistent, a comprehensive judgment is made based on the core data and geological survey report to determine the actual rock mass structure quantified value for that depth range.
[0033] Specifically, based on the correspondence between borehole depth and the spatial location of the exploration tunnel (usually achieved through the conversion between borehole coordinates and tunnel coordinates), the image depth range is matched with the rock mass structure range exposed by the tunnel wall, ensuring effective comparison between the two data sources within the same depth range. By comparing the rock mass structure categories reflected in the images within the same depth range with those exposed by the tunnel wall, and cross-validating the two independent rock mass structure judgment results, misjudgments that may occur with a single data source can be effectively identified and eliminated.
[0034] If the rock mass structure categories reflected by the two are inconsistent, a comprehensive judgment should be made by combining core data and geological survey reports to determine the actual quantitative value of the rock mass structure in that depth range. For example, in a certain engineering case, borehole television images show well-developed fractures, which meets the characteristics of "relatively broken rock mass" (quantitative value 3), but the exploration tunnel reveals that the rock mass is relatively intact, which meets the characteristics of "relatively intact rock mass" (quantitative value 4). In this case, engineering geologists need to further analyze the integrity of the core (such as the rock quality index RQD value) and the description of the tectonic zone distribution in the geological survey report. If the core is short columnar, the rock quality index value is between 50% and 80%, and the geological survey report shows that there is a small fault in the area, then it is comprehensively judged as "relatively broken rock mass" (quantitative value 3); if the core integrity is relatively good, the rock quality index value is greater than 80%, and the geological survey report shows that the rock mass in the area is less affected by weathering, then it is comprehensively judged as "relatively intact rock mass" (quantitative value 4).
[0035] Qualitative description of rock mass structure: According to the "Engineering Rock Mass Classification Standard" (GB / T 50218-2014), the actual rock mass structure is divided into 5 categories, and the qualitative description is as follows: (1) Intact rock mass (rock mass structure quantitative value = 5): The rock mass is continuous, with undeveloped fissures (the number of fissures per meter is ≤ 1), fissure width is < 0.1 mm, there is no filling material, the rock core is continuous and intact, the rock quality index is ≥ 90%, and the rock mass integrity coefficient is > 0.75; (2) Relatively intact rock mass (rock mass structure quantitative value = 4): The rock mass is relatively continuous, with relatively developed fissures (1 to 3 fissures per meter), fissure width of 0.1 to 0.5 mm, a small amount of filling material (muddy, calcareous), good rock core integrity, rock quality index of 80% to 90%, 0.75 ≥ rock mass integrity coefficient > 0.55; (3) Relatively broken rock mass (rock mass structure quantitative value = 3): The rock mass integrity is generally good, with well-developed fissures (3 to 5 fissures per meter), fissure width of 0.5 to 1.0 mm, a lot of filling material, rock cores are mostly short columnar, rock quality index is 50% to 80%, 0.55 ≥ rock mass integrity coefficient > 0.35; (4) Broken rock mass (rock mass structure quantitative value = 2): The rock mass is discontinuous, with extremely developed fissures (5 to 10 fissures per meter), fissure width of 1.0 to 5.0 mm, filling material is mainly muddy, rock core is mostly fragmented, rock quality index is 25% to 50%, 0.35 ≥ rock mass integrity coefficient > 0.15; (5) Extremely fractured rock mass (rock mass structure quantification value = 1): The rock mass is discrete, with dense fissures (number of fissures per meter > 10), fissure width > 5.0 mm, full filling material, rock core is mostly powdery, rock quality index < 25%, rock mass integrity coefficient ≤ 0.15.
[0036] The associated dataset constructed in this embodiment provides a high-quality, standardized data foundation for the calculation of deviation correction coefficients and the training of machine learning models in subsequent steps, effectively solving the shortcomings of the background technology, such as the lack of comprehensive and intuitive rock mass exposure methods and reliance on manual experience for correction.
[0037] In a preferred embodiment, step S2 includes the following steps: S21, Based on the actual rock mass structure quantification values in the associated dataset, group the rock mass integrity coefficient data and rock quality index data in the associated dataset according to the rock mass structure category; For example, a dam foundation exploration project collected 120 valid data records, among which: There are 15 data records with a quantification value of 5 (intact rock mass), corresponding to 15 rock mass integrity coefficients (Kv) and 15 rock quality indicators (RQD). There are 25 data records with a quantification value of 4 (relatively intact rock mass), corresponding to 25 rock mass integrity coefficients (Kv) and 25 rock quality indicators (RQD). There are 30 data records with a quantification value of 3 (relatively fractured rock mass), corresponding to 30 rock mass integrity coefficients (Kv values) and 30 rock quality indicators (RQD values); There are 25 data records with a quantification value of 2 (fractured rock mass), corresponding to 25 rock mass integrity coefficients (Kv) and 25 rock quality indicators (RQD). There are 25 data records with a quantification value of 1 (extremely fractured rock mass), corresponding to 25 rock mass integrity coefficients (Kv) and 25 rock quality indicators (RQD).
[0038] S22, For each rock mass structure category, calculate the average value of all rock mass integrity coefficient data under that rock mass structure category as the measured average value of the rock mass integrity coefficient of that rock mass structure category, and calculate the average value of all rock quality index data under that rock mass structure category as the measured average value of the rock quality index of that rock mass structure category. For each rock mass structure category, the measured mean values of the rock mass integrity coefficient Kv and the rock quality index RQD are calculated separately. By calculating the measured mean values for each category, the actual distribution characteristics of the rock mass integrity coefficient Kv and the rock quality index RQD under different rock mass structure categories can be quantitatively reflected.
[0039] S23, obtain the standard rock mass integrity coefficient value and standard rock quality index value corresponding to each rock mass structure category determined according to the engineering rock mass classification standard; determine the standard rock mass integrity coefficient value and standard rock quality index value corresponding to each rock mass structure category according to the provisions of the "Engineering Rock Mass Classification Standard".
[0040] S24, For each rock mass structure category, calculate the deviation value of the rock mass integrity coefficient and the deviation value of the rock quality index for that rock mass structure category; That is, the deviation value of rock mass integrity coefficient = the measured average value of rock mass integrity coefficient of this category - the standard value of rock mass integrity coefficient of this category; Rock quality index deviation value = measured average value of rock quality index for this category - standard value of rock quality index for this category.
[0041] S25, calculate the proportion of the number of samples of each rock mass structure category to the total number of samples in the associated dataset, and use it as the weight coefficient of that rock mass structure category; calculate the proportion of the number of samples of each rock mass structure category to the total number of samples in the associated dataset, and use it as the weight coefficient of that category. This weight coefficient reflects the representativeness of each rock mass category in the overall data.
[0042] S26. Multiply the deviation values of the rock mass integrity coefficient for each rock mass structure category by their corresponding weighting coefficients and then sum them to obtain the overall deviation correction coefficient for the rock mass integrity coefficient. Similarly, multiply the deviation values of the rock quality index for each rock mass structure category by their corresponding weighting coefficients and then sum them to obtain the overall deviation correction coefficient for the rock quality index. The overall deviation correction coefficient is a value calculated using the weighted average method, and its physical meaning is the overall average deviation of the test data relative to the standard value. In subsequent correction steps, this value is subtracted from the standardized data to eliminate systematic bias.
[0043] The overall deviation correction coefficient calculated in this embodiment is used to correct the original rock mass integrity coefficient data and the original rock quality index data in the subsequent step S3. This effectively eliminates the inherent bias of a single index and provides accurate and reliable input data for the machine learning model.
[0044] In a preferred embodiment, step S3 includes the following steps: S31, Obtain the original rock mass integrity coefficient data and original rock quality index data of the borehole to be predicted; wherein, the original rock mass integrity coefficient data is obtained from the borehole longitudinal wave velocity test and is calculated and converted by existing mature calculation formulas. This conversion method is a well-known technology in the field and will not be described in detail here.
[0045] S32, perform data cleaning on the original rock mass integrity coefficient data and the original rock quality index data, remove outliers that exceed the preset reasonable range, and fill in the missing values to obtain the cleaned rock mass integrity coefficient data and the cleaned rock quality index data. The rock mass integrity coefficient ranges from 0 to 1 (the rock mass integrity coefficient cannot be less than 0 or greater than 1), and the rock quality index ranges from 0% to 100% (the rock quality index cannot be less than 0% or greater than 100%). Therefore, data points with a rock mass integrity coefficient < 0 or > 1, and data points with a rock quality index < 0% or > 100%, are identified as outliers and removed.
[0046] For data gaps resulting from outlier removal, as well as missing values in the original data, the mean-filling method is used. Specifically, the average of all valid rock mass integrity coefficient data within the same borehole is preferentially used as the filler value for missing rock mass integrity coefficients; if there are insufficient valid data within the same borehole (e.g., fewer than 3 valid data points), the average of all valid rock mass integrity coefficient data under that rock mass structure category is used as the filler value. Similarly, the average of all valid rock quality index data within the same borehole is preferentially used as the filler value for missing rock quality indexes; if there are insufficient valid data within the same borehole, the average of all valid rock quality index data under that rock mass structure category is used as the filler value.
[0047] Imputing missing values ensures the integrity and continuity of the dataset, preventing subsequent processing from being impossible due to missing data, and providing a complete data foundation for standardization and bias correction.
[0048] S33, The cleaned rock mass integrity coefficient data and cleaned rock quality index data are standardized to convert the data into standardized data with a mean of zero and a standard deviation of one, thus obtaining standardized rock mass integrity coefficient data and standardized rock quality index data. Since the rock mass integrity coefficient and rock quality index (unit: %) have different dimensions, directly inputting them into a machine learning model can lead to model training bias. Therefore, the Z-score standardization method is used to standardize the data, converting it into standardized data with a mean of 0 and a standard deviation of 1, thus eliminating the influence of dimensions. This standardization process brings the rock mass integrity coefficient and rock quality index to the same order of magnitude, facilitating the capture of the relationship between them and the quantitative values of rock mass structure.
[0049] S34, the standardized rock mass integrity coefficient data and standardized rock quality index data are corrected using the overall deviation correction coefficient. The overall deviation correction coefficient of the rock mass integrity coefficient is subtracted from the standardized rock mass integrity coefficient data to obtain the corrected rock mass integrity coefficient data; the overall deviation correction coefficient of the rock quality index is subtracted from the standardized rock quality index data to obtain the corrected rock quality index data.
[0050] This application addresses the systematic underestimation of rock mass integrity coefficients and rock quality indicators in dam foundation rock masses by correcting the data through a weighted average method. This effectively eliminates the inherent bias between test data and standard specifications. The corrected data has clear physical meaning and a unified evaluation benchmark, significantly improving the accuracy and engineering applicability of the rock mass structure prediction model, and providing a reliable basis for the scientific evaluation of dam foundation rock mass quality. It is important to note that the systematic bias is not random error, but rather a systematic deviation caused by factors such as on-site geological conditions, drilling techniques, fracture development, groundwater, and weathering. Without correction, this would directly lead to inaccurate rock mass structure grading results and incorrect mapping relationships learned by the prediction model, affecting evaluation accuracy and engineering applicability.
[0051] In a preferred embodiment, the machine learning model in step S4 is obtained through the following steps: S41, Construct a training dataset; wherein, the training dataset includes corrected rock mass integrity coefficient data, corrected rock quality index data, and actual rock mass structure quantification values; Specifically, a training dataset is constructed for model training. This dataset includes three parts: corrected rock mass integrity coefficient data, corrected rock quality index data, and actual rock mass structure quantification values. The corrected rock mass integrity coefficient data reflects the integrity of the rock mass, typically ranging from 0 to 1. The corrected rock quality index data represents the percentage of intact rock cores longer than 10 cm in the rock mass and is an important indicator for evaluating rock mass quality. The actual rock mass structure quantification values are assigned based on the rock mass structure type (e.g., monolithic, massive, layered, fragmented, or loose).
[0052] S42, the training dataset is divided into a training set and a test set; The training dataset is divided into a training set and a test set. The training set is used for model training, and the test set is used for model performance evaluation. The preferred split ratio is 70% for the training set and 30% for the test set. Simultaneously, stratified sampling is employed to ensure that the sample proportions of quantified values for various types of actual rock mass structures in the training and test sets remain consistent with the original training dataset. This prevents any category from having too few samples in the training set, ensuring that the model can learn the characteristics of various rock mass structures, while also making the evaluation results on the test set objective and reliable.
[0053] As a preferred example, in step S42, when dividing the training dataset into a training set and a test set, a stratified sampling method is adopted to ensure that the sample proportion of the actual rock mass structure quantification values corresponding to each rock mass structure category in the training set and the test set is consistent with the sample proportion of the actual rock mass structure quantification values corresponding to each rock mass structure category in the training dataset; wherein, the number of samples in the training set accounts for 70% of the total number of samples in the training dataset, and the number of samples in the test set accounts for 30% of the total number of samples in the training dataset.
[0054] S43, Determine the search space for hyperparameters; wherein, the hyperparameters include maximum tree depth, learning rate, number of weak learners, sample sampling ratio, and feature sampling ratio; maximum tree depth is used to control the complexity of a single decision tree. A smaller depth helps prevent overfitting, while a larger depth can learn more complex patterns. The relationship between rock mass structure and geological parameters may be nonlinear but not extremely complex, and a smaller depth is sufficient to capture the main patterns; the learning rate is used to control the contribution of each tree to the final prediction. A smaller learning rate requires more trees to achieve the same performance, but often results in better generalization ability. A smaller learning rate combined with a larger number of weak learners can achieve better performance. Yes; the number of weak learners determines the model's capacity. More trees make the model more complex, but also increase the risk of overfitting. For rock engineering data, 100-200 trees are usually sufficient to learn the data features. The sample sampling ratio is used to randomly select a certain proportion of samples during the training of each tree, achieving row-level random sampling and increasing model diversity. A value less than 1.0 can introduce randomness and improve generalization ability. The feature sampling ratio is used to randomly select a certain proportion of features during the training of each tree, achieving column-level random sampling. For cases with only two features, a sampling ratio of 0.9 means that both features will be used most of the time, making full use of feature information.
[0055] As a preferred example, the search range for the maximum tree depth is 2 to 4, the search range for the learning rate is 0.05 to 0.2, the search range for the number of weak learners is 100 to 200, the search range for the sample sampling ratio is 0.9 to 1.0, and the search range for the feature sampling ratio is 0.9 to 1.0.
[0056] S44 employs a grid search combined with cross-validation. It traverses all hyperparameter combinations within the search space of the hyperparameters, using the mean absolute error (MAE) as the evaluation metric, and selects the hyperparameter combination that minimizes the MAE as the optimal hyperparameter. Grid search is an exhaustive hyperparameter optimization method. For the five hyperparameters mentioned above, each parameter has 2-3 candidate values, resulting in a total search space of 3×3×2×2×2=72 parameter combinations. Grid search trains the models corresponding to these 72 parameter combinations one by one and evaluates their performance. For each parameter combination, 3-fold cross-validation is used for evaluation. Specifically, the training set is randomly divided into three equal parts. One part is used as the validation set, and the remaining two parts are used as the training set. The model is trained, and the MAE is calculated on the validation set. This process is repeated three times, and the average of the three MAEs is taken as the performance metric for that parameter combination. 3-fold cross-validation makes full use of limited small sample data, ensuring the stability of the validation results while avoiding the problem of insufficient training samples due to too many folds.
[0057] As a preferred example, in step S44, a grid search combined with 3-fold cross-validation is used to traverse each hyperparameter combination in the search space of the hyperparameters. The mean absolute error is used as the evaluation index, and the hyperparameter combination that minimizes the mean absolute error is selected as the optimal hyperparameter. The mean absolute error is less than or equal to 0.3, and the coefficient of determination of the machine learning model on the test set is greater than or equal to 0.7.
[0058] S45, Using the optimal hyperparameters, train the machine learning model on the training set to obtain the trained machine learning model.
[0059] Specifically, the optimal hyperparameters are substituted into the XGBoost model, and the model is trained using all the training data (not just a portion of the data from cross-validation), allowing the model to fully learn the patterns in the training data. After training, the final machine learning model is obtained.
[0060] This implementation method establishes a machine learning model capable of automatically learning the nonlinear mapping relationship between rock mass integrity coefficient and rock quality index and rock mass structure quantification value. The prediction time for a single set of data is ≤1.5 seconds, which greatly improves exploration efficiency. At the same time, the model training process is based on standardized data partitioning and systematic hyperparameter optimization, which eliminates the subjectivity and non-repeatability of human experience, and provides reliable technical support for the standardization, automation and precision partitioning of rock mass structure.
[0061] To comprehensively evaluate the predictive performance of the model, this invention evaluates the model from two dimensions: regression accuracy and classification accuracy.
[0062] (a) Regression performance evaluation: The following indicators are used to evaluate the accuracy of the model's continuous predictions: (1) Mean Absolute Error (MAE): MAE is the average absolute value of the deviation between the predicted value and the actual value. It is required to be ≤0.3. The output results are marked with √ or × to indicate whether the standard is met. MAE intuitively reflects the average prediction error of the model and is easy to understand and accept in rock engineering.
[0063] (2) Mean Squared Error (MSE) MSE is the squared average of the prediction error. It is more sensitive to large errors. Because the error is squared, outliers will be amplified, which can reveal the model's ability to handle extreme cases.
[0064] (3) Root mean square error (RMSE) is an error measure with the same unit as the target variable. It is the most commonly used evaluation indicator in regression tasks. It retains the unit of error, which is convenient for comparison with the original data range.
[0065] (4) Coefficient of determination ( The variance explained by the model accounts for the proportion of the total variance, with a value range of [−∞, 1], and a requirement of ≥0.7. The output results are marked with √ or × to indicate whether the standard is met. =0.7 indicates that the model explains 70% of the data variation. The closer the result is to 1, the better the fit. A negative result indicates that the model is not as good as simply using the mean for prediction. The explanatory power of a model is an important indicator for measuring goodness of fit.
[0066] (ii) Classification performance evaluation: Since the quantitative value of rock mass structure is essentially a discrete classification variable (in this embodiment, complete, relatively complete, relatively broken, broken, and extremely broken are assigned values of 5, 4, 3, 2, and 1 respectively), the continuous predicted values output by the model need to be post-processed: rounding is used and boundary clipping is performed to ensure that the result is within the range of 1-5, thus obtaining the discrete predicted value.
[0067] Based on the discretized predicted values, the following metrics are used to evaluate the model's classification performance: (1) Overall accuracy: The proportion of correctly predicted samples to the total number of samples in the test set, reflecting the overall classification ability of the model.
[0068] (2) Accuracy of each category: For each category of rock mass structure, the prediction accuracy of that category is calculated. This indicator can identify the performance differences of the model on different rock mass structure types, and provide a reliable reference for the key structural types in engineering.
[0069] (III) Feature Importance Analysis The XGBoost model features a feature importance output function, calculating feature importance based on the frequency of feature usage at decision tree split nodes and information gain. After model training, the feature importance values of the corrected rock mass integrity coefficient and the corrected rock quality index can be obtained.
[0070] Feature importance analysis has the following engineering value: identifying key factors affecting rock mass structure classification and verifying engineering geological theories; guiding the optimization of subsequent exploration work: if the rock mass integrity coefficient contributes more, the wave velocity test accuracy can be optimized first; if the rock quality index contributes more, the core sampling process can be optimized; and providing a basis for model optimization.
[0071] Through the aforementioned dual evaluation system and feature importance analysis, the model performance can be comprehensively evaluated, providing a reliable basis for the practical application of the model in engineering.
[0072] In another preferred embodiment, the step S4 is followed by the following steps: Select at least one verification borehole, obtain the corrected rock mass integrity coefficient data and corrected rock quality index data of the verification borehole, and input them into the trained machine learning model to obtain the quantitative prediction value of rock mass structure. In the dam foundation exploration area, at least one verification borehole is selected. This verification borehole should be independent of the boreholes used to construct the associated dataset to ensure the objectivity of the verification results. The corrected rock mass integrity coefficient data and corrected rock quality index data from this verification borehole are obtained and input into the trained machine learning model. The model outputs a quantitative prediction value of the rock mass structure for each depth interval. The quantitative prediction value of the rock mass structure is a continuous value ranging from 1 to 5, reflecting the model's judgment result on the rock mass structure category.
[0073] The predicted value of the rock mass structure is compared with the actual value of the rock mass structure determined by the borehole television imagery and / or exploration tunnel exposure based on the verification borehole; the mean absolute error between the two is calculated; when the mean absolute error exceeds 0.3, the data of the verification borehole is added to the associated dataset, the overall deviation correction coefficient is recalculated, and the machine learning model is retrained.
[0074] Based on the borehole television images and / or exploration tunnel exposure results of the verification borehole, the actual rock mass structure quantification value of each depth interval is determined. The model prediction value is compared with the actual rock mass structure quantification value, and the average absolute error between the two is calculated. When the average absolute error exceeds a preset threshold (such as 0.3), the model iterative optimization is initiated.
[0075] Specifically, it can include the following sub-steps: Data from the verification borehole is added to the constructed associated dataset. This added data includes: the original rock mass integrity coefficient data and original rock quality index data for the verification borehole, as well as the quantitative values of the actual rock mass structure determined based on borehole television imagery and / or exploration tunnel exposure. This data addition increases the sample size of the associated dataset, making the data distribution more comprehensively reflect the engineering geological conditions. Based on the updated associated dataset, step S2 is re-executed to calculate a new overall deviation correction coefficient. Based on the updated associated dataset and the new deviation correction coefficient, step S4 is re-executed to obtain the updated model.
[0076] Figure 2 Clarifying the structural types of the research data forms the basis for subsequent analysis. The sample size distribution corresponds to different quantitative values of rock mass structure (levels 1-5).
[0077] Figure 3 The study revealed the physical correlation between the rock mass integrity coefficient and rock quality index, providing a characteristic basis for the quantification of rock mass structure. It presented the relationship between the rock mass integrity coefficient Kv and the rock quality index RQD, and distinguished them by color according to five rock mass structure types: type 1 for intact rock mass, type 2 for relatively intact rock mass, type 3 for relatively broken rock mass, type 4 for broken rock mass, and type 5 for extremely broken rock mass.
[0078] Figure 4 The accuracy of the prediction model (machine learning model) built based on the above features was verified, completing the entire research chain of data distribution → feature analysis → model validation. This figure compares the actual values (blue) and model prediction values (orange) of the quantified rock mass structure of 16 samples. From Figure 4 As can be seen, the machine learning model in this application performs well overall in predicting the quantified rock mass structure values of most samples. Deviation samples can be used to analyze the sources of model error (such as abnormal sample features, insufficient representativeness of training data, etc.), providing direction for model optimization.
[0079] The present invention also provides a machine learning-based quantitative prediction system for borehole rock mass structure, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the machine learning-based quantitative prediction method for borehole rock mass structure as described above.
[0080] The above are merely preferred embodiments of the present invention and do not limit the scope of protection of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention’s specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A machine learning-based method for quantitative prediction of borehole rock mass structure, characterized in that, Includes the following steps: S1, construct an associated dataset based on the actual rock mass structure; the associated dataset includes multiple data records, each data record is associated with the rock mass integrity coefficient, rock quality index and actual rock mass structure quantification value of the same borehole depth or corresponding exploration area; wherein, the actual rock mass structure quantification value is determined based on the rock mass structure revealed by borehole television images and / or exploration tunnels, the rock mass structure is divided into multiple categories, each category corresponds to a unique quantification value; S2, Based on the associated dataset, calculate the rock mass integrity coefficient and the overall deviation correction coefficient of the rock quality index respectively; S3, obtain the original rock mass integrity coefficient data and the original rock quality index data of the borehole to be predicted, and use the overall deviation correction coefficient to correct the original rock mass integrity coefficient data and the original rock quality index data respectively to obtain the corrected rock mass integrity coefficient data and the corrected rock quality index data. S4, input the corrected rock mass integrity coefficient data and the corrected rock quality index data into the pre-trained machine learning model, and output the quantitative prediction value of rock mass structure; wherein, the machine learning model is trained based on the training dataset, the training dataset includes the corrected data obtained by correcting the rock mass integrity coefficient data and rock quality index data in the associated dataset after being corrected by the overall deviation correction coefficient, and the actual quantitative value of rock mass structure in the associated dataset.
2. The method for quantitative prediction of borehole rock mass structure based on machine learning according to claim 1, characterized in that, Step S1 includes the following steps: Acquire borehole television images with a resolution of not less than 720P. Take one frame of the image every 0.5 meters along the borehole depth direction and record the borehole depth, number of fractures, fracture width and filling material type corresponding to each frame of the image. Collect rock mass structure data exposed by the exploration tunnel, conduct full-section mapping of the exploration tunnel wall, and record the rock mass structure type, fracture development parameters and rock mass weathering degree; The borehole television images are aligned with the rock mass structure data exposed by the exploration tunnel according to depth. The rock mass structure categories reflected in the images within the same depth range are compared with those revealed by the tunnel walls. If the rock mass structure categories reflected by the two are consistent, the quantified value corresponding to that rock mass structure category is determined as the actual rock mass structure quantified value for that depth range. If the rock mass structure categories reflected by the two are inconsistent, a comprehensive judgment is made based on the core data and geological survey report to determine the actual rock mass structure quantified value for that depth range.
3. The machine learning-based quantitative prediction method for borehole rock mass structure according to claim 2, characterized in that, Step S2 includes the following steps: S21, Based on the actual rock mass structure quantification values in the associated dataset, group the rock mass integrity coefficient data and rock quality index data in the associated dataset according to the rock mass structure category; S22, For each rock mass structure category, calculate the average value of all rock mass integrity coefficient data under that rock mass structure category as the measured average value of the rock mass integrity coefficient of that rock mass structure category, and calculate the average value of all rock quality index data under that rock mass structure category as the measured average value of the rock quality index of that rock mass structure category. S23, obtain the standard rock mass integrity coefficient value and standard rock quality index value corresponding to each rock mass structure category determined according to the engineering rock mass classification standard; S24, For each rock mass structure category, calculate the deviation value of the rock mass integrity coefficient and the deviation value of the rock quality index for that rock mass structure category; S25, calculate the proportion of the number of samples for each rock mass structure category to the total number of samples in the associated dataset, and use it as the weight coefficient for that rock mass structure category; S26. Multiply the deviation values of the rock mass integrity coefficient of each rock mass structure category by the corresponding weight coefficient and then sum them to obtain the overall deviation correction coefficient of the rock mass integrity coefficient; multiply the deviation values of the rock quality index of each rock mass structure category by the corresponding weight coefficient and then sum them to obtain the overall deviation correction coefficient of the rock quality index.
4. The method for quantitative prediction of borehole rock mass structure based on machine learning according to claim 1, characterized in that, Step S3 includes the following steps: S31, Obtain the original rock mass integrity coefficient data and original rock quality index data of the borehole to be predicted; S32, perform data cleaning on the original rock mass integrity coefficient data and the original rock quality index data, remove outliers that exceed the preset reasonable range, and fill in the missing values to obtain the cleaned rock mass integrity coefficient data and the cleaned rock quality index data. S33, The cleaned rock mass integrity coefficient data and cleaned rock quality index data are standardized to convert the data into standardized data with a mean of zero and a standard deviation of one, thus obtaining standardized rock mass integrity coefficient data and standardized rock quality index data. S34, the standardized rock mass integrity coefficient data and standardized rock quality index data are corrected using the overall deviation correction coefficient. The overall deviation correction coefficient of the rock mass integrity coefficient is subtracted from the standardized rock mass integrity coefficient data to obtain the corrected rock mass integrity coefficient data; the overall deviation correction coefficient of the rock quality index is subtracted from the standardized rock quality index data to obtain the corrected rock quality index data.
5. The machine learning-based quantitative prediction method for borehole rock mass structure according to claim 4, characterized in that, The machine learning model in step S4 is obtained through the following steps: S41, Construct a training dataset; wherein, the training dataset includes corrected rock mass integrity coefficient data, corrected rock quality index data, and actual rock mass structure quantification values; S42, the training dataset is divided into a training set and a test set; S43, determine the search space for hyperparameters; wherein, the hyperparameters include maximum tree depth, learning rate, number of weak learners, sample sampling ratio, and feature sampling ratio; S44. Using a grid search combined with cross-validation, the hyperparameter combinations are traversed within the search space of the hyperparameters. The mean absolute error is used as the evaluation index, and the hyperparameter combination that minimizes the mean absolute error is selected as the optimal hyperparameter. S45, Using the optimal hyperparameters, train the machine learning model on the training set to obtain the trained machine learning model.
6. The method for quantitative prediction of borehole rock mass structure based on machine learning according to claim 5, characterized in that, In step S42, when dividing the training dataset into a training set and a test set, a stratified sampling method is used to ensure that the sample proportion of the actual rock mass structure quantification values corresponding to each rock mass structure category in the training set and the test set is consistent with the sample proportion of the actual rock mass structure quantification values corresponding to each rock mass structure category in the training dataset; wherein, the number of samples in the training set accounts for 70% of the total number of samples in the training dataset, and the number of samples in the test set accounts for 30% of the total number of samples in the training dataset.
7. The method for quantitative prediction of borehole rock mass structure based on machine learning according to claim 5, characterized in that, In step S44, a grid search combined with 3-fold cross-validation is used to traverse each hyperparameter combination in the search space of the hyperparameters. The mean absolute error is used as the evaluation index, and the hyperparameter combination that minimizes the mean absolute error is selected as the optimal hyperparameter. The mean absolute error is less than or equal to 0.3, and the coefficient of determination of the machine learning model on the test set is greater than or equal to 0.
7.
8. The method for quantitative prediction of borehole rock mass structure based on machine learning according to claim 5, characterized in that, The search range for the maximum tree depth is 2 to 4, the search range for the learning rate is 0.05 to 0.2, the search range for the number of weak learners is 100 to 200, the search range for the sample sampling ratio is 0.9 to 1.0, and the search range for the feature sampling ratio is 0.9 to 1.
0.
9. The method for quantitative prediction of borehole rock mass structure based on machine learning according to claim 1, characterized in that, Following step S4, the following steps are also included: Select at least one verification borehole, obtain the corrected rock mass integrity coefficient data and corrected rock quality index data of the verification borehole, and input them into the trained machine learning model to obtain the quantitative prediction value of rock mass structure. The predicted value of the rock mass structure is compared with the actual value of the rock mass structure determined by the borehole television imagery and / or exploration tunnel exposure based on the verification borehole; the mean absolute error between the two is calculated; when the mean absolute error exceeds 0.3, the data of the verification borehole is added to the associated dataset, the overall deviation correction coefficient is recalculated, and the machine learning model is retrained.
10. A machine learning-based quantitative prediction system for borehole rock mass structure, characterized in that, The method includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the machine learning-based quantitative prediction method for borehole rock mass structure as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Rock mass quality grading method based on machine learning
CN115840921A
Tunnel surrounding rock grading method and system
CN120671257A
Deep learning-based hydraulic diversion tunnel rock mass grade evaluation method and system
CN121120576A
Deep ore rock stability rapid assessment method and system based on RMR classification
CN121256631A
Cited By
Rock mass permeability coefficient reliability evaluation method and system based on multi-source data
CN122217831A
