A Gaussian process regression tree classifier method for multivariate alloy abnormal data recognition

Through the Gaussian process regression tree classifier method, the global Gaussian disorder factor and cross-validation technology are used to gradually optimize the data set, solve the abnormal data identification problem in the multivariate mixed Gaussian distribution data set, and achieve effective processing and processing of small sample data sets. The identification of data association patterns reduces the difficulty of fitting machine learning models.

CN115017977BInactive Publication Date: 2024-09-20SHANGHAI UNIV +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210529720.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-16
Publication Date
2024-09-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing technologies are difficult to effectively identify and segment abnormal data in multivariate mixed Gaussian distribution data sets, making it difficult to fit machine learning models. Especially in small sample data sets and sparse data sets, it is difficult to utilize the correlation patterns between data.

Method used

Using the Gaussian process regression tree classifier method, through the expectation reduction of the global Gaussian disorder factor and leave-one-out cross-validation, data are gradually added to achieve the convergence standard of the goodness of fit, and the Pearson correlation coefficient R is used to optimize the data set to form an enhanced Data correlation and segmented data subsets.

Benefits of technology

It achieves effective preprocessing of multivariate Gaussian distribution data sets, makes full use of label information, identifies abnormal data in small data sets, reduces the difficulty of fitting machine learning models, and describes the diversity of data on different data sets to achieve Divide and conquer effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115017977B
    Figure CN115017977B
Patent Text Reader

Abstract

The present invention discloses a Gaussian process regression tree classifier multivariate alloy abnormal data identification method: Gaussian process regression tree classifier abnormal data identification method (English name: Tree-Classifier for Gaussian-Process-Regression, abbreviated as: TCGPR). This method is based on the assumption of random process, and defines the global Gaussian messy factor (Global Gaussian Messy Factor, GGMF) of the data set according to the Gaussian correlation between the data in the set. By maximizing the expected reduction value of the global Gaussian messy factor, the initial data set is continuously expanded until the goodness of fit of the data set is saturated. This method is established based on the Stump-Tree model, and the input data set is segmented by dynamically expanding the initial data set. This method can be used, for example, to detect abnormal data of alloy performance tests, and other machine learning tasks for abnormal data identification and segmentation. The present invention is a supervised data preprocessing method based on global correlation, and the feasibility of this method for discovering and strengthening the association between data is confirmed in relevant data evaluation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data preprocessing in machine learning algorithms, and in particular to a method for identifying abnormal data of multivariate alloys using a Gaussian process regression tree classifier. Background Art

[0002] More and more data is collected and stored in databases, which increases the need for effective analysis methods to efficiently mine information from data. Different data sources, data testing standards, and data recording standards will affect the consistency and stability of data sets, making it impossible to directly conduct machine learning, or the learning results are unsatisfactory. In order to improve the quality and efficiency of data mining, data preprocessing methods such as abnormal data identification and data pattern mining have greatly improved the quality of data and reduced the difficulty of machine learning.

[0003] Most data preprocessing methods are unsupervised, such as statistical analysis, abnormal data identification and other methods, which select effective features of data and separate large noise outlier data based on the distribution of data in feature space. The Gaussian process regression tree classifier method is a supervised data preprocessing method based on the assumption of random process. In the framework of multivariate mixed Gaussian distribution, the data set is segmented by the Gaussian correlation between data. In data evaluation, it is confirmed that this method can efficiently distinguish the differences in correlation between data, thereby improving the overall fitting accuracy of data and reducing the difficulty of data mining in machine learning. This method makes full use of the effective label information of the data and can be used in common data preprocessing tasks such as data anomaly identification and data association pattern recognition. Summary of the invention

[0004] Purpose of the invention: The technical problem to be solved by the present invention is: to use the Gaussian correlation between data to identify the difference in the correlation pattern between data, divide the data set to strengthen the data regularity, and thus mine more effective information from the data. It can be used to identify abnormal data in small data sets with large noise and small sample sizes, which are difficult to learn, and reduce the difficulty of fitting machine learning models. It can also be used to divide sparse data sets, strengthen the data association within the class, and facilitate the use of different distribution forms to describe data on different data sets, so as to achieve the purpose of divide and conquer.

