Graph construction method and classification method of wind power multivariable time series data, medium and electronic equipment

The graph construction method through sliding window sampling and correlation coefficient screening solves the problem that existing technology cannot effectively describe multi-variable time series data characteristics and time information, and improves model performance in data processing in the wind power field.

CN118709768APending Publication Date: 2024-09-27BEIJING UNIV OF POSTS & TELECOMM

Patent Information

Application Number
CN202410760287.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing graph construction methods cannot effectively describe the characteristics and time information of multi-variable time series data, resulting in poor performance of the model in downstream tasks. Especially in data processing in the field of wind power, it is difficult to obtain spatial information and the existence of too many edges leads to the model Distraction.

Method used

A sliding window is used to sample multi-variable time series data, converted into a directed graph, the weights of nodes and edges are determined based on correlation coefficients, the complexity of the graph structure is controlled, time series information is retained, and the Pearson correlation coefficient is used as a threshold to filter neighbor features to form Graph structure with higher correlation.

Benefits of technology

It effectively describes the characteristics and time information in the data, improves the performance of the model on wind power multi-variable time series data, controls the complexity of the graph structure, and improves the model performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118709768A
    Figure CN118709768A
Patent Text Reader

Abstract

The embodiment of the invention discloses a graph construction method and classification method for wind power multivariable time series data, a medium and electronic equipment. The method comprises the following steps: preprocessing multivariable time series data to be processed to obtain a data set; sampling the data set by using a sliding window according to a preset step length, wherein each sampling corresponds to the data set in one time interval; the data set in each time interval is converted into a directed graph, each node in the directed graph corresponds to a feature of a variable dimension, and edges and weights thereof in the directed graph are determined according to a correlation coefficient between every two features; and storing the directed graph corresponding to each time interval into a graph set according to a time sequence. According to the scheme of the embodiment of the invention, features and time information in the data can be effectively described, and the model is helped to better complete downstream tasks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a graph construction method, a classification method, a medium and an electronic device for wind power multivariate time series data. Background Art

[0002] With the continuous development of electronic information technology, digitalization has become a development trend in the industrial field. In the process of wind power generation, a large number of monitoring equipment and systems are involved. These equipment and systems continuously collect data in various forms and structures. The collected data reflects the production environment information and equipment status information from different levels, which is of great value. However, how to fully mine and utilize these data also faces huge challenges. The time series data collected in the power generation process has the characteristics of high sampling frequency and many types of variables. The data has a temporal correlation in the time dimension and also has potential spatial and physical correlation in the dimension of variable features. Most of the current research on time series data uses machine learning or time series models, such as recurrent neural network (RNN) and its variant models and Transformer related variant models. Among them, most machine learning methods are aimed at univariate time series data tasks and have a strong dependence on manually designed hyperparameters; time series models do not explicitly model the spatial relationship between time series in non-Euclidean space, and cannot mine the complex internal correlation of the potential time and feature dimensions of multivariate time series data, thus limiting the performance of the model in related tasks.

[0003] In essence, multi-time series data can be regarded as spatiotemporal data. Therefore, time points or variables can be regarded as nodes, and their relationships can be regarded as edges. Models can be built in the form of networks or graphs to effectively solve time series related tasks. Since time series data in many scenarios cannot be directly represented in the form of graphs, it is necessary to build graphs based on the data and convert them into graph structure representations.

[0004] The existing graph construction methods are mainly the following:

[0005] Graph construction method based on spatial similarity: Considering the proximity between nodes, the adjacency matrix of the graph can be constructed according to the shortest moving distance in the geographic space attribute, as shown in formula (1).

[0006]

[0007] Among them, d ij Represents the shortest moving distance between the i-th node and the j-th node in space.

[0008] However, this method only works for data with known spatial relationships between features. In many industrial scenarios, it is impossible to directly obtain the spatial information of the data. For example, it is difficult to obtain the spatial distance between sensors used to collect feature variables, so this method cannot be used.

[0009] Graph construction method based on node pair similarity: Use similarity to construct the adjacency matrix. The Pearson correlation coefficient (PCC), cosine similarity, dynamic time warping (DTW), etc. can be used to measure the similarity between node features, as shown in formula (2).

[0010] A i, =similarity x i ,x j )#(2)

