Wind power data dimension reduction method based on flow label feature selection
By using a flow label-based feature selection method, mutual information and ternary mutual information are used to evaluate the redundancy and complementarity of candidate features, which solves the problem of insufficient feature selection accuracy in existing technologies, achieves more refined and comprehensive dimensionality reduction of wind power data, and improves classification performance and dimensionality reduction effect.
Patent Information
- Application Number
- CN202311787290.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-25
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-12-25
AI Technical Summary
Existing stream label feature selection methods typically treat all selected features as redundant when evaluating candidate feature redundancy, leading to reduced feature selection accuracy and comprehensiveness, and affecting the prediction accuracy of wind power data dimensionality reduction and classification tasks.
A flow label-based feature selection method is adopted. By calculating the mutual information and ternary mutual information between candidate features and flow labels, redundant and complementary relationships are distinguished. The importance of candidate features is evaluated by using the average maximum complementary information and minimum redundancy information. Combined with feature weight mapping, highly relevant features are selected for dimensionality reduction.
It improves the accuracy and comprehensiveness of feature selection, enhances the performance of wind power data dimensionality reduction and classification tasks, and saves operating costs.
Smart Images

Figure CN117763319B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of wind power data mining technology, specifically relating to a wind power data dimensionality reduction method based on flow label feature selection. Background Technology
[0002] Wind power data contains a wide variety of parameters, such as wind speed, wind direction, temperature, humidity, mechanical vibration, turbine status, and grid data. High-dimensional data and irrelevant features increase computational complexity and degrade model performance. Feature selection, which involves choosing highly relevant features from a multitude of data, removing redundant and irrelevant features, and extracting important information relevant to the current task, thereby reducing data dimensionality, plays a crucial role in the wind power field and is a necessary step to improve the efficiency and reliability of wind power generation systems.
[0003] In the wind power sector, data acquisition is an evolving process, and labeling information is not always pre-defined. Instead, labeling information emerges gradually as data accumulates and is acquired. This necessitates a more flexible approach to data processing, extracting features more relevant to the labels from the acquired wind power data. Traditional feature selection methods typically rely on existing, predefined labeling information. However, in the wind power sector, data may contain new, previously unseen scenarios or events that need to be identified over time. Stream-label-based feature selection methods allow for dynamic labeling of different scenarios or events within the data, free from predefined label constraints. This flexibility means that this method can better adapt to the diversity and complexity of wind farm data, identifying the characteristics of different events or behaviors. Therefore, stream-label-based feature selection methods are more suitable for dimensionality reduction processing of wind power data, facilitating real-time data analysis and improving the efficiency and reliability of wind farms.
[0004] Existing stream label feature selection methods typically treat all selected features as redundant when evaluating the redundancy of candidate features. This approach may result in the loss of supplementary information provided by some selected features to candidate features, reducing the precision and comprehensiveness of feature selection and thus lowering the prediction accuracy of subsequent classification tasks. Summary of the Invention
[0005] To address the shortcomings of existing methods, the technical problem this invention aims to solve is to provide a wind power data dimensionality reduction method based on flow label feature selection.
[0006] The present invention solves the aforementioned technical problem by adopting the following technical solution:
[0007] A wind power data dimensionality reduction method based on stream label feature selection, characterized by the following steps:
[0008] Step 1: Collect wind power data to obtain a set of wind power data features;
[0009] Step 2: For each newly arrived stream label, first initialize the feature set of the stream label; then, calculate the amount of classification information provided by each candidate feature in the wind power data feature set for the stream label according to Equation (1), and add the candidate feature with the largest amount of classification information to the feature set of the stream label.
[0010] CI(f k ,l t )=I(f k ;l t (1)
[0011] In the formula, CI(f) k ,l t ) represents candidate feature f k For stream label l t The amount of classification information provided, I(f) k ;l t ) represents candidate feature f k With stream tag l t Mutual information between them;
[0012] Step 3: Classify the selected features in the feature set of the stream label, and calculate the average maximum supplementary information and the average minimum redundancy information based on the classification results;
[0013] Step 3.1: Calculate the ternary mutual information between each remaining candidate feature in the wind power data feature set and the selected features and flow labels using equation (3). Classify all selected features in the feature set of flow labels according to the ternary mutual information to obtain selected features that are redundant with the candidate features and selected features that are complementary to the candidate features, and obtain sets S1 and S2.
[0014] I(f k ;f i ;l t )=I(f k ;l t )-I(f k ;l t |f i (3)
[0015]
[0016] Among them, I(f) k ;f i ;l t ) represents candidate feature f k Selected feature f i and stream tag l t The ternary mutual information between them, I(f)k ;l t |f i Let S1 be the set of all selected features that are redundant with the candidate feature, and S2 be the set of all selected features that are complementary with the candidate feature. t For stream label l t The feature set;
[0017] Step 3.2: Calculate the average minimum redundancy information MR(f) according to equation (5). k ,l t );
[0018]
[0019] in, The number of features of set S1;
[0020] Step 3.3: Calculate the average maximum supplementary information MS(f) according to equation (6). k ,l t );
[0021]
[0022] in, The number of features of set S2;
[0023] Step 4: Based on the amount of classification information, average maximum supplementary information and average minimum redundancy information provided by the candidate features for the flow label, use Equation (7) to calculate the importance score of each remaining candidate feature in the wind power data feature set;
[0024]
[0025] In the formula, J(f) k ) represents candidate feature f k Importance score;
[0026] Add the candidate feature with the highest importance score to the feature set of the stream label; if the number of features in the feature set of the stream label is less than K, repeat steps 3 and 4; if the number of features in the feature set of the stream label reaches K, proceed to step 5.
[0027] Step 5: For all selected features in the feature set of the stream label, arrange them from left to right according to the order in which they were added, and assign weights to the selected features according to their positions. The earlier the position, the greater the weight, and the later the position, the smaller the weight. Map the weights of each selected feature in the feature set of the stream label to the feature set of wind power data to obtain the feature weight set corresponding to the stream label.
[0028] Step 6: For each newly arrived stream label, repeat steps 2-5. For each stream label's corresponding feature weight set, sum the weights at the same positions in that set with the previously obtained set. This results in a wind power data feature set. From this set, select the K candidate features with the largest weights as the final selected features, completing the wind power data dimensionality reduction. If no new labels arrive, stop. Finally,
[0029] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0030] (1) Using ternary mutual information as a metric, based on the different roles of selected features on candidate features, selected features are divided into two categories: those with redundant relationships and those with complementary relationships with candidate features. This classification can more accurately capture the relationship between selected features and candidate features, avoid simply treating all selected features as redundant, and improve the accuracy of feature selection.
[0031] (2) Calculate the average maximum supplementary information and average minimum redundancy information based on the classification results of the selected features to measure the contribution of supplementary information and redundancy information, ensuring that the different roles of each selected feature are considered in a targeted manner, and propose new feature evaluation criteria using the maximum supplementary and minimum redundancy strategy. In this way, the importance of candidate features can be evaluated more accurately, the information provided by the selected features can be fully utilized, and the excessive penalty for redundant information can be avoided. This makes the feature selection process more refined and comprehensive, and improves the performance of this method in wind power data dimensionality reduction.
[0032] (3) For the feature set of the flow label, the weights of different features are considered. The feature set of the flow label is mapped to the feature set of wind power data according to the feature weights. Then, highly relevant features are selected from the feature set of wind power data and applied to the classification task, which improves the classification performance and saves operating costs. Attached Figure Description
[0033] Figure 1 This is the overall flowchart of the present invention. Detailed Implementation
[0034] Specific embodiments are given below with reference to the accompanying drawings. These specific embodiments are only used to describe the technical solution of the present invention in detail, and are not intended to limit the scope of protection of this application.
[0035] This invention provides a wind power data dimensionality reduction method based on flow label feature selection (hereinafter referred to as the method, see below). Figure 1 The process includes the following steps:
[0036] Step 1: Collect a set of wind power characteristic data from the wind farm, including information such as wind speed, ambient temperature, turbine nacelle temperature, and turbine nacelle yaw angle, denoted as F = {f1, f2, ..., f n}; where f1, f2, ..., f n Let n represent the number of features; features in the wind power feature data set F are used as candidate features; initialize the feature set S, i.e., clear the feature set S and set the number of features in the feature set S to K (K0 = K1). <n);
[0037] Step 2: For each newly arrived flow label l t First, initialize the feature set S of the stream label. t Then, according to equation (1), the candidate features and flow labels l in the wind power feature data set F are calculated. t Mutual information between candidates is used as an indicator to measure the amount of classification information that candidate features provide to the labels. Candidate features with the highest mutual information are selected and added to the stream label. t Feature set S t In the feature set S t The features in the selection are called selected features;
[0038] CI(f k ,l t )=I(f k ;l t (1)
[0039] In the formula, CI(f) k ,l t ) represents candidate feature f k For stream label l t The amount of classification information provided, I(f) k ;l t ) represents candidate feature f k With stream tag l t The mutual information between them, and the formula for calculating mutual information is:
[0040]
[0041] In the formula, X and Y represent different random variables, p(x i ,y j Let p(x) represent the joint distribution function of random variables X and Y. i ), p(y j Let X and Y represent the independent probability distribution functions of random variables X and Y, respectively.
[0042] Step 3: Based on their different functions, the feature set S t The selected features are classified, and candidate features f are calculated based on the classification results. k For the stream label lt The average maximum supplementary information and the average minimum redundancy information;
[0043] Step 3.1: Calculate the remaining candidate features f in the wind power feature data set F using equation (3). k With the selected feature f i and flow tag l t The ternary mutual information between them is used to measure f. k f i and l t Shared information; ternary mutual information greater than zero indicates candidate feature f k and selected features f i Relative to stream label l t It is a redundant relationship; a ternary mutual information of less than zero indicates that the candidate feature f k and selected features f i Relative to stream label l t It is a complementary relationship, therefore, based on the ternary mutual information, the feature set S... t All selected features are classified to obtain selected features that are redundant with candidate features and selected features that are complementary to candidate features, and sets S1 and S2 are obtained.
[0044] I(f k ;f i ;l t )=I(f k ;l t )-I(f k ;l t |f i (3)
[0045]
[0046] Among them, I(f) k ;f i ;l t ) represents candidate feature f k Selected feature f i and stream tag l t The ternary mutual information between them, I(f) k ;l t |f i S1 is the set of all selected features that are redundant with the candidate feature, and S2 is the set of all selected features that are complementary with the candidate feature.
[0047] Step 3.2: Using ternary mutual information, calculate all remaining candidate features f according to equation (5) using the selected features in set S1. k and selected features f i For the stream label lt Average minimum redundancy information MR(f) k ,l t );
[0048]
[0049] in, The number of features of set S1;
[0050] Step 3.3: Using conditional mutual information, calculate all remaining candidate features f according to equation (6) using the selected features in set S2. k and selected features f i For the stream label l t Average Maximum Supplementary Information MS(f) k ,l t );
[0051]
[0052] in, The number of features of set S2;
[0053] Step 4: Based on the minimum redundancy maximum supplementation selection strategy, utilize CI(f) k ,l t ), MR(f k ,l t ) and MS(f k ,l t The feature evaluation criteria of Equation (7) are proposed. Based on the feature evaluation criteria, the importance scores of each remaining candidate feature in the wind power data feature set F are calculated, and the candidate feature with the highest importance score is added to the feature set S. t middle;
[0054]
[0055] In the formula, J(f) k ) represents candidate feature f k Importance score;
[0056] If the feature set S t If the number of features in the feature set is less than K, then repeat steps 3 and 4; if the feature set S t If the number of features reaches K, then feature selection stops and proceeds to step 5;
[0057] Step 5: For the feature set S t All selected features are added to the feature set S. tThe selected features are arranged from left to right, with the first selected feature placed in the first position. Weights are assigned to selected features based on their position, with higher weights for earlier positions and lower weights for later positions. The feature set S is then... t The weights of each selected feature are mapped to the wind power data feature set F to obtain the flow label l. t The corresponding set of feature weights;
[0058] Step 6: For each newly arrived flow label, repeat steps 2-5. For each flow label corresponding to a feature weight set, sum the weights at the same positions in the feature weight set corresponding to the flow label and the previously obtained feature weight sets corresponding to the flow labels to obtain the weights of each candidate feature in the wind power data feature set F. If no new label arrives, stop. Finally, select the K candidate features with larger weights from the wind power data feature set as the final selected features and add them to the feature set S to complete the dimensionality reduction of the wind power data.
[0059] For example, the feature set F = {f1, f2, f3, f4, f5, f6} of wind power data, and the feature set S of the first stream label. t ={f1,f6,f4}, with corresponding weights of {1,1 / 2,1 / 3}, mapped to the wind power data feature set F, resulting in the feature weight set for the first stream label as {1,0,0,1 / 3,0,1 / 2}; the feature set S for the second stream label... t ={f5,f3,f6}, with corresponding weights of {1,1 / 2,1 / 3}, are mapped to the wind power data feature set F, resulting in the feature weight set {0,0,1 / 2,0,1,1 / 3} corresponding to the second stream label. The weights at the same positions in the two feature weight sets are added together to obtain {1,0,1 / 2,1 / 3,1,5 / 6}. Then, the K candidate features with larger weights are selected and added to the feature set S. The resulting feature set S is used for subsequent classification tasks.
[0060] Any aspects not covered in this invention are applicable to existing technologies.
Claims
1. A wind power data dimensionality reduction method based on flow label feature selection, characterized in that, The method includes the following steps: Step 1: Collect wind power data including wind speed, ambient temperature, turbine nacelle temperature, and turbine nacelle yaw angle to obtain a set of wind power data features; Step 2: For each newly arrived stream label, first initialize the feature set of the stream label; then, calculate the amount of classification information provided by each candidate feature in the wind power data feature set for the stream label according to Equation (1), and add the candidate feature with the largest amount of classification information to the feature set of the stream label; , In the formula, Representing candidate features For stream tags The amount of categorized information provided Representing candidate features With stream tags Mutual information between them; Step 3: Classify the selected features in the feature set of the stream label, and calculate the average maximum supplementary information and the average minimum redundancy information based on the classification results; Step 3.1: Calculate the ternary mutual information between each remaining candidate feature in the wind power data feature set and the selected features and flow labels using equation (3). Based on the ternary mutual information, classify all selected features in the flow label feature set to obtain selected features that are redundant with the candidate features and selected features that are complementary to the candidate features, and obtain the set. and ; , in, Representing candidate features Selected features and stream tags The ternary mutual information between them For conditional mutual information, This is the set of all selected features that have redundant relationships with the candidate features. This is the set of all selected features that are complementary to the candidate features. For stream tags The feature set; Step 3.2: Calculate the average minimum redundancy information according to equation (5). ; , in, For set The number of features; Step 3.3: Calculate the average maximum supplementary information according to equation (6). ; , in, For set The number of features; Step 4: Based on the amount of classification information, average maximum supplementary information and average minimum redundancy information provided by the candidate features for the flow label, use Equation (7) to calculate the importance score of each remaining candidate feature in the wind power data feature set; , In the formula, Representing candidate features Importance score; Add the candidate feature with the highest importance score to the feature set of the stream label; if the number of features in the feature set of the stream label is less than... Then repeat steps 3 and 4; if the number of features in the feature set of the stream label reaches Then proceed to step 5; Step 5: For all selected features in the feature set of the stream label, arrange them from left to right according to the order in which they were added, and assign weights to the selected features according to their positions. The earlier the position, the greater the weight, and the later the position, the smaller the weight. Map the weights of each selected feature in the feature set of the stream label to the feature set of wind power data to obtain the feature weight set corresponding to the stream label. Step 6: For each newly arrived stream label, repeat steps 2-5. For each stream label corresponding to a given feature weight set, sum the weights at the same positions in that set with the previously obtained set of feature weights for the same stream label to obtain the weights of each candidate feature in the wind power data feature set. Stop if no new labels arrive. Finally, select the feature with the largest weight from the wind power data feature set. The candidate features are selected as the final features to complete the dimensionality reduction of wind power data.
Citation Information
Patent Citations
Multi-label feature selection method based on paired label weights
CN114139634A
Multi-label feature selection method and device based on dynamic flow label and medium
CN117171540A
