Carbon emission prediction method and device based on deep learning, equipment and medium
By expanding the dimensions of carbon emission data and constructing a convolutional neural network model, the problem of time-consuming and parameter sensitivity of machine learning models in carbon emission prediction is solved, the accuracy and generalization ability of prediction are improved, and the prediction of different types of carbon emissions is realized. Efficient processing of data of type and scale.
Patent Information
- Application Number
- CN202410689763.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-06
AI Technical Summary
Existing machine learning models have time-consuming and parameter sensitivity issues in carbon emission prediction, which limits the prediction speed and accuracy.
A method based on deep learning is used to construct a convolutional neural network model by dimensionally expanding the measurement data. The one-dimensional convolutional neural network is used for regression learning to obtain a carbon emissions prediction model.
It improves the accuracy and generalization ability of carbon emission prediction, can effectively handle carbon emission data of different types and scales, is not restricted by geography and industry, and makes full use of the correlation between time series information and multi-dimensional features in the data.
Smart Images

Figure CN118607708A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of carbon emission prediction, and in particular to a carbon emission prediction method, device, equipment and medium based on deep learning. Background Art
[0002] With the acceleration of industrialization and urbanization, global energy consumption continues to increase, mainly from activities such as burning fossil fuels and deforestation. These activities release a large amount of greenhouse gases such as carbon dioxide, exacerbating global climate change, leading to a series of problems such as rising temperatures and sea levels, and causing serious impacts on human society, the ecological environment and economic development. How to reduce greenhouse gas emissions, slow down the rate of global warming, and thus alleviate the major problem of climate warming is a long-term and arduous task that all mankind needs to face together.
[0003] In terms of carbon emissions forecasting, domestic and foreign scholars mainly use statistical methods, regression analysis, emission factor method, artificial intelligence and machine learning methods to predict carbon emissions.
[0004] Although machine learning models have incomparable advantages over traditional measurement models in predicting carbon emissions, they have obvious disadvantages in terms of time consumption and parameter sensitivity, which will greatly limit the speed and accuracy of machine learning in predicting carbon emissions.
[0005] In view of the shortcomings of machine learning, many researchers have begun to study new prediction ideas. Studies have found that by increasing the dimension of the input data and increasing the feature dimension of the data, more information can be provided to the model, which helps to capture more complex data patterns and relationships, improve the performance of the model, and thus reduce the complexity of the prediction. This new prediction model can present the internal data characteristics of the time series more completely, greatly reducing the difficulty of subsequent prediction work and helping to improve the prediction effect. Summary of the invention
[0006] The technical problem to be solved by the present invention is to provide a carbon emission prediction method, device, equipment and medium based on deep learning, so as to improve the accuracy and generalization ability of carbon emission prediction and provide technical support for low-carbon economic development and environmental protection.
[0007] The technical solution adopted by the present invention to solve the technical problem is: to provide a carbon emission prediction method based on deep learning, comprising the following steps:
[0008] Obtaining measurements that influence carbon emissions;
[0009] Performing dimension expansion processing on the measurement data;
[0010] The measured data after dimension expansion processing is input into the carbon emission prediction model to complete the prediction of carbon emissions; wherein the carbon emission prediction model is obtained by the following method:
[0011] Performing numerical expansion processing on the original data set; wherein the original data set is constructed by factors affecting carbon emissions;
[0012] Perform dimension expansion processing on the original data set after number expansion processing to obtain a training data set;
[0013] The training data set is used to perform regression learning on the convolutional neural network to obtain the carbon emission prediction model.
[0014] The dimension expansion processing of the measurement data is specifically: inputting the measurement data into a dimension expansion model to obtain measurement data of a desired dimension; wherein the dimension expansion model includes a fully connected layer, and the activation function of the dimension expansion model is a nonlinear activation function.
[0015] The number expansion processing of the original data set is specifically: adding a random Gaussian noise to each data in the original data set, and adding the new data with the added noise to the original data set, wherein the mean value of the random Gaussian noise is 0 and the variance is a preset value.
[0016] The dimension expansion processing is performed on the original data set after the number expansion processing, specifically: each data in the original data set after the number expansion processing is input into the dimension expansion model to obtain training data of multiple expected dimensions, and the training data of multiple expected dimensions are constructed into a training data set, wherein the dimension expansion model includes a fully connected layer, and the activation function of the dimension expansion model is a nonlinear activation function.
[0017] The convolutional neural network is a one-dimensional convolutional neural network, including a convolutional layer, a pooling layer, a flattening layer, a fully connected layer and an output layer arranged in sequence; the convolutional neural network adopts a mean square error loss function and an Adam optimizer.
[0018] The technical solution adopted by the present invention to solve the technical problem is: to provide a carbon emission prediction device based on deep learning, comprising:
[0019] An acquisition module for acquiring measurement data affecting carbon emissions;
[0020] A preprocessing module, used for performing dimension expansion processing on the measurement data;
[0021] The prediction module is used to input the measured data after dimension expansion processing into the carbon emission prediction model to complete the prediction of carbon emissions; wherein the carbon emission prediction model is obtained by the following method:
[0022] Expand the original data set;
[0023] Performing dimension expansion processing on the original data set after the number expansion processing to obtain a training data set; wherein the original data set is constructed by factors affecting carbon emissions;
[0024] The training data set is used to perform regression learning on the convolutional neural network to obtain the carbon emission prediction model.
[0025] When the preprocessing module performs dimension expansion processing on the measurement data, specifically: the measurement data is input into the dimension expansion model to obtain measurement data of the desired dimension; wherein the dimension expansion model includes a fully connected layer, and the activation function of the dimension expansion model is a nonlinear activation function.
[0026] The number expansion processing of the original data set is specifically: adding a random Gaussian noise to each data in the original data set, and adding the new data with the added noise to the original data set, wherein the mean value of the random Gaussian noise is 0 and the variance is a preset value.
[0027] The dimension expansion processing is performed on the original data set after the number expansion processing, specifically: each data in the original data set after the number expansion processing is input into the dimension expansion model to obtain training data of multiple expected dimensions, and the training data of multiple expected dimensions are constructed into a training data set, wherein the dimension expansion model includes a fully connected layer, and the activation function of the dimension expansion model is a nonlinear activation function.
[0028] The convolutional neural network is a one-dimensional convolutional neural network, including a convolutional layer, a pooling layer, a flattening layer, a fully connected layer and an output layer arranged in sequence; the convolutional neural network adopts a mean square error loss function and an Adam optimizer.
[0029] The technical solution adopted by the present invention to solve its technical problem is: to provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned carbon emission prediction method based on deep learning when executing the computer program.
[0030] The technical solution adopted by the present invention to solve its technical problem is: providing a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned carbon emission prediction method based on deep learning are implemented.
[0031] Beneficial Effects
[0032] Due to the adoption of the above-mentioned technical scheme, the present invention has the following advantages and positive effects compared with the prior art: the present invention selects influencing factors affecting carbon emissions to construct a training data set, and expands the number and dimensions of the training data set, and then uses a convolutional neural network for regression learning to learn the nonlinear relationship between training data and carbon emissions, and obtains a carbon emissions prediction model. The use of this carbon emissions prediction model to predict carbon emissions can effectively process carbon emission data of different types and scales, is not restricted by region and industry, and can make full use of the correlation between the time series information and multidimensional features in the data, thereby improving the prediction accuracy and precision of carbon emissions. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 is a flow chart of a carbon emission prediction method based on deep learning according to a first embodiment of the present invention;
[0034] Figure 2 is a flowchart of constructing a carbon emission prediction model in the first embodiment of the present invention;
[0035] Figure 3 is a schematic diagram of number expansion processing in the first embodiment of the present invention;
[0036] Figure 4 is a schematic diagram of a convolutional neural network in a first embodiment of the present invention;
[0037] Figure 5 It is a performance description diagram of the model training in the first embodiment of the present invention. DETAILED DESCRIPTION
[0038] The present invention will be further described below in conjunction with specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention. In addition, it should be understood that after reading the content taught by the present invention, those skilled in the art can make various changes or modifications to the present invention, and these equivalent forms fall within the scope limited by the appended claims of the application equally.
[0039] The first embodiment of the present invention relates to a carbon emission prediction method based on deep learning, such as Figure 1 As shown, the following steps are included:
[0040] Step 1, obtaining measurement data affecting carbon emissions;
[0041] Step 2, performing dimension expansion processing on the measurement data; in this step, when performing dimension expansion processing on the measurement data, the measurement data is input into a dimension expansion model to obtain measurement data of a desired dimension.
[0042] Assuming that there are 5 sets of measurement data input in this step, the set of measurement data is written in the form of a 1×5 vector, and the vector is input into the dimension expansion model. The dimension expansion model includes a fully connected layer. In the fully connected layer, the 1×5 vector data will be multiplied by a 5×32 weight matrix to obtain a 1×32 intermediate vector. The low-dimensional input is mapped to the high-dimensional space through linear transformation, and a 1×32 bias term vector is added to the multiplication result. This helps the model introduce a certain offset and increase the flexibility and expression ability of the model. Applying an activation function (such as ReLU, sigmoid, etc.) to the result of the weighted summation can obtain the final 1×32 dimensional output vector. The role of this activation function is to introduce nonlinearity so that the model can learn complex features and patterns. Through the above operations, the 1×5 dimensional vector data can be successfully upgraded to 1×32 dimensions.
[0043] Step 3, inputting the dimensionally expanded measurement data into a carbon emission prediction model to complete the carbon emission prediction; wherein the carbon emission prediction model is obtained in the following manner.
[0044] like Figure 2 As shown, the carbon emission prediction model in this embodiment can be obtained by the following method:
[0045] Step a, performing a number expansion process on the original data set, wherein the original data set is constructed by factors affecting carbon emissions. Figure 3 As shown, the number expansion processing in this step is specifically: adding a random Gaussian noise with a mean of 0 and a variance of 20 to each data in the original data set, and adding the new data with added noise to the original data set, thereby realizing the processing of expanding the number in the original data set.
[0046] Step b, performing dimension expansion processing on the original data set after the number expansion processing to obtain a training data set; the dimension expansion processing in this step is the same as the dimension expansion processing in step 2, wherein the fully connected layer of the dimension expansion model can be directly added before the convolutional neural network to be learned, and the fully connected layer is not adjusted during learning.
[0047] Step c: using the training data set to perform regression learning on the convolutional neural network to obtain the carbon emission prediction model. Figure 4 As shown, the convolutional neural network used in this step is a one-dimensional convolutional neural network, which includes a convolutional layer, a pooling layer, a flattening layer, a fully connected layer and an output layer arranged in sequence; the convolutional neural network adopts a mean square error loss function and an Adam optimizer.
[0048] The present invention is further illustrated below by a specific embodiment.
[0049] This example provides a carbon emissions prediction method based on deep learning. First, a data set is established based on several selected carbon emissions influencing factors and existing carbon emissions data sets. Then, the data set is expanded and processed, and used as fingerprint information for training data. Then, a convolutional neural network is used for regression learning to learn the nonlinear relationship between the selected factor values and carbon emissions. Finally, carbon emissions are predicted by inputting relevant factor values. The specific process is as follows:
[0050] 1. Process data in the offline stage
[0051] 1) Dataset expansion processing
[0052] The data set used in this embodiment is extracted from the population, economic and technological resource data of the China Statistical Yearbook of the National Bureau of Statistics. This data set contains the population, GDP, urbanization rate, scientific research and technology investment funds, number of patent outputs and total carbon emissions data for the whole year for all provinces and cities across the country from 2001 to 2020. The first five columns of data are intercepted as features, and the total carbon emissions data is set as labels. The data set contains a total of 600 vector data consisting of 1×5 dimensions and is saved as an .xlsx file.
[0053] Read the table data of the .xlsx file and store it in the DataFrame object df. Extract the data from the 2nd to 601st rows of the first column in the table and store them in the original data. Loop through each value in the original data, use the random number generation function to generate new data, and store these new data in the new data list. Store the generated new data in the data table in the form of DataFrame. By concatenating the new data with the original data, the final expanded 1200 data are obtained and saved in the new data table. By expanding the data set and increasing the diversity of the data, it helps to improve the generalization ability of the model.
[0054] 2) Dataset dimensionality increase
[0055] Multiply each data in the expanded data set with a 5×32 weight matrix to obtain a 1×32 intermediate vector. Map the low-dimensional input to the high-dimensional space through linear transformation, and add a 1×32 bias vector to the multiplication result, which helps the model introduce a certain offset and increase the flexibility and expressiveness of the model. Apply an activation function (such as ReLU, sigmoid, etc.) to the result of the weighted summation to obtain the final 1×32 dimensional output vector. The role of the activation function is to introduce nonlinearity so that the model can learn complex features and patterns. Through the above processing, the 1×5 dimensional vector data set is successfully upgraded to 1×32 dimensions, which can be used as a higher-dimensional feature representation input into the subsequent neural network model for training and prediction.
[0056] Upgrading the dataset to 1×32 and then putting it into the CNN model can bring better feature representation, the advantages of adapting to the CNN model, higher-level feature extraction, the benefits of parameter sharing and weight sharing, and better spatial locality modeling capabilities, thereby improving the performance and generalization ability of the overall model.
[0057] 2. Construct neural network model training data
[0058] 1) Build a CNN neural network model
[0059] 1D-CNN (one-dimensional convolutional neural network) is usually used to process sequence data, such as time series data or signal data. The convolutional neural network used in this embodiment includes a convolution layer, a pooling layer, a flattening layer, a fully connected layer and an output layer.
[0060] The shape of the input data is (5,1), which means that there are 5 features as input, and the dimension of each feature is 1. In 1D-CNN, the convolution operation slides along one dimension (usually time). A convolution layer with 64 filters and a kernel size of 3 is used. The activation function of this layer is ReLU, which can help the network learn nonlinear features. A pooling layer with a pooling window size of 2 is used to reduce the spatial size of the feature map, which helps to reduce the number of parameters and extract the most important features. The output processed by the convolution layer and the pooling layer is flattened into a one-dimensional vector, which is used to flatten the multi-dimensional feature map into a one-dimensional vector for connection to the fully connected layer. A fully connected hidden layer with 50 neurons and an activation function of ReLU is used to connect the flattened feature vector to the output layer for the final prediction. Finally, an output layer with 1 neuron is used for regression tasks. The 1D-CNN model is trained using the training set data using the Adam optimizer and the mean squared error as the loss function, and the parameters are continuously adjusted through the back-propagation algorithm to reduce the loss.
[0061] Through this 1D-CNN model, the model can learn the characteristics of the input data and predict carbon emissions after training. The model's hierarchical structure and parameter settings affect the model's understanding and prediction capabilities of the data.
[0062] 2) Model training and regression learning
[0063] Ensure that the data is preprocessed (such as standardization and missing value processing) and divided into features and target variables to form training set data marked with features and labels. Use the training set data to put into the constructed 1D-CNN model for training. Through the back propagation algorithm, the model continuously adjusts the weights and biases according to the loss function to minimize the error between the predicted value and the true value. During the training process, monitor the performance of the model on the training set, and adjust the model parameters through the validation set to prevent overfitting. After the training is completed, use the test set to evaluate the performance of the model. Calculate the prediction error of the model on the test set to evaluate the generalization ability and prediction accuracy of the model.
[0064] Based on the evaluation results, model tuning can be performed to improve model performance. Possible tuning methods include adjusting the network structure, changing hyperparameters, increasing regularization, etc. The trained model can be used in various practical application scenarios, such as predicting continuous numerical outputs such as carbon emissions and stock prices, to support decision making and problem solving.
[0065] Through this process, the 1D-CNN model can learn features from the data and perform regression learning to achieve prediction of continuous numerical target variables. Continuously optimizing the model and adjusting parameters can improve the accuracy and generalization ability of the model, so that it can play a better role in practical applications. In practical applications, the performance of the model is continuously monitored, and feedback and adjustments are made based on the actual prediction results to ensure the reliability and accuracy of the model. The training performance of this embodiment is as follows: Figure 5 shown.
[0066] Finally, the trained model is used to predict the new data and the new feature data is input. The model will output the corresponding regression value for predicting the continuous numerical target variable. In this embodiment, five influencing factors are selected, and a group of true values are 1423, 4525, 78, 219 and 6345 respectively. The true value of carbon emissions is 64.27mt. After inputting this group of true values into the trained model, the predicted total carbon emissions are 65.06mt, and the relative error is 0.79.
[0067] It is not difficult to find that the present invention selects influencing factors affecting carbon emissions to construct a training data set, expands the number and dimensions of the training data set, and then uses a convolutional neural network for regression learning to learn the nonlinear relationship between training data and carbon emissions, and obtains a carbon emissions prediction model. The use of this carbon emissions prediction model to predict carbon emissions can effectively process carbon emission data of different types and scales, without being restricted by region and industry, and can make full use of the correlation between the time series information and multidimensional features in the data, thereby improving the prediction accuracy and precision of carbon emissions.
[0068] A second embodiment of the present invention relates to a carbon emission prediction device based on deep learning, comprising:
[0069] An acquisition module for acquiring measurement data affecting carbon emissions;
[0070] A preprocessing module, used for performing dimension expansion processing on the measurement data;
[0071] The prediction module is used to input the measured data after dimension expansion processing into the carbon emission prediction model to complete the prediction of carbon emissions; wherein the carbon emission prediction model is obtained by the following method:
[0072] Expand the original data set;
[0073] Performing dimension expansion processing on the original data set after the number expansion processing to obtain a training data set; wherein the original data set is constructed by factors affecting carbon emissions;
[0074] The training data set is used to perform regression learning on the convolutional neural network to obtain the carbon emission prediction model.
[0075] When the preprocessing module performs dimension expansion processing on the measurement data, specifically: the measurement data is input into the dimension expansion model to obtain measurement data of the desired dimension; wherein the dimension expansion model includes a fully connected layer, and the activation function of the dimension expansion model is a nonlinear activation function.
[0076] The number expansion processing of the original data set is specifically: adding a random Gaussian noise to each data in the original data set, and adding the new data with the added noise to the original data set, wherein the mean value of the random Gaussian noise is 0 and the variance is a preset value.
[0077] The dimension expansion processing is performed on the original data set after the number expansion processing, specifically: each data in the original data set after the number expansion processing is input into the dimension expansion model to obtain training data of multiple expected dimensions, and the training data of multiple expected dimensions are constructed into a training data set, wherein the dimension expansion model includes a fully connected layer, and the activation function of the dimension expansion model is a nonlinear activation function.
[0078] The convolutional neural network is a one-dimensional convolutional neural network, including a convolutional layer, a pooling layer, a flattening layer, a fully connected layer and an output layer arranged in sequence; the convolutional neural network adopts a mean square error loss function and an Adam optimizer.
[0079] A third embodiment of the present invention relates to an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned carbon emission prediction method based on deep learning when executing the computer program.
[0080] A fourth embodiment of the present invention relates to a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-mentioned carbon emission prediction method based on deep learning.
[0081] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.
[0082] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0083] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction method, which is implemented in the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0084] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0085] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A carbon emissions prediction method based on deep learning, It is characterized in that include: Obtaining measurements that influence carbon emissions; Performing dimension expansion processing on the measurement data; The measured data after dimension expansion is input into the carbon emission prediction model to complete the prediction of carbon emissions; The carbon emission prediction model is obtained by the following method: Expand the original data set; Performing dimension expansion processing on the original data set after the number expansion processing to obtain a training data set; wherein the original data set is constructed by factors affecting carbon emissions; The training data set is used to perform regression learning on the convolutional neural network to obtain the carbon emission prediction model.
2. According to the carbon emission prediction method based on deep learning according to claim 1, It is characterized in that The dimension expansion processing of the measurement data is specifically: inputting the measurement data into a dimension expansion model to obtain measurement data of a desired dimension; wherein the dimension expansion model includes a fully connected layer, and the activation function of the dimension expansion model is a nonlinear activation function.
3. According to the carbon emission prediction method based on deep learning according to claim 1, It is characterized in that The number expansion process of the original data set is specifically: adding a random Gaussian noise to each data in the original data set, The new data with added noise is added to the original data set, wherein the mean of the random Gaussian noise is 0 and the variance is a preset value.
4. According to the carbon emission prediction method based on deep learning according to claim 1, It is characterized in that The dimension expansion processing is performed on the original data set after the number expansion processing, specifically: each data in the original data set after the number expansion processing is input into the dimension expansion model to obtain training data of multiple expected dimensions, and the training data of multiple expected dimensions are constructed into a training data set, wherein the dimension expansion model includes a fully connected layer, and the activation function of the dimension expansion model is a nonlinear activation function.
5. According to the carbon emission prediction method based on deep learning according to claim 1, It is characterized in that The convolutional neural network is a one-dimensional convolutional neural network, including a convolutional layer, a pooling layer, a flattening layer, a fully connected layer and an output layer arranged in sequence; the convolutional neural network adopts a mean square error loss function and an Adam optimizer.
6. A carbon emissions prediction device based on deep learning, It is characterized in that include: An acquisition module for acquiring measurement data affecting carbon emissions; A preprocessing module, used for performing dimension expansion processing on the measurement data; The prediction module is used to input the measured data after dimension expansion processing into the carbon emission prediction model to complete the prediction of carbon emissions; wherein the carbon emission prediction model is obtained by the following method: Performing numerical expansion processing on the original data set; wherein the original data set is constructed by factors affecting carbon emissions; Perform dimension expansion processing on the original data set after number expansion processing to obtain a training data set; The training data set is used to perform regression learning on the convolutional neural network to obtain the carbon emission prediction model.
7. The carbon emission prediction device based on deep learning according to claim 6, It is characterized in that When the preprocessing module performs dimension expansion processing on the measurement data, specifically: the measurement data is input into the dimension expansion model to obtain measurement data of the desired dimension; wherein the dimension expansion model includes a fully connected layer, and the activation function of the dimension expansion model is a nonlinear activation function.
8. The carbon emission prediction device based on deep learning according to claim 6, It is characterized in that The number expansion process of the original data set is specifically: adding a random Gaussian noise to each data in the original data set, The new data with added noise is added to the original data set, wherein the mean of the random Gaussian noise is 0 and the variance is a preset value.
9. The carbon emission prediction device based on deep learning according to claim 6, It is characterized in that The dimension expansion processing is performed on the original data set after the number expansion processing, specifically: each data in the original data set after the number expansion processing is input into the dimension expansion model to obtain training data of multiple expected dimensions, and the training data of multiple expected dimensions are constructed into a training data set, wherein the dimension expansion model includes a fully connected layer, and the activation function of the dimension expansion model is a nonlinear activation function.
10. The carbon emission prediction device based on deep learning according to claim 6, It is characterized in that The convolutional neural network is a one-dimensional convolutional neural network, including a convolutional layer, a pooling layer, a flattening layer, a fully connected layer and an output layer arranged in sequence; the convolutional neural network adopts a mean square error loss function and an Adam optimizer.
11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the carbon emission prediction method based on deep learning as described in any one of claims 1 to 5 are implemented.
12. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the carbon emission prediction method based on deep learning as described in any one of claims 1 to 5 are implemented.
