Duration prediction method of power industry expansion project based on CSO optimized DBN model

Through the prediction method based on CSO to optimize the DBN model, the weight and threshold of the DBN model are optimized using dynamic chaotic crossover algorithm, which solves the problem of inaccurate estimation of the duration of the power industry expansion project, and realizes efficient time prediction and data analysis capabilities.

CN114781686BActive Publication Date: 2024-11-01GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210268779.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-18
Publication Date
2024-11-01
Estimated Expiration
2042-03-18

AI Technical Summary

Technical Problem

The estimated duration of the power industry expansion project is inaccurate, resulting in low installation efficiency and affecting the project progress.

Method used

The prediction method based on CSO optimized DBN model is adopted, and the weight and threshold of the DBN prediction model are optimized through dynamic chaotic cross-section algorithm, and regular terms with the joint action of multiple indicators are constructed to establish an accurate prediction model for the expansion duration.

Benefits of technology

It improves the accuracy and efficiency of project duration prediction of industry expansion projects, avoids model generalization problems, and enhances data analysis and feature extraction capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114781686B_ABST
    Figure CN114781686B_ABST
Patent Text Reader

Abstract

The present invention relates to a method for predicting the duration of an electric power expansion project based on a CSO-optimized DBN model, comprising: determining a target DBN prediction model for a project to be predicted according to the distribution of project costs; inputting the data of the project to be predicted into a trained target DBN prediction model to obtain the duration of the project to be predicted; training the DBN prediction model comprises: classifying the historical electric power expansion projects according to the historical project costs to obtain the cost intervals of four projects; dynamically selecting the historical data of each cost interval to establish a DBN prediction model of the corresponding category; optimizing the initial weights of the DBN prediction model according to DCCSO to obtain the target initial weights; and fine-tuning the target initial weights of the DBN prediction model to obtain a trained DBN prediction model. The present application uses DCCSO to optimize the weights of the DBN prediction model in the early stage of training and uses the regularization term of the combined initial weights as the target fitness function to predict the duration of the expansion through the optimized DBN model, so as to quickly obtain an accurate duration of the expansion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric power technical management, and in particular to a method for predicting the duration of an electric power expansion project based on a CSO optimized DBN model. Background Art

[0002] The power industry expansion project, namely the power business expansion application, is an important task of power supply enterprise marketing and distribution network management. With the rapid economic growth, the number of business expansion application projects is increasing. my country has fully realized the problems existing in the expansion and installation process of the power sector.

[0003] At present, the process of business expansion is relatively simple and the model is relatively fixed. As for the expansion of the distribution network industry, it currently involves a wide range of links and the process is relatively mechanized. The duration plan of the power industry expansion project is particularly important. If the duration estimate is inaccurate, the reporting efficiency will be low, which will affect the progress of the industry expansion project. Summary of the invention

[0004] Based on this, the present invention provides a method and device for predicting the duration of an electric power expansion project based on a CSO optimized DBN model. In order to accelerate model convergence, the present application uses a dynamic chaotic cross-cutting algorithm to optimize the weights and thresholds of the DBN prediction model in the early stages of training. At the same time, by constructing a regularization term that combines multiple indicators and initial weights as the target fitness function, the generalization problem of the model is avoided during the optimization process. By predicting the duration of the expansion through the optimized DBN model, an accurate duration of the expansion can be quickly obtained.

[0005] According to a first aspect of some embodiments of the present application, a method for predicting the duration of a power industry expansion project based on a CSO optimized DBN model is provided, the method comprising the following steps:

[0006] Obtain the project cost and project engineering quantity of the project to be forecasted;

[0007] Determining a target DBN prediction model for the project to be predicted based on the distribution of the project costs;

[0008] Inputting the project cost and project engineering quantity of the project to be predicted into the trained target DBN prediction model to obtain the duration of the project to be predicted;

[0009] The training method of the DBN prediction model is as follows:

[0010] Obtain historical data of historical projects of power industry expansion and remove abnormal data, wherein the historical data includes historical project costs, historical project engineering quantities, and historical project durations;

[0011] According to the distribution of the historical project costs, the historical power industry expansion projects are classified by quartiles to obtain cost ranges of four projects;

[0012] Dynamically select historical data of historical projects in each cost range as a training set, use the historical project costs and historical project engineering quantities as inputs, use the historical project duration as a target output, and establish a DBN prediction model of a corresponding category based on the training set to obtain four DBN prediction models;

[0013] Optimizing the initial weights of the DBN prediction model according to DCCSO to obtain target initial weights, wherein the DCCSO is an improved chaotic vertical and horizontal crossover algorithm;

[0014] The target initial weights of the DBN prediction model are fine-tuned from top to bottom to obtain a trained DBN prediction model.