[0005] Technical solution: The present invention adopts the following technical solution to solve the above technical problems: a Gaussian process regression tree classifier multivariate alloy abnormal data identification method, the method comprising the following steps:

[0006] Step 1: Collect the mechanical properties test data set of multi-element alloys;

[0007] Step 2: By comparing the expected reduction of the global Gaussian disorder factor, an optimal initial data set is divided from the original data, and the Pearson correlation coefficient R of the leave-one-out cross-validation result of the initial data set is calculated and stored;

[0008] Step 3: By comparing the expected reduction of the global Gaussian disorder factor, the remaining data are added to the initial data set in a fixed number in sequence, and the Pearson correlation coefficient R of the leave-one-out cross-validation result of the new data set is calculated and stored;

[0009] Step 4: Each time data is added to form a new data set, determine whether the goodness of fit of the new data set has reached the convergence standard of accuracy. If it has reached the convergence standard, stop and output the current expanded data set; otherwise, continue to add data to the data set until the convergence standard of accuracy is reached, where the Pearson correlation coefficient R of the leave-one-out cross-validation result is used as the goodness of fit.

[0010] Furthermore, the specific method of step 1 is as follows: collect a data set of mechanical property test of high entropy alloy; mark the total number of collected original data as n, where each data includes the composition of the alloy and the mechanical property value of the alloy test.

[0011] Furthermore, the specific method of step 2 is as follows:

[0012] Step 2.1) Determine the capacity m of the initial data set, where 3≤m≤n;

[0013] Step 2.2) Obtain an initial data set by any of the following methods;

[0014] (1) Preset an initial data set containing m data. (2) Compare all possible data sets with a capacity of m in the original data and select a data set with the largest expected decrease in the global Gaussian disorder factor as the initial data set. The original data set contains n data, of which m data can be arbitrarily selected to form Different initial data sets: If Then all the equations (1)-(3) are used to calculate The expected decrease of the global Gaussian disorder factor of different data sets is selected as the initial data set with the largest expected decrease of the global Gaussian disorder factor. In Random sampling 10 6 Different data sets, select these 10 6 The data set with the largest expected decrease in the global Gaussian disorder factor among the data sets is taken as the initial data set;

[0015] The data set is fitted using a Gaussian process regression model embedded with a Gaussian radial basis kernel function. After fitting the data set, the Gaussian process regression model optimizes the internal parameters of the model by the maximum likelihood method according to the characteristics of the data in the fitted data set, and establishes a mapping relationship between the alloy composition and the mechanical properties of the alloy in the data set. In the fitting process, the leave-one-out cross-validation method is used to obtain the mean NL of the negative log-likelihood on the training set of the fitted data set, the cross-validated Pearson correlation coefficient R, the mean ls of the scale parameter of the optimized Gaussian kernel function on the training set, and the average σ of the standard deviation of the mechanical properties of the alloy predicted by the Gaussian process regression model i , where the training set and the test set are automatically divided by the leave-one-out cross-validation method during the fitting process. The combination of the above four parameters characterizes the Gaussian correlation of data in different data sets, namely the global Gaussian disorder factor, namely GGMF, as shown in formula (1):

[0016]

[0017] Where ln(·) represents the logarithmic operation, and σ i Substitute GGMF into formula (2) to calculate the expected reduction of the global Gaussian disorder factor:

[0018]

[0019] Among them, E(·) means to find the expectation of the function in the brackets, max[Δ,0] means to take the maximum value between Δ and 0, φ(·) and are the cumulative probability density function and probability density distribution function of the standard normal function respectively, and Δ is calculated by formula (3):

[0020] Δ=GGMF ref -GGMF (3)