[0011] However, since the model learns information by propagating along the edges in the graph, there are too many edges in the graph constructed using this method, which causes the model's attention to be distracted and the application effect is poor.

[0012] Learning-based graph construction methods: This type of method directly learns the graph structure end-to-end from the graph according to the downstream tasks, usually using embedding, attention or sampling to learn the graph structure. However, the graph structure constructed in this way lacks interpretability.

[0013] Moreover, the above methods often convert a piece of data into a graph during implementation, causing the constructed graph data to lose the temporal nature of the time series data.

[0014] In summary, existing graph construction methods cannot effectively describe the characteristics and temporal information of multivariate time series data, resulting in poor model performance in performing downstream tasks. Summary of the invention

[0015] Based on this, the embodiments of the present application provide a graph construction method, classification method, medium and electronic device for wind power multivariate time series data, which can effectively describe the characteristics and time information in the data and help the model better complete downstream tasks.

[0016] In a first aspect, an embodiment of the present application provides a method for constructing a graph of wind power multivariate time series data, including:

[0017] Preprocess the multivariate time series data to be processed to obtain a data set;

[0018] Use a sliding window to sample the data set according to a preset step size, and each sampling corresponds to a data set within a time interval;

[0019] Convert the data set in each time interval into a directed graph, wherein each node in the directed graph corresponds to a feature of a variable dimension, and determine the edges and their weights in the directed graph according to the correlation coefficient between every two features;

[0020] Store the directed graph corresponding to each time interval into the graph collection in chronological order.

[0021] Furthermore, the preprocessing includes outlier processing, data labeling, feature screening and data normalization.

[0022] Furthermore, the value of the feature corresponding to the node in the directed graph is a vector representation of the data value of the feature in the time interval.

[0023] Further, determining the edges and their weights in the directed graph according to the correlation coefficient between every two features includes:

[0024] Calculate the correlation coefficient between every two features;

[0025] For each feature, a neighbor feature is selected according to the size of the correlation coefficient, the corresponding nodes of the two are connected to obtain an edge, and the correlation coefficient is used as the weight of the edge.

[0026] Furthermore, the selecting of neighbor features according to the magnitude of the correlation coefficient includes:

[0027] Sort the neighbor features according to the absolute value of the correlation coefficient from large to small, and select the neighbor features that are ranked in the top N and whose absolute value of the correlation coefficient is greater than or equal to the threshold.

[0028] Furthermore, the correlation coefficient is a Pearson correlation coefficient.

[0029] In a second aspect, an embodiment of the present application provides a classification method for wind power multivariate time series data, including:

[0030] Obtain multivariate time series data to be classified;

[0031] According to the graph construction method as described in the first aspect, the multivariate time series data is constructed as a graph set;

[0032] The graph set is input into a pre-trained classification model and a classification result is output.

[0033] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program is used to execute the graph construction method described in the first aspect and / or the classification method described in the second aspect.

[0034] In a fourth aspect, an embodiment of the present application provides an electronic device, the electronic device comprising:

[0035] processor;

[0036] a memory for storing instructions executable by the processor;

[0037] The processor is used to read the executable instructions from the memory and execute the executable instructions to implement the graph construction method as described in the first aspect and / or the classification method as described in the second aspect.

[0038] In an embodiment of the present application, a sliding window is used to sample a data set according to a preset step size, and each sampling corresponds to a data set in a time interval. The data set in each time interval is converted into a directed graph, and nodes are generated according to the features of each variable dimension. The edges and their weights in the directed graph are determined according to the correlation coefficient between every two features, and the directed graph corresponding to each time interval is stored in a graph collection in chronological order, thereby converting two-dimensional time series data into three-dimensional data. The features in the data can be effectively described, and its timing information is retained. Moreover, the complexity of the graph structure can be better controlled, thereby improving the performance of models based on multivariate time series data. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] By referring to the following drawings, the exemplary embodiments of the present invention can be more completely understood. The drawings are used to provide a further understanding of the embodiments of the present application, and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present invention and do not constitute a limitation of the present invention. In the drawings, the same reference numerals generally represent the same parts or steps.

[0040] Figure 1 A flowchart of a method for constructing a graph of wind power multivariate time series data provided in an embodiment of the present application;