[0015] Furthermore, a DBN prediction model of the corresponding category is established based on the training set, including:

[0016] Using an unsupervised greedy learning algorithm to train each restricted Boltzmann machine RBM in the DBN prediction model layer by layer;

[0017] The feature information of the preprocessed historical data is transmitted layer by layer to initialize the parameters of the DBN prediction model and determine the initial connection weights and neuron biases.

[0018] Furthermore, each restricted Boltzmann machine (RBM) in the DBN prediction model is trained layer by layer using an unsupervised greedy learning algorithm, including:

[0019] Randomly select a sample from the training set and input it into the visible layer of the first RBM to update the state S of each node in the first hidden layer. j , as shown in formula (1);

[0020]

[0021] Among them, the preset node state is represented by {S j},S j represents the state of node j connected to node i, ω ij is the weight matrix, is a sigmoid function; N j (0,1) is the standard normal distribution function; σ∈[0,1].

[0022] According to the node state S j , update the state of the first visible node of RBM, denoted as S′ i , as shown in formula (2);

[0023]

[0024] According to the node state S' i , update the hidden node state of the first RBM again, denoted as S′ j , as shown in formula (3):

[0025]

[0026] Furthermore, the feature information of the preprocessed historical data is transmitted layer by layer to initialize the parameters of the DBN prediction model and determine the initial connection weights and neuron biases, including:

[0027] The hidden layer node state S′ of the first RBM j As the input of the second RBM, the state of each node of the second RBM is updated again;

[0028] Updating the states of the nodes of the DBN prediction model layer by layer until all the nodes of the DBN prediction model are updated;

[0029] Randomly select the next training sample in the training set as the input of the DBN prediction model, and train again until all the training samples in the training set have been input, end the first round of training, calculate the change in the weight value of the DBN prediction model, and update the weight matrix in the DBN prediction model, as shown in formula (4);

[0030] Δω ij =η ω ( i S j >- <S′ i S′ j >) (4)

[0031] The next round of training is started until the change in the weight matrix of the DBN prediction model is small enough or reaches the set maximum number of training times, that is, when ‖Δω(i)‖<ε, the training is ended and the DBN prediction model is constructed.

[0032] Furthermore, the initial weights of the DBN prediction model are optimized according to DCCSO to obtain target initial weights, including:

[0033] The objective function is to minimize the sum of the mean absolute error, mean square error and the regularization term of the initial weights;

[0034] Determine the upper and lower limits of the initial weight and initialize the population Z = [Z(1), Z(2), ..., Z(M)], where M is the number of particles in the population; ​

[0035] Perform vertical crossover operation to obtain subpopulation S vc , using the subpopulation S vc The subpopulation G is obtained through chaotic operation, and S vc Join with G to update population Z;

[0036] Perform a horizontal crossover operation to obtain the subpopulation S hc , using S hc The subpopulation G is obtained through chaotic operation, and S hc Join with G to update population Z;

[0037] Update the population Z according to the preset number of iterations.

[0038] Furthermore, the minimum objective function is expressed as shown in formula (5):

[0039]

[0040] Among them, f obj is the optimization target; N is the number of training samples; D is the number of overall parameters required for training the DBN prediction model, which is also the dimension of the population particles; θ j Refers to the weight or threshold of the model; p is the actual measurement value corresponding to the training sample; p * is the predicted value of the business expansion project duration calculated based on the parameter vector θ obtained by optimizing the current algorithm; ξ and β are the indicator fusion coefficients, and the sum of the two is 1; λ is the regularization coefficient.

[0041] Furthermore, the upper and lower limits of the initial weights are determined as follows:

[0042]

[0043] A single individual Z(m) in the population Z is expressed as: Z(m) = {θ j} j=1,2,…,D

[0044] Where l represents the lth layer of the optimized DBN prediction model; L l w and L l b Respectively represent the upper and lower limits of the weight and threshold of the lth layer; n l in and n l out They represent the number of input and output neurons in the lth layer respectively; ε is a constant.

[0045] Further, a vertical crossover operation is performed to obtain the subpopulation S vc , using the subpopulation S vcThe subpopulation G is obtained through chaotic operation, and S vc Combined with G to update the population Z, including:

[0046] Normalization is performed on each dimension in the population Z. The specific formula is as follows:

[0047]

[0048] Among them, Z(i,d) refers to the weight or threshold of the d-th dimension of particle Z(i) in population Z, θ dmax refers to the maximum value of the weight or threshold of the dth dimension, θ dmin Refers to the minimum value of the weight or threshold of the dth dimension;

[0049] The vertical crossover probability P vc Under the condition, a non-repeated cross-pairing operation is performed on each particle in the population Z. The specific operation process is as follows:

[0050]

[0051] right Denormalize and get the final subpopulation S vc , the specific operations are as follows:

[0052]

[0053] Subpopulation S vc As input, the chaotic variable matrix Q is calculated, and the specific operation is:

[0054] Q(t)=1-a·|Q(t-1)|+S norm (t-1)

[0055] S norm (t) = b·Q(t)

[0056] Among them, t is the number of internal iterations of the chaotic operation; S norm Is S vc Each dimension of is normalized to the optimization subgroup in the interval [0, 1], and the parameters a and b are constants;

[0057] Q is dynamically saved for the next chaotic operation, and denormalization is performed to obtain the subpopulation G. The specific process is as follows:

[0058]

[0059] Where Q(i,d) is the denormalized result of particle Q(i) in the dth dimension; μ and η are constants; s dmax and dmin S vcThe maximum and minimum values ​​of the dth dimension before normalization;

[0060] According to the subpopulation S vc and G, update the population Z, and the update method is as follows:

[0061] Z(i)=L best ←min(f obj (Z(i)),f obj (S vc (i)),f obj (Q(i))),i∈[1,M]

[0062] Among them, L best Refers to the particles Z(i), S vc The particle corresponding to the minimum target value calculated according to formula (4) is selected from Q(i) and Q(i).

[0063] Further, a horizontal crossover operation is performed to obtain the subpopulation S hc , using S hc The subpopulation G is obtained through chaotic operation, and S hc Combined with G to update the population Z, including:

[0064] The horizontal crossover probability P hc Under the condition, for the population S vc The different particles in the , perform non-repeated cross-pairing operations on each other. After that, we get the subpopulation S hc , the operation process is as follows:

[0065] S hc (i,d)=r 1 ×S vc (i,d)+(1-r 1 )×S vc (j,d)+c 1 ×(S vc (i,d)-S vc (j,d))

[0066] S hc (j,d)=r 2 ×S vc (j,d)+(1-r 2 )×S vc (i,d)+c 2 ×(S vc (j,d)-S vc (i,d))

[0067] Among them, r 1 and r 2 is a random number between 0 and 1; c 1 and c2 is a random number between -1 and 1; S vc (i, d) and S vc (j,d) is particle S vc (i and S vc (j) the dth dimension; S hc (i, d) and S hc (j,d) is S vc (i, d) and S vc (j, d) is the result of horizontal cross operation in the dth dimension;

[0068] According to the subpopulation S hc Perform chaotic operations to obtain subpopulation G. The difference is that the input now becomes subpopulation S. hc :

[0069] According to the subpopulation S hc and G, update the population Z, and the update method is as follows:

[0070] Z(i)=L best ←min(f obj (Z(i)),f obj (S hc (i)),f obj (Q(i))),i∈[1,M]

[0071] Among them, L best Refers to the particles Z(i), S hc The particle corresponding to the minimum target value calculated according to formula (4) is selected from Q(i) and Q(i).

[0072] Furthermore, the target initial value of the DBN neural network prediction model is fine-tuned from top to bottom, including:

[0073] The Back Propagation algorithm is used to fine-tune the target initial value from top to bottom. The process performs supervised training to make the model converge to the optimal solution and determine the structure of the DBN prediction model.

[0074] The model converges to an optimal solution, including:

[0075] The dimensional values ​​of the group extreme values ​​finally obtained after DCCSO optimization are set as the connection weights of the DBN prediction model, and the DBN prediction model is pre-trained and reversely fine-tuned until the requirements for DBN end training are met and the DBN network modeling is completed.

[0076] The present application provides a method for predicting the duration of power expansion projects based on a CSO-optimized DBN model. By collecting historical data of historical power expansion projects and preprocessing the historical data, a DBN neural network prediction model is established, and the initial weights of the DBN prediction model are optimized using a dynamic chaotic crisscross algorithm in the early stages of training. This can effectively improve the convergence speed and generalization performance of the DBN prediction model, and improve the disadvantage of being easily trapped in a local optimal solution. At the same time, by constructing a regularization term in which multiple indicators work together and combine the initial weights as the target fitness function, the generalization problem of the model can be avoided during the optimization process. The optimized DBN prediction model has strong data analysis and feature extraction capabilities, and can accurately and effectively improve the accuracy of predictions on the duration of expansion projects.

[0077] In order to more clearly illustrate the embodiments of the present application 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] Figure 1 This is a flowchart of the steps of a method for predicting the duration of a power industry expansion project based on a CSO optimized DBN model in an embodiment of the present application. DETAILED DESCRIPTION

[0079] In order to make the objectives, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

[0080] It should be clear that the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the embodiments of the present application.

[0081] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the embodiments of the present application. The singular forms of "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0082] When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims. In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar human bodies, and do not have to be used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances.