[0021] Among them, GGMF is the global Gaussian disorder factor on the current data set, calculated by formula (1), GGMF ref is the reference global Gaussian disorder factor defined, with an initial value of 1×10 15 ;

[0022] After the initial data set is obtained in step 2.3), the global Gaussian disorder factor of the initial set is calculated and assigned to GGMF ref , stores the Pearson correlation coefficient R of the leave-one-out cross-validation result of the initial data set.

[0023] Furthermore, the specific method of step 3 is as follows:

[0024] Step 3.1) The capacity of the original data set is n, and the capacity of the selected initial data set is m. When p data are added to the initial data set for the first time, a total of different new data sets, M is the capacity of the data set, that is, the total number of data already contained in the data set. For the initial data set M = m, if Calculate all The expected decrease of the global Gaussian disorder factor of different new data sets is selected as the new set after adding data. In In this case, 10 random samples are taken 6 Different data sets, select these 10 6 The data set with the largest expected decrease in the global Gaussian disorder factor among the data sets is taken as the new set after adding the data;

[0025] Step 3.2) Get the updated data set, update the data set capacity M to M+p, calculate the global Gaussian disorder factor of the new set and assign it to GGMF ref ;

[0026] Step 3.3) Store the Pearson correlation coefficient R of the leave-one-out cross-validation for the new data set.

[0027] Furthermore, the specific method of step 4 is as follows:

[0028] Step 4.1) After the data capacity changes, a new data set is generated, and the leave-one-out cross-validation fitting accuracy R and convergence standard η(max(R i )) comparison, if R<η(max(R i )) If the goodness of fit of the data set reaches saturation, the process stops and the current data set is output in the form of Stump-Tree;

[0029] Step 4.2) R ≥ η(max(R i )) then the goodness of fit of the data set has not reached saturation, repeat steps 3)-4) and continue to add data to the set until the termination condition of step 4.1) is met;

[0030] Among them, η in the convergence standard is a preset coefficient, and the recommended value is 70%-100%, max(R i ) is the maximum value of the Pearson correlation coefficient R of the leave-one-out cross-validation among all data sets of different sizes formed during the dynamic expansion of the initial data set.

[0031] Beneficial effects: Compared with the prior art, the technical solution of the present invention has the following technical effects:

[0032] A: This method is a supervised data recognition method that makes better use of the known label information of the data.

[0033] B: This method can give very reliable data preprocessing results for data sets that satisfy multivariate Gaussian distribution.

[0034] C: This method can identify different data regularity patterns in data sets that do not have a single data regularity, and segment the data sets according to their differences, strengthening the data associations in the segmented data sets to achieve the purpose of divide and conquer.

[0035] D: This method can effectively identify abnormal data in small data sets. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 is a flow chart of the method;

[0037] Figure 2 Schematic diagram of the components of the global Gaussian disorder factor in this method. DETAILED DESCRIPTION

[0038] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings:

[0039] Figure 1 The calculation process of this method is shown in Figure 1. Based on the global Gaussian disorder factor, the optimal initial data set is divided from the input original data, and the remaining data is added to the initial data set in a fixed number in sequence through the expected reduction of the global Gaussian disorder factor until the goodness of fit reaches the saturation standard. After the expansion, the initial set with enhanced data association is output in the form of Stump-Tree.

[0040] Figure 2 The components of the global Gaussian disorder factor defined in this method are shown in Figure 1. The negative log-likelihood value reflects the degree of fit of the optimized model on the cross-validated training data, the Pearson correlation coefficient R reflects the degree of fit of the optimized model on the cross-validated test data, the scale parameter of the Gaussian radial basis kernel function reflects the smoothness of the fitted response surface, and the average standard deviation reflects the credibility of the global Gaussian anomaly factor calculated at this time. The smaller the value of the global Gaussian disorder factor of the data set, the stronger the correlation of the data in the set.

