Carbon dioxide geological storage evaluation method and system based on multi-source data fusion
By calculating the initial sampling weight of the data dimension and the purity change degree of the nodes in the decision tree, the sampling weight of the random forest model is adaptively adjusted, which solves the problem of feature selection of the random forest algorithm and improves the accuracy and accuracy of carbon dioxide geological storage evaluation. model stability.
Patent Information
- Application Number
- CN202410985374.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-07-23
AI Technical Summary
In the process of random sampling of features, the existing random forest algorithm repeatedly selects unimportant data dimensions, causing the model to fail to converge and large errors to occur, resulting in inaccurate carbon dioxide geological storage evaluation results.
By calculating the initial sampling weight of each data dimension and the degree of purity change of the nodes in the decision tree, the important characteristics of each random sampling are determined, the sampling weight is adaptively adjusted, and the training efficiency and accuracy of the decision tree model are improved.
Ensure the diversity of decision trees, improve the accuracy of carbon dioxide geological storage evaluation results, and avoid model convergence problems and errors.
Smart Images

Figure CN118521185B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method and system for evaluating geological storage of carbon dioxide based on multi-source data fusion. Background Art
[0002] In the process of evaluating the safety of geological storage of carbon dioxide, it is usually necessary to conduct multi-source fusion analysis from multi-dimensional data for geological information to ensure that the stored carbon dioxide will not leak, thereby causing harm to the local ecological environment, and to ensure the effectiveness, safety and feasibility of geological storage of carbon dioxide. In the process of evaluating the safety of geological storage of reservoir carbon dioxide based on multi-source data fusion, a random forest model can be constructed to evaluate the safety performance. In the process of node splitting of each decision tree, the existing random forest algorithm randomly selects a part of the data dimensions (features) for evaluation, rather than all the features. However, not all data dimensions in the geological data sample have a high reference value for the safety of geological storage. If these data dimensions are selected multiple times to judge the node splitting during the feature random sampling process, it will cause the model to fail to converge and easily cause large errors, resulting in inaccurate final geological storage evaluation results. Summary of the invention
[0003] The present invention provides a carbon dioxide geological storage evaluation method and system based on multi-source data fusion to solve the problem that in the existing process of feature random sampling, multiple data dimensions are selected to judge node splitting, which will cause the model to fail to converge and easily have large errors, resulting in inaccurate final geological storage evaluation results.
[0004] The carbon dioxide geological storage evaluation method and system based on multi-source data fusion of the present invention adopts the following technical solutions:
[0005] An embodiment of the present invention provides a method for evaluating geological storage of carbon dioxide based on multi-source data fusion, the method comprising the following steps:
[0006] Acquire a geological data sample set; the geological data sample set includes sample vectors corresponding to a number of different regions, and all regions are divided into a number of sealable regions and non-sealable regions;
[0007] Each dimension of the geological data sample set is constructed according to each data in the sample vector corresponding to all regions;
[0008] According to the differences between different dimensions in the geological data sample set and the data differences in the same dimension, the initial sampling weight of each dimension in the geological data sample set is obtained;
[0009] Obtain several decision trees corresponding to the geological data sample set; according to each decision tree, obtain the purity of each node corresponding to each dimension of the geological data sample set in each decision tree; according to the difference between the purity of each node corresponding to each dimension of the geological data sample set in each decision tree, obtain the purity change degree of two sub-nodes corresponding to each node corresponding to each dimension of the geological data sample set in each decision tree;
[0010] According to the purity variation degree of the two sub-nodes corresponding to each node in each decision tree corresponding to each dimension of the geological data sample set and each decision tree, the important features of random sampling in the splitting process of each node corresponding to each dimension of the geological data sample set in each decision tree are obtained;
[0011] According to the initial sampling weight of each dimension in the geological data sample set and the important characteristics of random sampling of each node corresponding to each dimension of the geological data sample set in each decision tree during the splitting process, the sampling weight of each dimension of the geological data sample set in each random sampling process corresponding to each decision tree is obtained;
[0012] According to the sampling weight of each dimension of the geological data sample set in each random sampling process in each decision tree, the random forest model is used to operate on the geological data sample set to obtain the carbon dioxide geological storage evaluation results for each region.
[0013] Preferably, the initial sampling weight of each dimension in the geological data sample set is obtained according to the differences between different dimensions in the geological data sample set and the data differences in the same dimension, and the specific formula included is as follows:
[0014]
[0015] In the formula, Represents the first The initial sampling weights of the dimensions; Represents the first The variance of the data in the sample vector corresponding to all storable areas in the dimension; Represents the first The variance of the data in the sample vector corresponding to all the unsealable areas in the dimension; is a linear normalization function; Represents the geological data sample set Dimensions and geological data sample set Pearson correlation coefficient of the dimensions; Represents the number of dimensions of the geological data sample set; is the absolute value function.
[0016] Preferably, the step of obtaining the purity of each node corresponding to each dimension of the geological data sample set in each decision tree according to each decision tree includes the following specific steps:
[0017] Each decision tree corresponds to several random sampling processes, each random sampling process corresponds to a dimension of the geological data sample set, each decision tree contains several nodes, each node corresponds to a dimension of the geological data sample set, each node corresponds to several sample vectors, each node corresponds to two sub-nodes, and the sub-nodes are selected from all nodes;
[0018] According to the geological data sample set The dimension in The corresponding decision tree The number of sealable areas and the number of non-sealable areas in the regions corresponding to all sample vectors corresponding to the nodes are obtained. The dimension in The corresponding decision tree The purity of the nodes.
[0019] Preferably, the geological data sample set The dimension in The corresponding decision tree The specific calculation formula for the purity of a node is as follows:
[0020]
[0021] In the formula, Represents the first The dimension in The corresponding decision tree The purity of each node; Represents the geological data sample set The dimension in The corresponding decision tree The number of sealable areas in the areas corresponding to all sample vectors corresponding to the nodes; Represents the first The dimension in The corresponding decision tree The number of unsealable areas in the areas corresponding to all sample vectors corresponding to the nodes; Represents the first The dimension in The corresponding decision tree The number of all sample vectors in a node.
[0022] Preferably, the purity variation degree of two sub-nodes corresponding to each node corresponding to each dimension of the geological data sample set in each decision tree is obtained according to the difference between the purities of each node corresponding to each dimension of the geological data sample set in each decision tree, and the specific formula included is as follows:
[0023]
[0024] In the formula, Represents the first The dimension in The corresponding decision tree The degree of purity change of the two child nodes corresponding to a node; Represents the first The dimension in The corresponding decision tree The purity of each node; Represents the first The dimension in The corresponding decision tree The node corresponding to The purity of the child nodes; is a linear normalization function.
[0025] Preferably, the purity change degree of two sub-nodes corresponding to each node corresponding to each dimension of the geological data sample set in each decision tree and each decision tree are used to obtain important features of random sampling of each node corresponding to each dimension of the geological data sample set in each decision tree during the splitting process, including the specific calculation method as follows:
[0026] Will , as well as The product of The dimension in The corresponding decision tree The important feature of random sampling of nodes during the splitting process; Represents the first The dimension in The corresponding decision tree The degree of purity change of the two child nodes corresponding to a node; Represents the first The dimension in The corresponding decision tree The node corresponding to All sample vectors corresponding to the nodes and The full link result value between all sample vectors corresponding to the child nodes; Represents the first The dimension in The corresponding decision tree The characteristic value of the difference between the number of sealable areas and the number of non-sealable areas in the areas corresponding to all sample vectors corresponding to the child nodes corresponding to the node.
[0027] Preferably, the specific calculation method of the characteristic value is as follows:
[0028] calculate and The sum of The ratio of The dimension in The corresponding decision tree The characteristic value of the difference between the number of sealable areas and the number of non-sealable areas in the areas corresponding to all sample vectors corresponding to the child nodes corresponding to the nodes; Represents the first The dimension in The corresponding decision tree The number of sample vectors corresponding to each node; Represents the first The dimension in The corresponding decision tree The node corresponding to The absolute value of the difference between the number of sealable areas and the number of non-sealable areas in the areas corresponding to all sample vectors corresponding to the child nodes; Represents the first The dimension in The corresponding decision tree The node corresponding to The absolute value of the difference between the number of sealable areas and the number of non-sealable areas in the areas corresponding to all sample vectors corresponding to the child nodes.
[0029] Preferably, the method of obtaining the sampling weight of each dimension of the geological data sample set in each random sampling process corresponding to each decision tree in each decision tree according to the initial sampling weight of each dimension in the geological data sample set and the important features of random sampling in the splitting process of each node corresponding to each dimension of the geological data sample set in each decision tree comprises the following specific steps:
[0030] According to the geological data sample set The dimension in The number of random sampling processes in the decision tree and the number of geological data sample sets The dimension in The important features of each node in the decision tree are randomly sampled during the splitting process to obtain the first The dimension in Splitting features in decision trees;
[0031] According to the geological data sample set The dimension in The splitting features in the decision tree and the first The initial sampling weights of the dimensions are obtained to obtain the first The dimension in The sampling weights in each random sampling process in the decision tree.
[0032] Preferably, the first The dimension in The splitting features in the decision tree and the first The initial sampling weights of the dimensions are obtained to obtain the first The dimension in The sampling weights in each random sampling process corresponding to a decision tree include the following specific formulas:
[0033]
[0034] In the formula, Represents the first The dimension in The sampling weights in each random sampling process corresponding to the decision tree; Represents the first The initial sampling weights of the dimensions; Represents the first The dimension in The number of random sampling processes corresponding to a decision tree; Indicates that the geological data sample set is in The number of random sampling processes in a decision tree; Represents the first The dimension in The corresponding decision tree An important feature of random sampling of nodes during the splitting process; The first The dimension in The number of corresponding nodes in the decision tree, Represents the first The dimension in Splitting feature in a decision tree.
[0035] The present invention also proposes a carbon dioxide geological storage evaluation system based on multi-source data fusion, including a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor executes the computer program stored in the memory to implement the steps of the aforementioned carbon dioxide geological storage evaluation method based on multi-source data fusion.
[0036] The beneficial effect of the technical solution of the present invention is: according to the purity change degree of two sub-nodes corresponding to each node corresponding to each dimension of the geological data sample set in each decision tree and each decision tree, the important characteristics of random sampling of each node corresponding to each dimension of the geological data sample set in each decision tree during the splitting process are obtained. By comparing the purity change degree of the data dimension of the geological data sample set during the random sampling process and the full link result value between all sample vectors corresponding to the sub-nodes corresponding to the corresponding node in the decision tree, the diversity of the decision tree can be ensured while improving the training efficiency of the decision tree model and the accuracy of the final random forest model. According to the initial sampling weight of each dimension in the geological data sample set and the important characteristics of random sampling of each node corresponding to each dimension of the geological data sample set in each decision tree during the splitting process, the sampling weight of each dimension of the geological data sample set during the random sampling process is obtained. Thereby, the adaptive adjustment of the random sampling weight of each data dimension in the geological sample set is realized, the selection probability of the important dimension in the process of node splitting results is improved, not only the diversity of the decision tree model is ensured, but also the accuracy of the evaluation results of carbon dioxide geological storage is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0038] Figure 1 The present invention is a flowchart of the steps of the carbon dioxide geological storage evaluation method based on multi-source data fusion. DETAILED DESCRIPTION
[0039] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the carbon dioxide geological storage evaluation method and system based on multi-source data fusion proposed by the present invention, its specific implementation method, structure, characteristics and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0040] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0041] The specific scheme of the carbon dioxide geological storage evaluation method based on multi-source data fusion provided by the present invention is described in detail below with reference to the accompanying drawings.
[0042] See also Figure 1 , which shows a flowchart of a method for evaluating geological storage of carbon dioxide based on multi-source data fusion provided by an embodiment of the present invention, the method comprising the following steps:
[0043] Step S001: Acquire a geological data sample set; the geological data sample set contains sample vectors corresponding to a number of different regions, and all regions are divided into a number of sealable regions and non-sealable regions.
[0044] According to the sample vectors corresponding to all regions data, which constitutes the first dimensions, thus obtaining all dimensions of the geological data sample set.
[0045] It should be noted that this embodiment uses a database search method to obtain a geological data sample set, and the data samples include reservoir porosity, permeability, mineral composition of rocks, density, compressive strength, etc. The collected geological data samples are cleaned, and the cleaned data belongs to the geological data samples of a region to construct a sample vector, and finally the sample vectors corresponding to all regions constitute the geological data sample set. The geological data sample set is divided into a training set and a test set by stratified sampling, wherein the training set and the test set each occupy half of the total number of samples, and there are no repeated samples in the two sample sets. The sample vector is labeled according to the prior knowledge of each geological data sample, that is, when the area corresponding to the geological sample can be geologically sealed, the label value is recorded as 1 to indicate a sealable area, otherwise the label value is recorded as 0 to indicate an unsealable area, and this is described as an example. Among them, the database search method, data cleaning and stratified sampling are all well-known technologies, and the specific methods are not introduced here.
[0046] Example of sample vector:
[0047] For example: It is known that the reservoir porosity is 20%, the reservoir permeability is 100mD, and the rock density is , then a geological data sample vector is [0.2, 100, 2], and the corresponding area of the sample vector cannot be geologically sealed, that is, the label value is recorded as 0.
[0048] Step S002: According to the differences between different dimensions in the geological data sample set and the data differences in the same dimension, the initial sampling weight of each dimension in the geological data sample set is obtained.
[0049] The sampling probability of the geological data sample set is closely related to its contribution in the classification evaluation process, that is, the greater the contribution of a data dimension in the decision tree classification learning process, the greater its corresponding sampling probability. First, the initial sampling probability of the sample is set according to the prior knowledge (vector label) of each sample vector, and the geological data sample set in the training set is first classified by using the similarities and differences of the label values, and the sample vectors in the two categories are analyzed respectively. When a data dimension of different samples in a category has a very high similarity, it means that the feature corresponding to the data dimension may belong to one of the features of the category. At the same time, the similarity of the data dimension in another category is low, then the data dimension is more important for distinguishing the two categories.
[0050] It should be noted that there are certain relationships between geological data of different dimensions. If the correlation between a data dimension and other data dimensions is stronger, that is, the change in the value of this data dimension will have a greater impact on the values of other data dimensions, it means that the data dimension is more important in the process of geological analysis. In the process of building a decision tree, the sampling weight of this data dimension should be increased. The initial weight of each geological data dimension is set as the preset first constant , the initial weights are modified according to the geological data dimensions, the important features that distinguish the two categories, and the relationship between the geological data dimensions.
[0051] The geological data set The calculation method of the initial sampling weights of the dimensions is as follows:
[0052]
[0053] In the formula, Represents the first The initial sampling weights of the dimensions; Represents the first The variance of the data in the sample vector corresponding to all storable areas in the dimension; Represents the first The variance of the data in the sample vector corresponding to all non-sealable areas in the dimension. is a linear normalization function; Represents the geological data sample set Dimensions and geological data sample set Pearson correlation coefficient of the dimensions; Represents the number of dimensions of the geological data sample set; is the absolute value function.
[0054] What needs to be explained is that Indicates that the geological data sample set is in The variance difference of the corresponding regional data in two categories under the dimension, the greater the difference, the greater the weight; The closer the value is to When The higher the correlation between a dimension and other dimensions, the higher the correlation between a dimension and other dimensions. Set the normalized value range to Among them, the Pearson correlation coefficient is a well-known technology, and the specific method is not introduced here. When the denominator in the formula is 0, the denominator is set to 1, and this example is used for description to ensure that the formula is valid.
[0055] At this point, the initial sampling weights for each dimension in the geological data sample set are obtained.
[0056] Step S003: Obtain several decision trees corresponding to the geological data sample set; according to each decision tree, obtain the purity of each node corresponding to each dimension of the geological data sample set in each decision tree; according to the difference between the purity of each node corresponding to each dimension of the geological data sample set in each decision tree, obtain the degree of purity change of two sub-nodes corresponding to each node corresponding to each dimension of the geological data sample set in each decision tree.
[0057] It should be noted that in the process of analyzing the splitting effect of the decision tree node, in order to more clearly understand the splitting effect of the dimension combination in the geological data sample set obtained by random sampling, only one random sampling of the geological data dimension combination is performed for the nodes at the same level, and then the nodes are split according to the random sampling results. Therefore, the splitting effect of this group of geological data dimensions can be determined by analyzing the splitting effects of different nodes in the same level. The splitting effect of the node is analyzed according to the data dimension obtained by random sampling. If the node splitting effect is better, it means that these data dimensions obtained by this random sampling may have a better splitting effect on sample differentiation, and the sampling weight corresponding to the data dimension is higher.
[0058] It should be further explained that the splitting error value of the current geological data dimension combination is obtained based on the known decision tree node splitting results. When the error in the splitting process is larger, the important characteristics of the geological data dimension group are relatively reduced. For two child nodes, if the difference in the geological data dimensions contained in the child nodes is smaller, it means that the splitting effect of the node is worse, which can also indicate that the splitting error of the data dimension group is large. Analyze the node purity changes between the child nodes. If the purity of the two child nodes is reduced relative to the purity of the node, it means that the splitting error of the current data dimension group is large. The sampling weight of the geological data sample set is adaptively adjusted according to the corresponding data dimension group splitting ability during the decision tree node splitting process.
[0059] The random forest model is used to operate on the geological data sample set to obtain several decision trees. Each decision tree corresponds to several random sampling processes, each random sampling process corresponds to a dimension of the geological data sample set, each decision tree contains several nodes, each node corresponds to a dimension of the geological data sample set, each node corresponds to several sample vectors, each node corresponds to two sub-nodes, and the sub-nodes are selected from all nodes.
[0060] It should be noted that the random forest model is a well-known technology. The random forest model is an integrated learning method for classification and regression tasks. It is built based on a decision tree, and improves prediction accuracy by building multiple decision trees and integrating their results. The leaf nodes in the decision tree represent the final output results. They are not analyzed in this embodiment. Other non-leaf nodes have a relationship between nodes and child nodes. Since the decision tree is a binary tree, that is, each node is split into two child nodes according to the decision rule. This example is used for narration. At this time, the node is the parent node, and its decision rule is a test condition based on the input feature, which is used to split the data into two subsets. The input feature of this decision rule reflects the dimension of the geological data sample set selected by the random sampling process.
[0061] First Take the decision tree as an example, then the first The dimension in The corresponding decision tree The purity of a node is calculated as follows:
[0062]
[0063] In the formula, Represents the first The dimension in The corresponding decision tree The purity of each node; Represents the geological data sample set The dimension in The corresponding decision tree The number of sealable areas in the areas corresponding to all sample vectors corresponding to the nodes; Represents the first The dimension in The corresponding decision tree The number of unsealable areas in the areas corresponding to all sample vectors corresponding to the nodes; Represents the first The dimension in The corresponding decision tree The number of all sample vectors in a node.
[0064] What needs to be explained is that Represents the first The dimension corresponds to the The purity of a node is in the range of ; and The larger the two values are, the lower the purity of the node. When the denominator in the formula is 0, set the denominator to 1 and use this as an example to ensure that the formula is valid.
[0065] According to the above method, we can get the first The dimension in The purity of each node in the decision tree.
[0066] The geological data set The dimension in The calculation method for the purity change degree of the two corresponding child nodes in a decision tree is as follows:
[0067]
[0068] In the formula, Represents the first The dimension in The corresponding decision tree The degree of purity change of the two child nodes corresponding to a node; Represents the first The dimension in The corresponding decision tree The purity of each node; Represents the first The dimension in The corresponding decision tree The node corresponding to The purity of the child nodes; is a linear normalization function.
[0069] What needs to be explained is that Represents the first The dimension in The corresponding decision tree The node corresponding to The subnodes and the first The dimension in The corresponding decision tree When the denominator in the formula is 0, set the denominator to 1 and use this as an example to ensure that the formula is valid.
[0070] According to the above method, the purity variation degree of the two sub-nodes corresponding to each node in each decision tree of each dimension of the geological data sample set is obtained.
[0071] Step S004: According to the degree of purity change of the two sub-nodes corresponding to each node corresponding to each dimension of the geological data sample set in each decision tree and each decision tree, obtain the important features of random sampling of each node corresponding to each dimension of the geological data sample set in each decision tree during the splitting process.
[0072] The geological data set The dimension in The first decision tree The calculation method of the important features randomly sampled by each node during the splitting process is as follows:
[0073]
[0074] In the formula, Represents the first The dimension in The corresponding decision tree An important feature of random sampling of nodes during the splitting process; Represents the first The dimension in The corresponding decision tree The degree of purity change of the two child nodes corresponding to a node; Represents the first The dimension in The corresponding decision tree The node corresponding to All sample vectors corresponding to the nodes and The full link result value between all sample vectors corresponding to the child nodes; Represents the first The dimension in The corresponding decision tree The characteristic value of the difference between the number of sealable areas and the number of non-sealable areas in the areas corresponding to all sample vectors corresponding to the child nodes corresponding to the node.
[0075] It should be noted that: all sample vectors corresponding to each child node constitute a vector set, and calculating the full link result value between two vector sets is a known calculation.
[0076] The specific calculation formula of the above eigenvalues is as follows:
[0077]
[0078] In the formula, Represents the first The dimension in The corresponding decision tree The characteristic value of the difference between the number of sealable areas and the number of non-sealable areas in the areas corresponding to all sample vectors corresponding to the child nodes corresponding to the node; Represents the first The dimension in The corresponding decision tree The number of sample vectors corresponding to each node; Represents the first The dimension in The corresponding decision tree The node corresponding to The absolute value of the difference between the number of sealable areas and the number of non-sealable areas in the areas corresponding to all sample vectors corresponding to the child nodes; Represents the first The dimension in The corresponding decision tree The node corresponding to The absolute value of the difference between the number of sealable areas and the number of non-sealable areas in the areas corresponding to all sample vectors corresponding to the child nodes.
[0079] It should be noted that all sample vectors corresponding to each child node constitute a vector set, and the calculation of the full link result between two vector sets is a known calculation. When the denominator in the formula is 0, set the denominator to 1, and use this as an example to ensure that the formula is valid.
[0080] What needs to be explained is that Represents the first The dimension in The corresponding decision tree The node corresponding to The difference between the number of sealable areas and the number of non-sealable areas in the areas corresponding to all sample vectors corresponding to the child nodes; Represents the first The dimension in The corresponding decision tree The node corresponding to The difference between the number of sealable areas and the number of non-sealable areas in the areas corresponding to all sample vectors corresponding to the child nodes; the smaller the difference, the larger the important eigenvalue randomly sampled by the node during the splitting process, and the worse the splitting ability. represents the first The dimension in The corresponding decision tree The node corresponding to All sample vectors corresponding to the nodes and The full link result value between all sample vectors corresponding to the child nodes is larger, and the The dimension in The corresponding decision tree The larger the important features randomly sampled by each node during the splitting process.
[0081] It should be further explained that the better the node splitting effect of the data dimension combination obtained through random sampling is, the higher the sampling weight these data dimensions will obtain in the process of dimension sampling weight correction in the next level. At the same time, attention should also be paid to the stability of the data dimension during the iteration process, that is, in the process of random sampling of data dimensions, some data dimensions will definitely be repeatedly extracted, and due to the continuous change of its data dimension combination, the corresponding splitting ability of the data dimension will continue to change. If there is a data dimension that is drawn in multiple random samplings, and the data dimension combination of this data dimension has a good effect on node splitting, it means that the data dimension has a high stability in the process of decision tree node splitting, then the sampling weight of this data dimension should be increased, otherwise the sampling weight of this data dimension should be reduced. In particular, if the data sample has not been drawn, its sampling weight has always been the initial sampling weight, that is, the initial sampling weight is .
[0082] So far, the important characteristics of random sampling of each node corresponding to each dimension of the geological data sample set in each decision tree during the splitting process have been obtained.
[0083] Step S005: According to the initial sampling weight of each dimension in the geological data sample set and the important features of random sampling of each node corresponding to each dimension of the geological data sample set in each decision tree during the splitting process, the sampling weight of each dimension of the geological data sample set in each random sampling process corresponding to each decision tree is obtained.
[0084] It should be noted that the sampling weight of each data dimension is adapted before randomly sampling the data dimensions of the geological data sample set.
[0085] The geological data set The dimension in The calculation method of the sampling weight in each random sampling process corresponding to a decision tree is as follows:
[0086]
[0087] In the formula, Represents the first The dimension in The sampling weights in each random sampling process corresponding to the decision tree; Represents the first The initial sampling weights of the dimensions; Represents the first The dimension in The number of random sampling processes corresponding to a decision tree; Indicates that the geological data sample set is in The number of random sampling processes in a decision tree; Represents the first The dimension in The corresponding decision tree An important feature of random sampling of nodes during the splitting process; The first The dimension in The number of corresponding nodes in the decision tree. Represents the first The dimension in Splitting feature in a decision tree.
[0088] What needs to be explained is that when the denominator in the formula is 0, set the denominator to 1 and use this as an example to ensure that the formula is valid.
[0089] At this point, the sampling weights of each dimension of the geological data sample set in each random sampling process corresponding to each decision tree are obtained.
[0090] Repeat the above steps to complete the node splitting of the decision tree model and the adaptation of the sampling weights of the geological data sample set, and complete the training of the current decision tree model.
[0091] Step S006: According to the sampling weights of each dimension of the geological data sample set in each random sampling process corresponding to each decision tree, the geological data sample set is operated using a random forest model to obtain the carbon dioxide geological storage evaluation results for each region.
[0092] What needs to be explained is that the validation set prepared in advance is input into the random forest model, and the LOSS function of the current model, that is, the prediction accuracy of the current model, is calculated according to the prior knowledge of each sample in the validation set and the prediction evaluation results obtained by the random forest model. The random forest model is verified according to the existing logarithmic loss (Log Loss) function model. When the output value of the logarithmic loss function of the random forest model is greater than the preset threshold, it is considered that there are decision trees with poor performance or the number of trees in the current random forest model is small. The number of decision tree models is added and verified again until the requirements of the random forest model are met. The preset threshold value of this embodiment is 0.5, which is described as an example. It can be set to other values in other implementations, and this embodiment is not limited.
[0093] The candidate geological data of carbon dioxide geological storage selected are input into the random forest model to obtain the storable areas and non-storable areas. The carbon dioxide geological storage evaluation results of each area are evaluated as a storable area or a non-storable area according to the storable areas and non-storable areas.
[0094] An embodiment of the present invention also provides a carbon dioxide geological storage evaluation system based on multi-source data fusion, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above steps S001 to S006 when executing the computer program.
[0095] At this point, this embodiment is completed.
[0096] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for evaluating carbon dioxide geological storage based on multi-source data fusion, characterized in that: The method comprises the following steps: Acquire a geological data sample set; the geological data sample set includes sample vectors corresponding to a number of different regions, and all regions are divided into a number of sealable regions and non-sealable regions; Each dimension of the geological data sample set is constructed according to each data in the sample vector corresponding to all regions; According to the differences between different dimensions in the geological data sample set and the data differences in the same dimension, the initial sampling weight of each dimension in the geological data sample set is obtained; Obtain several decision trees corresponding to the geological data sample set; according to each decision tree, obtain the purity of each node corresponding to each dimension of the geological data sample set in each decision tree; according to the difference between the purity of each node corresponding to each dimension of the geological data sample set in each decision tree, obtain the purity change degree of two sub-nodes corresponding to each node corresponding to each dimension of the geological data sample set in each decision tree; According to the purity variation degree of the two sub-nodes corresponding to each node in each decision tree corresponding to each dimension of the geological data sample set and each decision tree, the important features of random sampling in the splitting process of each node corresponding to each dimension of the geological data sample set in each decision tree are obtained; According to the initial sampling weight of each dimension in the geological data sample set and the important characteristics of random sampling of each node corresponding to each dimension of the geological data sample set in each decision tree during the splitting process, the sampling weight of each dimension of the geological data sample set in each random sampling process corresponding to each decision tree is obtained; According to the sampling weight of each dimension of the geological data sample set in each random sampling process corresponding to each decision tree, the random forest model is used to operate the geological data sample set to obtain the evaluation results of carbon dioxide geological storage in each region; According to the differences between different dimensions in the geological data sample set and the data differences in the same dimension, the initial sampling weight of each dimension in the geological data sample set is obtained, and the specific formula included is as follows: In the formula, Represents the first The initial sampling weights of the dimensions; Represents the first The variance of the data in the sample vector corresponding to all storable areas in the dimension; Represents the first The variance of the data in the sample vector corresponding to all the unsealable areas in the dimension; is a linear normalization function; Represents the geological data sample set Dimensions and geological data sample set Pearson correlation coefficient of the dimensions; Represents the number of dimensions of the geological data sample set; is the absolute value function; The step of obtaining the purity of each node corresponding to each dimension of the geological data sample set in each decision tree according to each decision tree includes the following specific steps: Each decision tree corresponds to several random sampling processes, each random sampling process corresponds to a dimension of the geological data sample set, each decision tree contains several nodes, each node corresponds to a dimension of the geological data sample set, each node corresponds to several sample vectors, each node corresponds to two sub-nodes, and the sub-nodes are selected from all nodes; According to the geological data sample set The dimension in The corresponding decision tree The number of sealable areas and the number of non-sealable areas in the regions corresponding to all sample vectors corresponding to the nodes are obtained. The dimension in The corresponding decision tree The purity of each node; The geological data sample set The dimension in The corresponding decision tree The specific calculation formula for the purity of a node is as follows: In the formula, Represents the first The dimension in The corresponding decision tree The purity of each node; Represents the geological data sample set The dimension in The corresponding decision tree The number of sealable areas in the areas corresponding to all sample vectors corresponding to the nodes; Represents the first The dimension in The corresponding decision tree The number of unsealable areas in the areas corresponding to all sample vectors corresponding to the nodes; Represents the first The dimension in The corresponding decision tree The number of all sample vectors in a node; According to the difference between the purity of each node corresponding to each dimension of the geological data sample set in each decision tree, the purity change degree of two sub-nodes corresponding to each node corresponding to each dimension of the geological data sample set in each decision tree is obtained, and the specific formula included is as follows: In the formula, Represents the first The dimension in The corresponding decision tree The degree of purity change of the two child nodes corresponding to a node; Represents the first The dimension in The corresponding decision tree The purity of each node; Represents the first The dimension in The corresponding decision tree The node corresponding to The purity of the child nodes; is a linear normalization function; According to the purity change degree of two sub-nodes corresponding to each node in each decision tree corresponding to each dimension of the geological data sample set and each decision tree, the important features of random sampling of each node in each decision tree corresponding to each dimension of the geological data sample set in the splitting process are obtained, including the specific calculation method as follows: Will , as well as The product of The dimension in The corresponding decision tree The important feature of random sampling of nodes during the splitting process; Represents the first The dimension in The corresponding decision tree The degree of purity change of the two child nodes corresponding to a node; Represents the first The dimension in The corresponding decision tree The node corresponding to All sample vectors corresponding to the nodes and The full link result value between all sample vectors corresponding to the child nodes; Represents the first The dimension in The corresponding decision tree The characteristic value of the difference between the number of sealable areas and the number of non-sealable areas in the areas corresponding to all sample vectors corresponding to the child nodes corresponding to the node.
2. The method for evaluating carbon dioxide geological storage based on multi-source data fusion according to claim 1, characterized in that: The specific calculation method of the characteristic value is as follows: calculate and The sum of The ratio of The dimension in The corresponding decision tree The characteristic value of the difference between the number of sealable areas and the number of non-sealable areas in the areas corresponding to all sample vectors corresponding to the child nodes corresponding to the node; in Represents the first The dimension in The corresponding decision tree The number of sample vectors corresponding to each node; Represents the first The dimension in The corresponding decision tree The node corresponding to The absolute value of the difference between the number of sealable areas and the number of non-sealable areas in the areas corresponding to all sample vectors corresponding to the child nodes; Represents the first The dimension in The corresponding decision tree The node corresponding to The absolute value of the difference between the number of sealable areas and the number of non-sealable areas in the areas corresponding to all sample vectors corresponding to the child nodes.
3. The method for evaluating carbon dioxide geological storage based on multi-source data fusion according to claim 1, characterized in that: The sampling weight of each dimension of the geological data sample set in each random sampling process corresponding to each decision tree is obtained according to the initial sampling weight of each dimension in the geological data sample set and the important characteristics of random sampling of each node corresponding to each dimension of the geological data sample set in each decision tree during the splitting process, including the following specific steps: According to the geological data sample set The dimension in The number of random sampling processes in the decision tree and the number of geological data sample sets The dimension in The important features of each node in the decision tree are randomly sampled during the splitting process to obtain the first The dimension in Splitting features in decision trees; According to the geological data sample set The dimension in The splitting features in the decision tree and the first The initial sampling weights of the dimensions are obtained to obtain the first The dimension in The sampling weights in each random sampling process in the decision tree.
4. The method for evaluating carbon dioxide geological storage based on multi-source data fusion according to claim 3 is characterized in that: The geological data sample set is The dimension in The splitting features in the decision tree and the first The initial sampling weights of the dimensions are obtained to obtain the first The dimension in The sampling weights in each random sampling process corresponding to a decision tree include the following specific formulas: In the formula, Represents the first The dimension in The sampling weights in each random sampling process corresponding to the decision tree; Represents the first The initial sampling weights of the dimensions; Represents the first The dimension in The number of random sampling processes corresponding to a decision tree; Indicates that the geological data sample set is in The number of random sampling processes in a decision tree; Represents the first The dimension in The corresponding decision tree An important feature of random sampling of nodes during the splitting process; The first The dimension in The number of corresponding nodes in the decision tree, Represents the first The dimension in Splitting feature in a decision tree.
5. A carbon dioxide geological storage evaluation system based on multi-source data fusion, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the computer program is executed by a processor, the steps of the carbon dioxide geological storage evaluation method based on multi-source data fusion as described in any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Random forest model construction method and device, electronic equipment and storage medium
CN110705683A
Parameter optimization method for CO2 mineralized mine solid waste material
CN114492203A
Data recommendation model generation method and device and computer equipment
CN115659177A
Method, system and equipment for improving gas reservoir recovery efficiency and sealing storage of CO2 and storage medium
CN116641688A