[0083] In addition, in the description of this application, unless otherwise specified, "multiple" means two or more. "And / or" describes the association relationship of the associated human bodies, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated human bodies before and after are in an "or" relationship.

[0084] At present, the process of business expansion is relatively simple and the model is relatively fixed. As for the expansion of the distribution network industry, it currently involves a wide range of links and the process is relatively mechanized. The duration plan of the power industry expansion project is particularly important. If the duration estimate is inaccurate, the reporting efficiency will be low, which will affect the progress of the industry expansion project.

[0085] To solve the above problems, see Figure 1 , Figure 1 This application provides a method for predicting the duration of power industry expansion projects based on a CSO optimized DBN model, the method comprising the following steps:

[0086] Step S1: Obtain the project cost and project engineering quantity of the project to be predicted.

[0087] The cost of a business expansion project refers to the total amount of money spent on the entire process of the business expansion project. The project volume refers to what works are included in the business expansion project, such as: cable line length, overhead line length, number of switch stations, etc. Different business expansion projects have different corresponding costs and volumes.

[0088] Step S2: Determine the target DBN prediction model of the project to be predicted according to the distribution of the project cost.

[0089] Due to different projects, the corresponding project costs and engineering quantities may vary greatly. Cost is one of the key concerns of customers who use business expansion applications. Therefore, the DBN prediction model can be determined according to the project cost distribution. The target DBN prediction model is used to indicate different DBN prediction models corresponding to different projects to be predicted.

[0090] Step S3: Input the project cost and project engineering quantity of the project to be predicted into the trained target DBN prediction model to obtain the duration of the project to be predicted.

[0091] The trained target DBN prediction model can avoid the problem of model generalization in the optimization process. Therefore, the accuracy of the project duration obtained by predicting the project cost and project engineering quantity of the business expansion project through this model is greatly improved.

[0092] Among them, in step S3, the training process of the DBN prediction model is as follows:

[0093] The historical data of the historical expansion projects of the electric power industry are obtained and abnormal data are eliminated, wherein the historical data includes the historical project costs, the historical project engineering quantities, and the historical project durations.

[0094] Among them, the elimination of abnormal data includes: checking whether there are null values ​​in the historical data. If the historical data of a project contains one or more null value data, the null value data is assigned a value of zero.

[0095] The data obtained from the above steps are checked a second time. If the duration of a business expansion project in the historical data of a certain project is zero, the data of that project will be eliminated.

[0096] According to the distribution of the historical project costs, the historical power industry expansion projects are classified by quartiles to obtain cost ranges of four projects.

[0097] Quartiles, also known as quartiles, refer to the values ​​at three dividing points in statistics when all values ​​are arranged from small to large and divided into four equal parts. They are often used in box plots in statistics. They are the values ​​at the 25% and 75% positions after a set of data is sorted. Quartiles divide all data into 4 parts by 3 points, each of which contains 25% of the data.

[0098] Specifically, for example: there are 8 data in the historical projects, and their project costs are 20, 24, 47, 51, 74, 78, 92, and 96 respectively. Then according to the distribution of project costs, the quartile classification is used to obtain the cost ranges of the four projects. Their project costs include 20 and 24 in the first category, 47 and 51 in the second category, 74 and 78 in the third category, and 92 and 96 in the fourth category.

[0099] Dynamically select historical data of historical projects in each cost range as a training set, use the historical project costs and historical project quantities as input, and use the historical project duration as the target output, and establish a DBN prediction model of the corresponding category based on the training set to obtain four DBN prediction models.

[0100] According to the quartiles, four cost ranges can be obtained. Different cost ranges correspond to different DBN prediction models. A training set formed by historical data corresponding to a cost range is randomly selected to establish the corresponding DBN prediction model, thereby obtaining four different DBN prediction models.

[0101] The initial weights of the DBN prediction model are optimized according to DCCSO to obtain target initial weights, wherein the DCCSO is an improved chaotic vertical and horizontal crossover algorithm.

[0102] DCCSO is Chaos CSO, while CSO is a traditional crossover optimization algorithm. Compared with CSO, DCCSO has a calculation formula for chaotic crossover using chaotic operators. The advantage is that it increases the particle crossover space of the optimization algorithm, improves the search range of the optimization solution, and thus improves the optimization accuracy.

[0103] The target initial weights of the DBN prediction model are fine-tuned from top to bottom to obtain a trained DBN prediction model.

[0104] In order to accelerate model convergence, this application uses the dynamic chaos cross algorithm to optimize the weights and thresholds of the DBN prediction model in the early stage of training. At the same time, by constructing multiple indicators to work together and combining the regularization term of the parameters to be optimized as the target fitness function, the generalization problem of the model can be avoided during the optimization process. By predicting the business expansion duration through the optimized DBN model, the accurate business expansion duration can be quickly obtained.