[0041] Table 1 shows the test results of this method on the lead-free solder experimental dataset. There are a total of 47 material data of the lead-free tin-based solder alloy tested in the experiment. These include the alloy composition characteristics of the lead-free tin-based solder, and the mass fractions of tin, silver, copper, bismuth, indium, antimony, nickel, zinc, titanium, and aluminum. The mechanical property test results of the lead-free tin-based solder are the product of tensile strength and elongation at break. The experimental data of lead-free solder is a typical experimental data set with large noise and small samples, and the data feature space is extremely large, which brings great challenges to the implementation of machine learning tasks. The relationship between the composition and mechanical properties of the lead-free solder alloy was fitted by Gaussian process regression on the original data set. The results show that the response surface is very uneven, with a scale parameter of 1×10 -13 , and the fitting effect is very poor, which is shown as R = 0.3, where the closer R is to 1, the better the fitting effect. This method divides the original data set into three parts, strengthening the data association in each data subset. The test results show that on these three data subsets, the Gaussian process regression model makes stable and reliable fits, which are R = 0.91, R = 0.84, and R = 0.97, respectively, thereby establishing the correct mapping relationship between the alloy composition and the mechanical properties of the lead-free solder alloy, achieving the purpose of divide-and-conquer learning.

[0042] Table 2 shows the test results of this method on the high entropy alloy experimental data set. There are 99 high entropy alloy data in the experiment, including the mass fraction of cadmium, iron, nickel, cobalt, molybdenum, aluminum, manganese, copper, titanium and the size of the alloy hardness. After TCGPR accurately identified two abnormal data in the original high entropy alloy experimental data set, namely the outlier samples caused by measurement error or mechanism change, the leave-one-out cross-validation result of the data set was improved from the original R=0.53 to R=0.82, which greatly helped the machine learning regression algorithm to establish an effective fit between the alloy composition and hardness of the high entropy alloy.

[0043] Table 1: Data test results of TCGPR on the experimental dataset of lead-free solder

[0044]

[0045] Table 2: Data test results of TCGPR on the experimental data set of high entropy alloys

[0046]

[0047] The above descriptions are only some embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A Gaussian process regression tree classifier multivariate alloy abnormal data identification method, characterized in that: The method comprises the following steps: Step 1: Collect the mechanical properties test data set of multi-element alloys; Step 2: By comparing the expected reduction of the global Gaussian disorder factor, an optimal initial data set is divided from the original data in step (1), and the Pearson correlation coefficient R of the leave-one-out cross-validation result of the initial data set is calculated and stored; Step 3: By comparing the expected reduction of the global Gaussian disorder factor, the remaining data are added to the initial data set in a fixed number in sequence, and the Pearson correlation coefficient R of the leave-one-out cross-validation result of the new data set is calculated and stored; Step 4: Each time data is added to form a new data set, determine whether the goodness of fit of the new data set has reached the convergence standard of accuracy. If it has reached the convergence standard, stop and output the current expanded data set; otherwise, continue to add data to the data set until the convergence standard of accuracy is reached, where the Pearson correlation coefficient R of the leave-one-out cross-validation result is used as the goodness of fit.

2. The Gaussian process regression tree classifier multivariate alloy abnormal data identification method according to claim 1, characterized in that: The specific method of step 1 is as follows: collect a data set of mechanical property test of multi-element alloys; mark the total number of collected original data as n, wherein each data includes the composition ratio of the alloy and the mechanical property value of the corresponding alloy test.