[0041] Figure 2 A flowchart of another method for constructing a graph of wind power multivariate time series data provided in an embodiment of the present application;

[0042] Figure 3 A flow chart of a classification method for wind power multivariate time series data provided in an embodiment of the present application;

[0043] Figure 4 A schematic diagram of a classification model structure provided in an embodiment of the present application;

[0044] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0046] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by technicians in the field to which this application belongs.

[0047] In addition, the terms "first" and "second" etc. are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0048] The embodiments of the present application provide a graph construction method, classification method, medium and electronic device for wind power multivariate time series data, which are described below in conjunction with the accompanying drawings.

[0049] refer to Figure 1 , which shows a method for constructing a graph of wind power multivariate time series data provided by an embodiment of the present application, comprising the following steps:

[0050] S101: preprocessing the multivariate time series data to be processed to obtain a data set;

[0051] Among them, the multivariate time series data is, for example, time series data collected by different sensors during wind power generation. Different sensors correspond to different variable types. The data has a chronological relationship in the time dimension and also has potential spatial and physical relationships in the variable dimension.

[0052] The preprocessing includes outlier processing, data labeling, feature screening, and data normalization.

[0053] S102: Using a sliding window to sample the data set according to a preset step size, each sampling corresponds to a data set within a time interval;

[0054] The sliding window starts sampling from the initial position of the data set and slides according to a preset step size until it reaches the end of the data set. The width of the sliding window and the preset step size are determined based on the data to be processed, the amount of calculation, the calculation delay, etc. The width of the sliding window is the length of the time interval for each sampling, such as 10 time points, and the preset step size is less than or equal to the width of the sliding window, such as 1, 2 or 3 time points.

[0055] S103: converting the data set in each time interval into a directed graph, wherein each node in the directed graph corresponds to a feature of a variable dimension, and determining the edges and their weights in the directed graph according to the correlation coefficient between every two features;

[0056] The value of the feature corresponding to the node in the directed graph is a vector representation of the data value of the feature in the time interval. For example, if the sliding window width is 10 time points, then the value of the feature corresponding to the node in the graph is a vector with a length of 10, which represents the data value of the feature of the variable dimension at these 10 time points.

[0057] Wherein, determining the edges and their weights in the directed graph according to the correlation coefficient between every two features includes:

[0058] Calculate the correlation coefficient between every two features;

[0059] For each feature, a neighbor feature is selected according to the size of the correlation coefficient, the corresponding nodes of the two are connected to obtain an edge, and the correlation coefficient is used as the weight of the edge.

[0060] As an embodiment, the selecting of neighbor features according to the magnitude of the correlation coefficient includes:

[0061] Sort the neighbor features according to the absolute value of the correlation coefficient from large to small, and select the neighbor features ranked in the top N.

[0062] In this embodiment, based on the idea of ​​clustering, by selecting nodes corresponding to some features with strong correlation and connecting them as edges, the complexity of the graph structure can be controlled, the adverse effects of too many edges and edges with low correlation can be avoided, and the effect of the downstream task model can be improved.

[0063] As another embodiment, the selecting of neighbor features according to the magnitude of the correlation coefficient includes:

[0064] Sort the neighbor features according to the absolute value of the correlation coefficient from large to small, and select the neighbor features that are ranked in the top N and whose absolute value of the correlation coefficient is greater than or equal to the threshold.

[0065] In this another embodiment, not only sorting is considered, but also high correlation of the features of the connection edges is ensured by using a threshold, further guaranteeing the effect of the downstream task model.

[0066] Optionally, let the number of features be M, then 1 < N < M - 1. Exemplarily, N is M / 2 rounded down, and the threshold is, for example, 0.5.

[0067] Optionally, the correlation coefficient is the Pearson correlation coefficient.

[0068] S104: Store the directed graph corresponding to each time interval into the graph set in chronological order.

[0069] The graph construction method provided by the embodiments of the present application is a heuristic graph construction method, which does not require spatial characteristics and has good interpretability. The method uses a sliding window to convert two-dimensional time series data into three-dimensional data in the form of a directed graph, and the directed graphs corresponding to different windows are stored into the graph set in chronological order, thus retaining their temporal characteristics; within each time interval, the correlation coefficient between every two features is calculated, the neighbor features of each feature are sorted using the clustering idea, the edges connecting the features ranked靠前 are selected, and the associated edges are further screened using a threshold, thereby effectively controlling the complexity of the graph structure.