[0105] In a specific example, establishing a DBN prediction model of a corresponding category based on the training set includes:

[0106] Each restricted Boltzmann machine (RBM) in the DBN prediction model is trained layer by layer using an unsupervised greedy learning algorithm.

[0107] The specific steps of training RBM are: randomly select a sample from the training set, input it into the visible layer of the first RBM, update the state S of each node in the first hidden layer j , as shown in formula (1);

[0108]

[0109] Among them, the preset node state is represented by {S j},S j represents the state of node j connected to node i, ω ij is the weight matrix, is a sigmoid function; N j (0,1) is the standard normal distribution function; σ∈[0,1].

[0110] According to the node state Sj , update the state of the first visible node of RBM, denoted as S′ i , as shown in formula (2);

[0111]

[0112] According to the node state S' i , update the hidden node state of the first RBM again, denoted as S′ j , as shown in formula (3):

[0113]

[0114] The feature information of the preprocessed historical data is transmitted layer by layer to initialize the parameters of the DBN prediction model and determine the initial connection weights and neuron biases.

[0115] The specific steps are: the hidden layer node state S′ of the first RBM j As the input of the second RBM, the state of each node of the second RBM is updated again;

[0116] Updating the states of the nodes of the DBN prediction model layer by layer until all the nodes of the DBN prediction model are updated;

[0117] Randomly select the next training sample in the training set as the input of the DBN prediction model, and train again until all the training samples in the training set have been input, end the first round of training, calculate the change in the weight value of the DBN prediction model, and update the weight matrix in the DBN prediction model, as shown in formula (4);

[0118] Δω ij =η ω ( i S j >- <S′ i S′ j >) (4)

[0119] The next round of training is started until the change in the weight matrix of the DBN prediction model is small enough or reaches the set maximum number of training times, that is, when ‖Δω(i)‖<ε, the training is ended and the DBN prediction model is constructed.

[0120] In a preferred embodiment, the initial weights of the DBN prediction model are optimized according to DCCSO to obtain target initial weights, including:

[0121] The objective function is to minimize the sum of the mean absolute error, mean square error and the regularization term of the initial weights;

[0122] ​Determine the upper and lower limits of the initial weight and initialize the population Z = [Z(1), Z(2), ..., Z(M)], where M is the number of particles in the population;

[0123] Perform vertical crossover operation to obtain subpopulation S vc , using the subpopulation S vc Obtain subpopulation G through chaotic operation, and combine Svc and G to update population Z;

[0124] Perform a horizontal crossover operation to obtain the subpopulation S hc , using S hc Obtain subpopulation G through chaotic operation, and combine Shc and G to update population Z;

[0125] Update the population Z according to the preset number of iterations.

[0126] In a specific embodiment, the minimum objective function is expressed as shown in formula (5):

[0127]

[0128] Among them, f obj is the optimization target; N is the number of training samples; D is the number of overall parameters required for training the DBN prediction model, which is also the dimension of the population particles; θ j Refers to the weight or threshold of the model; p is the actual measurement value corresponding to the training sample; p * is the predicted value of the business expansion project duration calculated based on the parameter vector θ obtained by optimizing the current algorithm; ξ and β are the indicator fusion coefficients, and the sum of the two is 1; λ is the regularization coefficient.

[0129] In a specific embodiment, the upper and lower limits of the initial weight are determined as follows:

[0130]

[0131] A single individual Z(m) in the population Z is expressed as: Z(m) = {θ j} j=1,2,…,D

[0132] Where l represents the lth layer of the optimized DBN prediction model; L l w and L l b Respectively represent the upper and lower limits of the weight and threshold of the lth layer; n l in and n l out They represent the number of input and output neurons in the lth layer respectively; ε is a constant.

[0133] In a specific embodiment, a vertical crossover operation is performed to obtain a subpopulation S vc , using the subpopulation S vc The subpopulation G is obtained through chaotic operation, and S vc Combined with G to update the population Z, including:

[0134] Normalization is performed on each dimension in the population Z. The specific formula is as follows:

[0135]

[0136] Among them, Z(i,d) refers to the weight or threshold of the d-th dimension of particle Z(i) in population Z, θ dmax refers to the maximum value of the weight or threshold of the dth dimension, θ dmin Refers to the minimum value of the weight or threshold of the dth dimension;

[0137] The vertical crossover probability P vc Under the condition, a non-repeated cross-pairing operation is performed on each particle in the population Z. The specific operation process is as follows:

[0138]

[0139] right Denormalize and get the final subpopulation S vc , the specific operations are as follows:

[0140]