3. The Gaussian process regression tree classifier multivariate alloy abnormal data identification method according to claim 2, characterized in that: The specific method of step 2 is as follows: Step 2.1) Determine the capacity m of the initial data set, where 3≤m≤n; Step 2.2) Obtain an initial data set by any of the following methods; (1) Preset an initial data set containing m data. (2) Compare all possible data sets with a capacity of m in the original data and select a data set with the largest expected decrease in the global Gaussian disorder factor as the initial data set. The original data set contains n data, of which m data can be arbitrarily selected to form Different initial data sets: If Then all the equations (1)-(3) are used to calculate The expected decrease of the global Gaussian disorder factor of different data sets is selected as the initial data set with the largest expected decrease of the global Gaussian disorder factor. In Random sampling 10 6 Different data sets, select these 10 6 The data set with the largest expected decrease in the global Gaussian disorder factor among the data sets is taken as the initial data set; The data set is fitted using a Gaussian process regression model embedded with a Gaussian radial basis kernel function. After fitting the data set, the Gaussian process regression model optimizes the internal parameters of the model by the maximum likelihood method according to the characteristics of the data in the fitted data set, and establishes a mapping relationship between the alloy composition and the mechanical properties of the alloy in the data set. In the fitting process, the leave-one-out cross-validation method is used to obtain the mean NL of the negative log-likelihood on the training set of the fitted data set, the cross-validated Pearson correlation coefficient R, the mean ls of the scale parameter of the optimized Gaussian kernel function on the training set, and the average σ of the standard deviation of the mechanical properties of the alloy predicted by the Gaussian process regression model i , where the training set and the test set are automatically divided by the leave-one-out cross-validation method during the fitting process. The combination of the above four parameters characterizes the Gaussian correlation of data in different data sets, namely the global Gaussian disorder factor, namely GGMF, as shown in formula (1): Where ln(·) represents the logarithmic operation, and σ i Substitute GGMF into formula (2) to calculate the expected reduction of the global Gaussian disorder factor: Among them, E(·) means to find the expectation of the function in the brackets, max[Δ,0] means to take the maximum value between Δ and 0, φ(·) and are the cumulative probability density function and probability density distribution function of the standard normal function respectively, and Δ is calculated by formula (3): Δ=GGMF ref -GGMF (3) Among them, GGMF is the global Gaussian disorder factor on the current data set, calculated by formula (1), GGMF ref is the reference global Gaussian disorder factor defined, with an initial value of 1×10 15 ; After the initial data set is obtained in step 2.3), the global Gaussian disorder factor of the initial set is calculated and assigned to GGMF ref , stores the Pearson correlation coefficient R of the leave-one-out cross-validation result of the initial data set.

4. The Gaussian process regression tree classifier multivariate alloy abnormal data identification method according to claim 3 is characterized in that: The specific method of step 3 is as follows: Step 3.1) The capacity of the original data set is n, and the capacity of the selected initial data set is m. When p data are added to the initial data set for the first time, a total of different new data sets, M is the capacity of the data set, that is, the total number of data already contained in the data set. For the initial data set M = m, if Calculate all The expected decrease of the global Gaussian disorder factor of different new data sets is selected as the new set after adding data. In In this case, 10 random samples are taken 6 Different data sets, select these 10 6 The data set with the largest expected decrease in the global Gaussian disorder factor among the data sets is taken as the new set after adding the data; Step 3.2) Get the updated data set, update the data set capacity M to M+p, calculate the global Gaussian disorder factor of the new set and assign it to GGMF ref ; Step 3.3) Store the Pearson correlation coefficient R of the leave-one-out cross-validation for the new data set.

5. The Gaussian process regression tree classifier multivariate alloy abnormal data identification method according to claim 1, characterized in that: The specific method of step 4 is as follows: Step 4.1) After the data capacity changes, a new data set is generated, and the leave-one-out cross-validation fitting accuracy R and convergence standard η(max(R i )) comparison, if R<η(max(R i )) If the goodness of fit of the data set reaches saturation, the process stops and the current data set is output in the form of Stump-Tree; Step 4.2) R ≥ η(max(R i )) then the goodness of fit of the data set has not reached saturation, repeat steps 3)-4) and continue to add data to the set until the termination condition of step 4.1) is met; Among them, η is the preset coefficient in the convergence standard, max(R i ) is the maximum value of the Pearson correlation coefficient R of the leave-one-out cross-validation among all data sets of different sizes formed during the dynamic expansion of the initial data set.