[0070] It should be noted that steps S102 - S104 in the above embodiments can be executed sequentially, in parallel, or one by one according to the sliding window. In one embodiment, the entire data set is sampled using the sliding window first to obtain data sets corresponding to different sliding windows, and then the data set within each time interval is converted into a directed graph and stored into the graph set in chronological order. In another embodiment, after the first sliding window finishes sampling, the operation of converting the first data set into a directed graph and storing it is performed, and at the same time, the sliding window performs the sampling operation in parallel. In yet another embodiment, it is executed one by one according to the sliding window, that is, a sliding window is sampled, the sampled data set is converted into a directed graph and stored, and then the sliding window is moved to sample the data in the next interval. The specific process is as Figure 2 shown. Refer to Figure 2 , which shows another graph construction method for wind power multi-variable time series data provided by the embodiments of the present application, including the following steps:

[0071] S201: Obtain the multi-variable time series data to be processed;

[0072] Among them, multivariate time series data has two dimensions: time dimension and variable dimension. As an example, multivariate time series data is data collected by multiple sensors. The multiple sensors can be of the same type or different types, such as temperature sensors, humidity sensors, sound sensors, pressure sensors, ultrasonic sensors, etc. Different sensors correspond to different variable dimensions, and each variable dimension corresponds to a feature. Multiple sensors continuously sense and generate time series data, and each data has a corresponding time point.

[0073] S202: Preprocess the multivariate time series data to obtain a data set;

[0074] The preprocessing includes outlier processing, data labeling, feature screening, and data normalization.

[0075] As an example, the preprocessed dataset can be represented as Where T is the time length of the time series data, K is the variable dimension, x i is a vector of length K.

[0076] Through the above preprocessing, a clean dataset that can be used for the neural network model can be obtained.

[0077] S203: Setting hyper parameters: sliding window width W, step size S, screening threshold H and number of retained edges N;

[0078] The setting of the above hyperparameters depends on the characteristics of the multivariate time series data to be processed. For example, a wider sliding window can obtain more information, but too wide a sliding window may also make it difficult for the model in the downstream task to capture key information. On the other hand, the impact on the amount of computation and latency also needs to be considered. The screening threshold H and the number of retained edges N are used to ensure that the nodes forming the edges have a high correlation, avoiding too many edges and low-correlation edges that distract the model.

[0079] S204: Initialize the graph set to an empty set, and initialize the sliding window to the starting position of the data set;

[0080] Among them, the initial sliding window covers the data set (i.e., multivariate time series samples) at the beginning of the data set, and the length of the covered time interval corresponds to the width of the sliding window;

[0081] As an example, if the width of the sliding window is W, the i-th data set covered by the sliding window can be expressed as Where W is the time window width and K is the variable dimension.

[0082] S205: Convert the data set corresponding to the time interval covered by the sliding window into a directed graph G Nodes, Edge_index, Edge_attribute;

[0083] First, generate the nodes in the directed graph. i Corresponding to the i-th feature, its value is a W-dimensional vector, which represents the data value of the i-th feature in a time window with a width of W.

[0084] Then, the edge Edge_ and its weight Edge_ in the directed graph are generated as follows:

[0085] For each feature pair (i, j) within the window, calculate the Pearson correlation coefficient:

[0086]

[0087] Then, a similarity matrix is ​​generated based on the calculation results. The example is as follows:

[0088]

[0089] For each feature, the similarity matrix is ​​sorted from large to small according to the absolute value of the correlation coefficient, and the neighbor features with correlation coefficient values ​​ranked in the top N and greater than or equal to the threshold H are selected, and their correlation coefficient values ​​are stored in the weight set as weight values, and the nodes corresponding to the feature and the nodes corresponding to the selected neighbor features are connected to form edges, which are stored in the edge set. In this way, edges formed by nodes with higher correlation can be obtained, and the weights of the edges are determined based on the correlation coefficients. Each edge in the edge set corresponds to a correlation coefficient value in the weight set.

[0090] Through the above processing, the data set corresponding to the sliding window is converted into a directed graph.

[0091] As an example, the program implementation of the above process is as follows:

[0092] Input: X i : Where W is the window width, K is the variable dimension; H: threshold; N: number of retained edges