[0141] Subpopulation S vc As input, the chaotic variable matrix Q is calculated, and the specific operation is:

[0142] Q(t)=1-a·|Q(t-1)|+S norm (t-1)

[0143] S norm (t) = b·Q(t)

[0144] Among them, t is the number of internal iterations of the chaotic operation; S norm Is S vc Each dimension of is normalized to the optimization subgroup in the interval [0, 1], and the parameters a and b are constants;

[0145] Q is dynamically saved for the next chaotic operation, and denormalization is performed to obtain the subpopulation G. The specific process is as follows:

[0146]

[0147] Where Q(i,d) is the denormalized result of particle Q(i) in the dth dimension; μ and η are constants; s dmax and dmin S vc The maximum and minimum values ​​of the dth dimension before normalization;

[0148] According to the subpopulation S vc and G, update the population Z, and the update method is as follows:

[0149] Z(i)=L best ←min(f obj (Z(i)),f obj (S vc (i)),f obj (Q(i))),i∈[1,M]

[0150] Among them, L best Refers to the particles Z(i), S vc The particle corresponding to the minimum target value calculated according to formula (4) is selected from Q(i) and Q(i).

[0151] In a specific embodiment, a horizontal crossover operation is performed to obtain a subpopulation S hc , using S hc The subpopulation G is obtained through chaotic operation, and Shc and G are combined to update the population Z, including:

[0152] The horizontal crossover probability P hc Under the condition, for the population S vc The different particles in the , perform non-repeated cross-pairing operations on each other. After that, we get the subpopulation S hc , the operation process is as follows:

[0153] S hc (i,d)=r 1 ×S vc (i,d)+(1-r 1 )×S vc (j,d)+c 1 ×(S vc (i,d)-S vc (j,d))

[0154] S hc (j,d)=r 2 ×S vc (j,d)+(1-r 2 )×S vc (i,d)+c 2 ×(S vc (j,d)-S vc (i,d))