[0093] Output: Graph: graph representation format of data;

[0094] 01: Create a set of edges and edge weights: edge_attr = [], edge_index = []

[0095] 02: Calculate the correlation coefficient matrix: Corr_Matrix = corr(X i )

[0096] 03:FOR i=0TO(n-1)DO / / Traverse the features (head)

[0097] 04:Selected_node=top(N,Corr_Matrix[i]) / / Filter out the top N feature corresponding nodes

[0098] 05:FOR j=0TO(N–1)DO / / Traverse the features (tail)

[0099] 06:corr=Corr_Matrix[i,Selected_node[j]]

[0100] 07:IF i! =Selected_node[j]AND corr>=H DO / / Node cannot connect to itself to form an edge & threshold judgment

[0101] 08:APPEND corr TO edge_attr

[0102] 09:APPEND[i,Selected_node[j]]TO edge_index

[0103] 10:END FOR

[0104] 11:END FOR

[0105] 12:node_data=X i

[0106] 13:Graph=graph(node_data,edge_index,edge_attr)

[0107] 14: RETURN Graph

[0108] S206: storing the directed graph in the graph collection, and moving the sliding window along the time axis according to the step length S;

[0109] As an example, if the step size S is 2 time points, the sliding window is moved by 2 time points, so that the data set covering the i+1th time interval is as follows:

[0110] S207: Repeat steps S205-S206 until all data in the data set are processed.

[0111] As an example, when the front end of the sliding window reaches the end of the data set, that is, the sliding window covers the last data of the data set, it indicates that all data processing is completed. Optionally, after step S206, it is determined whether there is any unprocessed data in front of the sliding window. If so, steps S205-S206 are repeated. If not, step S205 is executed and the directed graph is stored in the graph collection without moving the sliding window.

[0112] As an example, when the end of the sliding window reaches the end position of the data set, that is, when there is no data of the data set in the sliding window, it indicates that all data processing is completed.

[0113] refer to Figure 3 , which shows a classification method for wind power multivariate time series data provided by an embodiment of the present application, comprising the following steps:

[0114] S301: Obtain multivariate time series data to be classified;

[0115] S302: According to Figure 1 or Figure 2 The graph construction method of the illustrated embodiment constructs the multivariate time series data into a graph set;

[0116] S303: Input the graph set into a pre-trained classification model and output a classification result.

[0117] Wherein, the classification model is a graph neural network model. Figure 4 As shown in the figure, the model consists of two graph convolution layers, two batch normalization layers, a global average pooling layer and a fully connected layer classifier. The graph convolution layer is the core part of graph feature extraction. It allows each node to aggregate its own and neighboring node feature information according to the adjacency matrix of the graph, thereby generating a new node representation. This process can be repeated many times to extract higher-level graph features. The batch normalization layer is an auxiliary part of graph feature extraction. It can normalize the features of each node, thereby accelerating the training process and improving the stability and convergence of the model. The global average pooling layer is the part of graph feature aggregation. It can average the features of all nodes in the graph to obtain a global graph feature vector. This vector contains the overall information of the graph and can be used as the feature representation of the graph. The fully connected layer classifier is the part of graph classification. It can input the global graph feature vector into a fully connected layer, and then use a softmax activation function to output the category probability of the graph, thereby realizing the task of classifying the graph.

[0118] As an example, the classification task can be used for anomaly detection.

[0119] The classification model is pre-trained in the following manner:

[0120] Acquire a training sample, wherein the training sample includes multivariate time series data and corresponding categories;

[0121] According to Figure 1 or Figure 2 The graph construction method of the illustrated embodiment constructs the multivariate time series data into a graph set;

[0122] Input the graph set into the graph neural network and output the classification result;

[0123] Calculate the loss function based on the output classification results and the category information in the training samples;

[0124] The parameters of the graph neural network are iteratively adjusted until the loss function meets the convergence condition to obtain the classification model.