[0155] Among them, r 1 and r 2 is a random number between 0 and 1; c 1 and c 2 is a random number between -1 and 1; S vc (i, d) and S vc (j,d) is particle S vc (i and S vc (j) the dth dimension; S hc (i, d) and S hc (j,d) is S vc (i, d) and S vc (j, d) is the result of horizontal cross operation in the dth dimension;

[0156] According to the subpopulation S hc Perform chaotic operations to obtain subpopulation G. The difference is that the input now becomes subpopulation S. hc :

[0157] According to the subpopulation S hc and G, update the population Z, and the update method is as follows:

[0158] Z(i)=L best ←min(f obj (Z(i)),f obj (S hc (i)),f obj (Q(i))),i∈[1,M]

[0159] Among them, L best Refers to the particles Z(i), S hc The particle corresponding to the minimum target value calculated according to formula (4) is selected from Q(i) and Q(i).

[0160] In a preferred embodiment, the initial weights of the DBN neural network prediction model are fine-tuned from top to bottom, including:

[0161] The BP (Back Propagation) algorithm is used to fine-tune the initial weights from top to bottom. The process performs supervised training to make the model converge to the optimal solution and determine the structure of the DBN prediction model.

[0162] The model converges to an optimal solution, including:

[0163] The dimensional values ​​of the group extreme values ​​finally obtained after DCCSO optimization are set as the connection weights of the DBN prediction model, and the DBN prediction model is pre-trained and reversely fine-tuned until the requirements for DBN end training are met and the DBN network modeling is completed.

[0164] The present application provides a method for predicting the duration of power expansion projects based on a CSO-optimized DBN model. By collecting historical data of historical power expansion projects and preprocessing the historical data, a DBN neural network prediction model is established, and the initial weights of the DBN prediction model are optimized using a dynamic chaotic crisscross algorithm in the early stages of training. This can effectively improve the convergence speed and generalization performance of the DBN prediction model, and improve the disadvantage of being easily trapped in a local optimal solution. At the same time, by constructing a regularization term in which multiple indicators work together and combine the initial weights as the target fitness function, the generalization problem of the model can be avoided during the optimization process. The optimized DBN prediction model has strong data analysis and feature extraction capabilities, and can accurately and effectively improve the accuracy of predictions on the duration of expansion projects.

[0165] It should be understood that the embodiments of the present application are not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of the embodiments of the present application is limited only by the appended claims. The above-described embodiments only express several implementation methods of the embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limitations on the scope of the invention patent. It should be pointed out that for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the embodiments of the present application, and these all belong to the scope of protection of the embodiments of the present application.

Claims

1. A method for predicting the duration of power industry expansion projects based on CSO optimized DBN model, characterized in that: The method comprises the following steps: Obtain the project cost and project engineering quantity of the project to be forecasted; Determining a target DBN prediction model for the project to be predicted based on the distribution of the project costs; Inputting the project cost and project engineering quantity of the project to be predicted into the trained target DBN prediction model to obtain the duration of the project to be predicted; The training method of the DBN prediction model is as follows: Obtain historical data of historical projects of power industry expansion and remove abnormal data, wherein the historical data includes historical project costs, historical project engineering quantities, and historical project durations; According to the distribution of the historical project costs, the historical power industry expansion projects are classified by quartiles to obtain cost ranges of four projects; Dynamically select historical data of historical projects in each cost range as a training set, use the historical project costs and historical project engineering quantities as inputs, use the historical project duration as a target output, and establish a DBN prediction model of a corresponding category based on the training set to obtain four DBN prediction models; The initial weights of the DBN prediction model are optimized according to DCCSO to obtain the target initial weights, wherein the DCCSO is an improved chaotic vertical and horizontal crossover algorithm. Compared with CSO, DCCSO has an additional calculation formula for chaotic crossover using a chaotic operator; Fine-tune the target initial weights of the DBN prediction model from top to bottom to obtain a trained DBN prediction model; The step of optimizing the initial weights of the DBN prediction model according to DCCSO to obtain the target initial weights includes: The objective function is to minimize the sum of the mean absolute error, mean square error and the regularization term of the initial weights; Determine the upper and lower limits of the initial weight and initialize the population Z = [Z(1), Z(2), ..., Z(M)], where M is the number of particles in the population; Perform vertical crossover operation to obtain subpopulation S vc , using the subpopulation S vc The subpopulation G is obtained through chaotic operation, and S vc Join with G to update population Z; Perform a horizontal crossover operation to obtain the subpopulation S hc , using S hc Obtain subpopulation G through chaotic operation, and combine Shc and G to update population Z; Update the population Z according to the preset number of iterations.

2. According to claim 1, a method for predicting the duration of a power industry expansion project based on a CSO optimized DBN model is characterized in that: A DBN prediction model of a corresponding category is established based on the training set, including: Using an unsupervised greedy learning algorithm to train each restricted Boltzmann machine RBM in the DBN prediction model layer by layer; The feature information of the preprocessed historical data is transmitted layer by layer to initialize the parameters of the DBN prediction model and determine the initial connection weights and neuron biases.

3. According to claim 2, a method for predicting the duration of power industry expansion projects based on CSO optimized DBN model is characterized in that: Each restricted Boltzmann machine (RBM) in the DBN prediction model is trained layer by layer using an unsupervised greedy learning algorithm, including: Randomly select a sample from the training set and input it into the visible layer of the first RBM to update the state S of each node in the first hidden layer. j , as shown in formula (1); Among them, the preset node state is represented by {S j },S j represents the state of node j connected to node i, ω ij is the weight matrix, is a sigmoid function; N j (0,1) is the standard normal distribution function; σ∈[0,1]; According to the node state S j , update the state of the first RBM visible node, denoted as S i ′, as shown in formula (2); According to the node state S i ′, update the hidden node state of the first RBM again, denoted as S j ′, as shown in formula (3):

4. According to claim 2, a method for predicting the duration of a power industry expansion project based on a CSO optimized DBN model is characterized in that: The characteristic information of the preprocessed historical data is transmitted layer by layer to initialize the parameters of the DBN prediction model and determine the initial connection weights and neuron biases, including: The hidden layer node state S of the first RBM j ' is used as the input of the second RBM to update the status of each node of the second RBM again; Updating the states of the nodes of the DBN prediction model layer by layer until all the nodes of the DBN prediction model are updated; Randomly select the next training sample in the training set as the input of the DBN prediction model, and train again until all the training samples in the training set have been input, end the first round of training, calculate the change in the weight value of the DBN prediction model, and update the weight matrix in the DBN prediction model, as shown in formula (4); Give ij =the ω ( i S j >- <S′ i S′ j >) (4)​ The next round of training is started until the change in the weight matrix of the DBN prediction model is small enough or reaches the set maximum number of training times, that is, when ‖Δω(i)‖<ε, the training is ended and the DBN prediction model is constructed.

5. A method for predicting the duration of a power industry expansion project based on a CSO optimized DBN model according to any one of claims 3 or 4, characterized in that: The minimum objective function is expressed as shown in formula (5): Among them, f obj is the optimization target; N is the number of training samples; D is the number of overall parameters required for training the DBN prediction model, which is also the dimension of the population particles; θ j Refers to the weight or threshold of the model; p is the actual measurement value corresponding to the training sample; p * is the predicted value of the business expansion project duration calculated based on the parameter vector θ obtained by optimizing the current algorithm; ξ and β are the indicator fusion coefficients, and the sum of the two is 1; λ is the regularization coefficient.

6. A method for predicting the duration of a power industry expansion project based on a CSO optimized DBN model according to any one of claims 3 or 4, characterized in that: The upper and lower limits of the initial weights are determined as follows: A single individual Z(m) in the population Z is expressed as: Z(m) = {θ j } j=1,2,...,D Wherein, l represents the lth layer of the optimized DBN prediction model; and Respectively represent the upper and lower limits of the weight and threshold of the lth layer; and They represent the number of input and output neurons in the lth layer respectively; ε is a constant.

7. A method for predicting the duration of a power industry expansion project based on a CSO optimized DBN model according to any one of claims 3 or 4, characterized in that ; Perform vertical crossover operation to obtain subpopulation S vc , using the subpopulation S vc The subpopulation G is obtained through chaotic operation, and S vc Combined with G to update the population Z, including: Normalization is performed on each dimension in the population Z. The specific formula is as follows: Among them, Z(i,d) refers to the weight or threshold of the d-th dimension of particle Z(i) in population Z, θ dmax refers to the maximum value of the weight or threshold of the dth dimension, θ dmin Refers to the minimum value of the weight or threshold of the dth dimension; The vertical crossover probability P vc Under the condition, a non-repeated cross-pairing operation is performed on each particle in the population Z. The specific operation process is as follows: right Denormalize and get the final subpopulation S vc , the specific operations are as follows: Subpopulation S vc As input, the chaotic variable matrix Q is calculated, and the specific operation is: Q(t)=1-a·|Q(t-1)|+S norm (t-1) S norm (t)=b·Q(t) Among them, t is the number of internal iterations of the chaotic operation; S norm Is S vc Each dimension of is normalized to the optimization subgroup in the interval [0, 1], and the parameters a and b are constants; Q is dynamically saved for the next chaotic operation, and denormalization is performed to obtain the subpopulation G. The specific process is as follows: Where Q(i,d) is the denormalized result of particle Q(i) in the dth dimension; μ and η are constants; s dmax and dmin S vc The maximum and minimum values ​​of the dth dimension before normalization; According to the subpopulation S vc and G, update the population Z, and the update method is as follows: Z(i)=L best ←min(f obj (Z(i)),f obj (S vc (i)),f obj (Q(i))),i∈[1,M] Among them, L best Refers to the particles Z(i), S vc The particle corresponding to the minimum target value calculated according to formula (4) is selected from Q(i) and Q(i).

8. A method for predicting the duration of a power industry expansion project based on a CSO optimized DBN model according to any one of claims 3 or 4, characterized in that: Perform a horizontal crossover operation to obtain the subpopulation S hc , using S hc The subpopulation G is obtained through chaotic operation, and Shc and G are combined to update the population Z, including: The horizontal crossover probability P hc Under the condition, for the population S vc The different particles in the , perform non-repeated cross-pairing operations on each other. After that, we get the subpopulation S hc , the operation process is as follows: S hc (i,d)=r1×S vc (i,d)+(1-r1)×S vc (j,d)+c1×(S vc (i,d)-S vc (j,d)) S hc (j,d)=r2×S vc (j,d)+(1-r2)×S vc (i,d)+c2×(S vc (j,d)-S vc (i,d)) Among them, r1 and r2 are random numbers between 0 and 1; c1 and c2 are random numbers between -1 and 1; S vc (i, d) and S vc (j,d) is particle S vc (i and S vc (j) the dth dimension; S hc (i, d) and S hc (j,d) is S vc (i, d) and S vc (j, d) is the result of horizontal crossover operation in the dth dimension; According to the subpopulation S hc Perform chaotic operations to obtain subpopulation G. The difference is that the input now becomes subpopulation S. hc : According to the subpopulation S hc and G, update the population Z, and the update method is as follows: Z(i)=L best ←min(f obj (Z(i)),f obj (S hc (i)),f obj (Q(i))),i∈[1,M] Among them, L best Refers to the particles Z(i), S hc The particle corresponding to the minimum target value calculated according to formula (4) is selected from Q(i) and Q(i).

9. The method for predicting the duration of power industry expansion projects based on the CSO optimized DBN model according to claim 1 is characterized in that: The target initial value of the DBN neural network prediction model is fine-tuned from top to bottom, including: The Back Propagation algorithm is used to fine-tune the target initial value from top to bottom. The process performs supervised training to make the model converge to the optimal solution and determine the structure of the DBN prediction model. The model converges to an optimal solution, including: The dimensional values ​​of the group extreme values ​​finally obtained after DCCSO optimization are set as the connection weights of the DBN prediction model, and the DBN prediction model is pre-trained and reversely fine-tuned until the requirements for DBN end training are met and the DBN network modeling is completed.