[0125] Based on the above practical example, the embodiment of the present application further provides an electronic device, such as a computer device, referring to Figure 5 , the electronic device includes: a processor 51, a memory 52, a communication module 53, an input device 54 and an output device 55. The memory, as a computer-readable storage medium, can be configured to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the graph construction method and classification method of wind power multivariate time series data described in any embodiment of the present application. The communication module 53 is configured to transmit data. The processor 51 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory, that is, realizes the above-mentioned graph construction method and classification method of wind power multivariate time series data. The input device 54 can be configured to receive input digital or character information, and generate key signal input related to user settings and function control of the device. The output device 55 may include a display device such as a display screen. The above-mentioned computer device can be configured to execute the graph construction method and classification method of wind power multivariate time series data provided in the above-mentioned embodiment, and has corresponding functions and beneficial effects.

[0126] On the basis of the above embodiments, the embodiments of the present application further provide a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, wherein the computer-executable instructions are configured to execute a graph construction method and a classification method for wind power multivariate time series data when executed by a computer processor, and the storage medium may be any of various types of memory devices or storage devices. Of course, the computer-executable instructions of a computer-readable storage medium provided in the embodiments of the present application are not limited to the methods described above, and may also execute related operations in the graph construction method and the classification method for wind power multivariate time series data provided in any embodiment of the present application.

[0127] On the basis of the above embodiments, the embodiments of the present application also provide a computer program product. The essence of the technical solution of the present application or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer program product is stored in a storage medium, including a number of instructions for enabling a computer device, a mobile terminal or a processor therein to execute all or part of the steps of the graph construction method and classification method of wind power multivariate time series data described in each embodiment of the present application.

[0128] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made to the present application by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims

1. A graph construction method for wind power multivariate time series data, characterized in that: include: Preprocess the multivariate time series data to be processed to obtain a data set; Use a sliding window to sample the data set according to a preset step size, and each sampling corresponds to a data set within a time interval; Convert the data set in each time interval into a directed graph, wherein each node in the directed graph corresponds to a feature of a variable dimension, and determine the edges and their weights in the directed graph according to the correlation coefficient between every two features; Store the directed graph corresponding to each time interval into the graph collection in chronological order.

2. The graph construction method according to claim 1, characterized in that: The preprocessing includes outlier processing, data labeling, feature screening and data normalization.

3. The graph construction method according to claim 1, characterized in that: The value of the feature corresponding to the node in the directed graph is a vector representation of the data value of the feature in the time interval.

4. The graph construction method according to claim 3, characterized in that: The step of determining the edges and weights in the directed graph according to the correlation coefficient between every two features includes: Calculate the correlation coefficient between every two features; For each feature, a neighbor feature is selected according to the size of the correlation coefficient, the corresponding nodes of the two are connected to obtain an edge, and the correlation coefficient is used as the weight of the edge.

5. The graph construction method according to claim 4, characterized in that: The step of selecting neighbor features according to the correlation coefficient includes: Sort the neighbor features from large to small according to the absolute value of the correlation coefficient, and select the neighbor features that are ranked in the top N and whose absolute value of the correlation coefficient is greater than or equal to the threshold.

6. The graph construction method according to claim 4 or 5, characterized in that: The correlation coefficient is the Pearson correlation coefficient.

7. A classification method for wind power multivariate time series data, characterized in that: include: Obtain multivariate time series data to be classified; According to the graph construction method according to any one of claims 1 to 6, the multivariate time series data is constructed as a graph set; The graph set is input into a pre-trained classification model and a classification result is output.

8. The classification method according to claim 7, characterized in that: The classification model is a graph neural network model.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for executing the graph construction method according to any one of claims 1 to 6 and / or the classification method according to any one of claims 7 to 8.

10. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing executable instructions for the processor; The processor is used to read the executable instructions from the memory and execute the executable instructions to implement the graph construction method as described in any one of claims 1 to 6 and / or the classification method as described in any one of claims 7 to 8.

Citation Information

Patent Citations

  • Early and late mild cognitive impairment classification method and device based on brain function network characteristics

    CN107909117A

  • Text classification method and device based on time sequence interaction graph neural network and medium

    CN114398479A

  • Brain voxel morphology high-order feature extraction method

    CN115760785A

  • Method for determining core substance and core substance group in metabolic process of traditional Chinese medicine

    CN116153436A

  • Multi-modal time sequence anomaly detection method for industrial equipment

    CN116796275A

Cited By

  • Fault diagnosis system of organic waste gas catalytic decomposition device

    CN120333541A

  • Sorting device for quartz sand production

    CN121755421A