Energy carbon emission prediction method and system based on MARS and AIC criteria, medium and equipment
Through the energy carbon emission prediction method based on MARS and AIC standards, the problem of immediacy and accuracy of energy prediction is solved, a comprehensive and accurate prediction of energy consumption and carbon emissions is achieved, and regional low-carbon development and "double carbon" are supported. achievement of goals.
Patent Information
- Application Number
- CN202411010331.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-09-17
AI Technical Summary
Existing technologies lack real-time, range coverage and accuracy of calculation results in energy forecasting, resulting in lagging energy consumption data and inaccurate carbon emission assessments, making it difficult to effectively support the "double carbon" goal.
Adopt the energy carbon emission prediction method based on the MARS and AIC criteria, build a MARS prediction model by acquiring multi-factor data, use the AIC criteria for model training and evaluation, predict energy consumption and calculate carbon emissions in real time, ensuring the comprehensiveness and accuracy of the prediction. .
It achieves comprehensive and accurate predictions of energy consumption, provides real-time reflection of energy carbon emissions, and supports regional green and low-carbon development and the realization of "double carbon" goals.
Smart Images

Figure CN118657537A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing and energy technology, and in particular to an energy carbon emission prediction method, system, medium and equipment based on MARS and AIC criteria. Background Art
[0002] The current climate issue has become a global consensus. With economic development and improved living standards, energy demand will continue to grow. Factors affecting energy consumption include population, economic aggregate, industrial structure, energy structure, technological progress, etc. my country has proposed the goal of "carbon peak and carbon neutrality". Clean energy will become the main force of future energy development. Therefore, accelerating the development of new energy, reducing the proportion of traditional fossil energy use, and reducing energy carbon emissions have become important future development directions. Accurate prediction of energy carbon emissions can provide a reference for regional carbon emission reduction planning, provide a reliable basis for emission reduction measures and plans, and help achieve the "dual carbon" goal.
[0003] Under the "dual carbon" goal, my country will gradually promote the dual control of energy consumption to dual control of carbon emissions. However, the energy forecast still needs to be further improved in terms of reflecting the immediacy of consumption, the comprehensiveness of coverage, and the accuracy of calculation results. For example, some energy consumption data will not be released until the second half of the year for last year's energy consumption data. Therefore, being able to accurately predict the current energy consumption situation and calculate its carbon emissions is one of the problems that need to be solved urgently. Summary of the invention
[0004] The purpose of the present invention is to overcome the deficiencies in the prior art and provide an energy carbon emission prediction method, system, medium and equipment based on MARS and AIC criteria, taking into account multiple factors affecting energy consumption, accurately constructing a MARS prediction model through the AIC criterion, and conducting a rationality evaluation on it, predicting the current energy consumption through the data of various factors affecting energy consumption at the current time, and then calculating carbon emissions, avoiding the problems of insufficient comprehensiveness of current energy consumption data, data lag, inaccurate carbon emission assessment, and so on, and reflecting the real-time energy carbon emission situation in real time.
[0005] In order to solve the above technical problems, the present invention is implemented by adopting the following technical solutions:
[0006] On the one hand, the present invention provides an energy carbon emission prediction method based on MARS and AIC criteria, comprising:
[0007] Obtain regional energy consumption data and influencing factor data;
[0008] According to the energy consumption data and influencing factor data, energy carbon emissions are predicted based on the trained MARS prediction model to obtain the predicted energy consumption in the regional target year;
[0009] Determine the energy carbon emission factor based on the predicted energy consumption and predict the energy carbon emission in the target year;
[0010] The training process of the MARS prediction model includes:
[0011] According to the energy consumption data and influencing factor data, determining independent variables and dependent variables, and constructing a test set and a training set;
[0012] According to the independent variables and dependent variables, the MARS prediction model is constructed using the AIC criterion;
[0013] The constructed MARS prediction model is trained using the training set, and the training result is evaluated using the test set to obtain a trained MARS prediction model.
[0014] Optionally, the energy consumption data includes energy consumption; the influencing factor data includes economic development, living standards, population size, industrial structure adjustment, energy structure change and technological progress;
[0015] The specific indicators of each influencing factor are as follows:
[0016] The economic development includes annual gross regional product (GDP);
[0017] The living standard includes per capita electricity consumption and per capita consumer expenditure ;
[0018] The population figures stated include the annual population growth figures ;
[0019] The industrial structure adjustment includes the energy consumption per unit output value of the primary industry. , Energy consumption per unit output value of the secondary industry and energy consumption per unit output value of the tertiary industry ;
[0020] The changes in energy structure include the proportion of clean energy use Proportion of fossil energy use ;
[0021] The technological progress performance includes the energy consumption per unit GDP of the primary industry. , Energy consumption per unit GDP of the secondary industry and energy consumption per unit GDP of the tertiary industry ;
[0022] The independent variables are the influencing factors, and the dependent variable is the energy consumption.
[0023] Optionally, constructing a test set and a training set includes:
[0024] According to the energy consumption data and influencing factor data, independent variables are used as model inputs and dependent variables are used as model outputs to form a sample set;
[0025] 75% of the data in the sample set is taken as a training set, and 25% of the data is taken as a test set, wherein the data ranges of the training set and the test set are continuous and consistent.
[0026] Optionally, constructing a MARS prediction model using the AIC criterion according to the independent variable and the dependent variable includes:
[0027] Determine the number and form of basis functions according to the independent variables and dependent variables, wherein the basis functions are smooth polynomials and adopt piecewise linear functions;
[0028] According to the basis functions, a set of MARS models are obtained through a forward stepwise process and a backward pruning process;
[0029] The MARS model with the smallest AIC value is selected as the optimal model through the AIC criterion to obtain the MARS prediction model;
[0030] The expression of the piecewise linear function is as follows:
[0031]
[0032]
[0033] in, represents the model input variable, The node values representing the model input variables;
[0034] The linear relationship between the basis functions is as follows:
[0035]
[0036] in, represents the model output variable, represents a constant, represents the number of basis functions, Represents the first The coefficients of the basis functions, Indicates basis functions;
[0037] The backward pruning process follows the generalized cross-validation principle, which has the following form:
[0038]
[0039] in, represents the penalty MARS complexity index, represents the number of samples, The first elements, The output variable of the model elements, The actual energy consumption elements, represents the penalty factor;
[0040] The AIC value is obtained by the following formula:
[0041]
[0042] in, Represents the residual sum of squares, and its expression is as follows:
[0043]
[0044] The expression of the MARS prediction model is as follows:
[0045]
[0046] in, represents the predicted value of the MARS prediction model, represents a constant, represents the parameters of the MARS forecast model, Represents basis functions.
[0047] Optionally, the model training and evaluation includes:
[0048] The prediction results of the MARS prediction model of the test set and the training set are compared with the actual results. The accuracy and rationality of the MARS prediction model are evaluated by statistical performance, cumulative probability and arithmetic calculation of the 20% accuracy level, and the mean absolute error MAE, root mean square error RMSE and determination coefficient of the test set and training set data are obtained. ;
[0049] The calculation method of the mean absolute error MAE is as follows:
[0050]
[0051] in, Indicates the actual energy consumption, is the predicted energy consumption of the MARS prediction model, represents the number of elements of the input variable, is the average value of actual energy consumption;
[0052] The calculation method of the root mean square error RMSE is as follows:
[0053]
[0054] The coefficient of determination The calculation method is as follows:
[0055]
[0056] The expression of the trained MARS prediction model is as follows:
[0057]
[0058] in, Indicates energy The predicted consumption of represents a constant, represents the parameters of the trained MARS prediction model, Represents basis functions.
[0059] Optionally, the value of the energy carbon emission factor is determined by the predicted energy consumption and the IPCC carbon emission coefficient;
[0060] The energy carbon emissions for the predicted target year are achieved through the following formula:
[0061]
[0062] in, Indicates energy The carbon emissions produced, Indicates energy The predicted energy consumption, Indicates energy carbon emission factor.
[0063] In a second aspect, the present invention provides an energy carbon emission prediction system based on MARS and AIC criteria, comprising:
[0064] The data acquisition module is used to: obtain regional energy consumption data and influencing factor data;
[0065] The energy consumption prediction module is used to: perform energy carbon emission prediction based on the trained MARS prediction model according to the energy consumption data and influencing factor data, and obtain the predicted energy consumption for the regional target year;
[0066] The energy carbon emission prediction module is used to: determine the energy carbon emission factor according to the predicted energy consumption, and predict the energy carbon emission in the target year.
[0067] In a third aspect, the present invention provides a computer-readable storage medium having a computer program / instruction stored thereon. When the computer program / instruction is executed by a processor, the steps of the energy carbon emission prediction method based on the MARS and AIC criteria described in any one of the first aspects are implemented.
[0068] In a fourth aspect, the present invention provides a computer device / equipment / system, comprising:
[0069] Memory, for storing computer programs / instructions;
[0070] A processor is used to execute the computer program / instructions to implement the steps of the energy carbon emission prediction method based on MARS and AIC criteria as described in any one of the first aspects.
[0071] In a fifth aspect, the present invention provides a computer program product, comprising a computer program / instructions, characterized in that when the computer program / instructions are executed by a processor, the steps of the energy carbon emission prediction method based on MARS and AIC criteria described in any one of the first aspects are implemented.
[0072] Compared with the prior art, the present invention has the following beneficial effects:
[0073] 1. The energy carbon emission prediction method based on MARS and AIC criteria provided by the present invention takes into account multiple factors affecting energy consumption, has clear logic and boundaries, and can effectively predict the energy consumption of the current region based on the data of relevant factors such as population, economy, industry, and energy structure in the current region. The scope of energy consumption consideration is more comprehensive. The MARS prediction model based on the AIC criterion is used to fit the linear regression relationship between the influencing factors and energy consumption more accurately, objectively and truly reflecting the current energy consumption of the region. Then, the energy carbon emissions of the region are calculated through the latest energy carbon emission factors, providing effective support and guidance for the green and low-carbon development of the region.
[0074] 2. The energy carbon emission prediction system based on MARS and AIC criteria provided by the present invention realizes energy carbon emission prediction based on MARS and AIC criteria by setting a data acquisition module, an energy consumption prediction module and an energy carbon emission prediction module, which has practical significance and good application prospects;
[0075] 3. The computer-readable storage medium, computer device / equipment / system and computer program product provided by the present invention can execute the steps of the energy carbon emission prediction method based on MARS and AIC criteria provided by the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] Figure 1A flowchart of an energy carbon emission prediction method based on MARS and AIC criteria provided according to an embodiment of the present invention;
[0077] Figure 2 This is a comparison chart of predicted energy consumption and actual energy consumption of the MARS prediction model provided according to an embodiment of the present invention. DETAILED DESCRIPTION
[0078] The technical solution of the present invention is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present application and the specific features in the embodiments are detailed descriptions of the technical solution of the present application, rather than limitations on the technical solution of the present application. In the absence of conflict, the embodiments of the present application and the technical features in the embodiments can be combined with each other.
[0079] It should be noted that the term "and / or" in this article is only a description of the association relationship of associated objects, 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. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0080] Embodiment 1:
[0081] The embodiment of the present invention discloses an energy carbon emission prediction method based on MARS and AIC criteria, referring to Figure 1 As shown, the specific steps include:
[0082] S1, obtain regional energy consumption data and influencing factor data;
[0083] S2, according to the energy consumption data and influencing factor data, based on the trained MARS prediction model, perform energy carbon emission prediction to obtain the predicted energy consumption in the regional target year;
[0084] S3, determining an energy carbon emission factor based on the predicted energy consumption, and predicting energy carbon emissions in the target year.
[0085] Specifically,
[0086] In step S1, the energy consumption data includes energy consumption; the influencing factor data includes economic development, living standards, population size, industrial structure adjustment, energy structure change and technological progress;
[0087] The specific indicators of each influencing factor are as follows:
[0088] The economic development includes annual gross regional product (GDP);
[0089] The living standard includes per capita electricity consumption and per capita consumer expenditure ;
[0090] The population figures stated include the annual population growth figures ;
[0091] The industrial structure adjustment includes the energy consumption per unit output value of the primary industry. , Energy consumption per unit output value of the secondary industry and energy consumption per unit output value of the tertiary industry ;
[0092] The changes in energy structure include the proportion of clean energy use Proportion of fossil energy use ;
[0093] The technological progress performance includes the energy consumption per unit GDP of the primary industry. , Energy consumption per unit GDP of the secondary industry and energy consumption per unit GDP of the tertiary industry ;
[0094] Energy consumption data in this embodiment It is the energy consumption of a certain area over the years, including traditional fossil energy.
[0095] In step S2, the training process of the MARS prediction model includes:
[0096] S2.1, according to the energy consumption data and influencing factor data, determine the independent variables and dependent variables, and construct the test set and training set;
[0097] S2.2, constructing a MARS prediction model based on the independent variables and dependent variables using the AIC criterion;
[0098] S2.3, using the training set to perform model training on the constructed MARS prediction model, and using the test set to evaluate the training results to obtain a trained MARS prediction model.
[0099] In step S2.1, the independent variables are the influencing factors, and the dependent variable is the energy consumption.
[0100] In this example, the independent variables considered are the indicators of various influencing factors. is GDP, in 100 million yuan, the independent variable Per capita electricity consumption , unit is kWh, independent variable Per capita consumption expenditure , unit is yuan, independent variable The regional population , the unit is ten thousand, the independent variable is the energy consumption per unit output value of the primary industry, in tons / 100 million yuan, and the independent variable is the energy consumption per unit output value of the secondary industry, in tons / 100 million yuan, and the independent variable is the energy consumption per unit output value of the tertiary industry, in tons / 100 million yuan, and the independent variable Clean energy accounts for , independent variable The proportion of fossil energy , independent variable It is the unit energy efficiency of the product, in tons / 10,000 yuan.
[0101] The dependent variable is energy consumption. The raw coal consumption in a certain area is selected in tons, and the energy consumption in the region from 2012 to 2022 and the influencing factor data of the corresponding years are collected.
[0102] The construction of the test set and the training set includes:
[0103] According to the energy consumption data and influencing factor data, independent variables are used as model inputs and dependent variables are used as model outputs to form a sample set;
[0104] 75% of the data in the sample set is taken as a training set, and 25% of the data is taken as a test set, wherein the data ranges of the training set and the test set are continuous and consistent.
[0105] In this embodiment, the collected data is grouped. In order to accurately obtain the MARS prediction model, sufficient data is required. Therefore, based on the 10 years of data collected, each year is divided into 4 quarters of data, and a total of 40 groups of data are obtained, of which 75% of the data is used as a training set for training the model, and 25% of the data is used as a test set; the model training and test results are referenced Figure 2 shown.
[0106] In step S2.2, constructing a MARS prediction model using the AIC criterion according to the independent variables and the dependent variables includes:
[0107] Determining the number and form of basic functions (BFs) according to the training set or the test set, wherein the basic functions are smooth polynomials and adopt piecewise linear functions;
[0108] According to the basis functions, a set of MARS models are obtained through a forward stepwise process and a backward pruning process;
[0109] The MARS model with the smallest AIC value is selected as the optimal model through the AIC criterion to obtain the MARS prediction model.
[0110] The expression of the piecewise linear function is as follows:
[0111]
[0112]
[0113] in, represents the model input variable, The node values representing the model input variables;
[0114] The linear relationship between the basis functions is as follows:
[0115]
[0116] in, represents the model output variable, represents a constant, represents the number of basis functions, Represents the first The coefficients of the basis functions, Indicates basis functions.
[0117] In this embodiment, the construction steps of the MARS prediction model are divided into two steps. In the first step, in the forward stepwise process, MARS estimates the value of the target variable using a constant value, which is the average value of the target variable data. With the maximum number of basis functions, all possible basis functions will be added to the model. At this stage, a large number of overfitting models will be generated; in the second step, backward pruning is used, and MARS identifies basis functions with lower importance and removes these basis functions through a pruning process. This process follows the generalized cross validation principle (Generalized Cross Validation, GCV), and the generalized cross validation principle is in the following form:
[0118]
[0119] in, represents the penalty MARS complexity index, represents the number of samples, The first elements, The output variable of the model elements, The actual energy consumption elements, Represents the penalty factor.
[0120] Different MARS models can be constructed by inputting different combinations of independent variable parameters. In order to determine the optimal MARS prediction model, the AIC criterion is used to select the MARS model with the smallest AIC value as the optimal model. Under different combinations of energy consumption influencing factors, that is, considering n input variables X=[x1, x2, x3, …, x n ], the AIC values of different MARS models are obtained by the following formula:
[0121]
[0122] in, Represents the residual sum of squares, and its expression is as follows:
[0123]
[0124] The expression of the MARS prediction model is as follows:
[0125]
[0126] in, represents the predicted value of the MARS prediction model, represents a constant, represents the parameters of the MARS forecast model, Represents basis functions.
[0127] In this embodiment, the minimum AIC value of the MARS model is -759.12, and the input parameters are x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18, x19, x20, x21, x22, x23, x24, x25, x26, x27, 10 , the number of BFs of the MARS model is 20, and the basis functions and MARS model are shown in Table 1:
[0128]
[0129] In step S2.3, the model training and evaluation includes:
[0130] The prediction results of the MARS prediction model of the test set and the training set are compared with the actual results. The accuracy and rationality of the MARS prediction model are evaluated by statistical performance, cumulative probability and arithmetic calculation of the 20% accuracy level, and the mean absolute error MAE, root mean square error RMSE and determination coefficient of the test set and training set data are obtained. .
[0131] The calculation method of the mean absolute error MAE is as follows:
[0132]
[0133] in, Indicates the actual energy consumption, is the predicted energy consumption of the MARS prediction model, represents the number of elements of the input variable, is the average value of actual energy consumption;
[0134] The calculation method of the root mean square error RMSE is as follows:
[0135]
[0136] The coefficient of determination The calculation method is as follows:
[0137]
[0138] The expression of the trained MARS prediction model is as follows:
[0139]
[0140] in, Indicates energy The predicted consumption of represents a constant, represents the parameters of the trained MARS prediction model, Represents basis functions.
[0141] The mean absolute error (MAE), root mean square error (RMSE) and determination coefficient of the test set and training set data in this embodiment As shown in Table 2:
[0142]
[0143] The errors of the training set and the test set are both within 20%, and the results show that the MARS model can reasonably predict the energy consumption in the area.
[0144] In step S3, the value of the energy carbon emission factor is determined by the predicted energy consumption and the IPCC carbon emission coefficient;
[0145] The energy carbon emissions for the predicted target year are achieved through the following formula:
[0146]
[0147] in, Indicates energy The carbon emissions produced, Indicates energy The predicted energy consumption, Indicates energy carbon emission factor.
[0148] In this embodiment, according to the MARS model prediction formula, the parameter values of various influencing factors in the current target area are input, and the raw coal consumption data for the regional target year is obtained to be 4632787t. Based on the raw coal consumption of 4632787t, the carbon emission coefficient of raw coal is 0.67tCO2 / t, and the raw coal carbon emission predicted for the regional target year is calculated to be 3103967.29t.
[0149] In summary, the energy carbon emission prediction method based on MARS and AIC criteria provided in this embodiment first collects regional energy consumption data and factor data affecting energy consumption, and determines the independent variable factors, including economic development, living standards, population, industrial structure adjustment, energy structure changes, and technological progress, and the dependent variable is energy consumption; secondly, according to the collected factor data and energy data, the test set and the training set are determined; then the model basis function is determined, and the optimal input parameters are selected by using the Akaike Information Criterion (AIC) to construct a MARS model of energy consumption; then, according to the prediction results of the test set and training set of the MARS model, the current MARS model is evaluated, and if the result is reasonable, the next prediction can be carried out, if the result is unreasonable, the basis function is re-determined to construct the MARS model; then, the regional target year energy consumption is predicted by the MARS prediction model, and the carbon emission factor or coefficient of energy is determined; finally, the predicted carbon emissions are calculated based on the predicted energy consumption data and the carbon emission factor / coefficient.
[0150] Embodiment 2:
[0151] Based on the same inventive concept as the first embodiment, the embodiment of the present invention discloses an energy carbon emission prediction system based on MARS and AIC criteria, which specifically includes:
[0152] The data acquisition module is used to: obtain regional energy consumption data and influencing factor data;
[0153] The energy consumption prediction module is used to: perform energy carbon emission prediction based on the trained MARS prediction model according to the energy consumption data and influencing factor data, and obtain the predicted energy consumption for the regional target year;
[0154] The energy carbon emission prediction module is used to: determine the energy carbon emission factor according to the predicted energy consumption, and predict the energy carbon emission in the target year.
[0155] The specific functional implementation of each of the above modules can be found in the relevant content of the method in Example 1 and will not be elaborated here.
[0156] Embodiment three:
[0157] This embodiment provides a computer-readable storage medium having a computer program / instruction stored thereon. When the computer program / instruction is executed by a processor, the steps of the energy carbon emission prediction method based on the MARS and AIC criteria as described in any one of the first embodiments are implemented.
[0158] Embodiment 4:
[0159] This embodiment provides a computer device / equipment / system, including:
[0160] Memory, for storing computer programs / instructions;
[0161] A processor is used to execute the computer program / instructions to implement the steps of the energy carbon emission prediction method based on MARS and AIC criteria as described in any one of the first embodiments.
[0162] Embodiment five:
[0163] This embodiment provides a computer program product, including a computer program / instruction, characterized in that when the computer program / instruction is executed by a processor, the steps of the energy carbon emission prediction method based on MARS and AIC criteria as described in any one of the first embodiments are implemented.
[0164] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0165] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks 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 produce 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.
[0166] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0167] 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. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0168] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present invention and the claims, which all fall within the protection of the present invention.
Claims
1. A method for predicting energy carbon emissions based on MARS and AIC criteria, It is characterized in that include: Obtain regional energy consumption data and influencing factor data; According to the energy consumption data and influencing factor data, energy carbon emissions are predicted based on the trained MARS prediction model to obtain the predicted energy consumption in the regional target year; Determine the energy carbon emission factor based on the predicted energy consumption and predict the energy carbon emission in the target year; The training process of the MARS prediction model includes: According to the energy consumption data and influencing factor data, determining independent variables and dependent variables, and constructing a test set and a training set; According to the independent variables and dependent variables, the MARS prediction model is constructed using the AIC criterion; The constructed MARS prediction model is trained using the training set, and the training result is evaluated using the test set to obtain a trained MARS prediction model.
2. According to the energy carbon emission prediction method based on MARS and AIC criteria according to claim 1, It is characterized in that The energy consumption data include energy consumption; the influencing factor data include economic development, living standards, population size, industrial structure adjustment, energy structure changes and technological progress; The specific indicators of each influencing factor are as follows: The economic development includes annual gross regional product (GDP); The living standard includes per capita electricity consumption and per capita consumer expenditure ; The population figures stated include the annual population growth figures ; The industrial structure adjustment includes the energy consumption per unit output value of the primary industry. , Energy consumption per unit output value of the secondary industry and energy consumption per unit output value of the tertiary industry ; The changes in energy structure include the proportion of clean energy use Proportion of fossil energy use ; The technological progress performance includes the energy consumption per unit GDP of the primary industry. , Energy consumption per unit GDP of the secondary industry and energy consumption per unit GDP of the tertiary industry ; The independent variables are the influencing factors, and the dependent variable is the energy consumption.
3. According to the energy carbon emission prediction method based on MARS and AIC criteria according to claim 1 or 2, It is characterized in that The construction of the test set and the training set includes: According to the energy consumption data and influencing factor data, the independent variables are used as model inputs and the dependent variables are used as model outputs to form a sample set; 75% of the data in the sample set is taken as a training set, and 25% of the data is taken as a test set, wherein the data ranges of the training set and the test set are continuous and consistent.
4. According to the energy carbon emission prediction method based on MARS and AIC criteria according to claim 1 or 2, It is characterized in that The constructing of the MARS prediction model using the AIC criterion according to the independent variables and the dependent variables includes: Determine the number and form of basis functions according to the independent variables and dependent variables, wherein the basis functions are smooth polynomials and adopt piecewise linear functions; According to the basis functions, a set of MARS models are obtained through a forward stepwise process and a backward pruning process; The MARS model with the smallest AIC value is selected as the optimal model through the AIC criterion, and the MARS prediction model is obtained; The expression of the piecewise linear function is as follows: in, represents the model input variable, The node values representing the model input variables; The linear relationship between the basis functions is as follows: in, represents the model output variable, represents a constant, represents the number of basis functions, Represents the first The coefficients of the basis functions, Indicates basis functions; The backward pruning process follows the generalized cross-validation principle, which has the following form: in, represents the penalty MARS complexity index, represents the number of samples, The first elements, The output variable of the model elements, The actual energy consumption elements, represents the penalty factor; The AIC value is obtained by the following formula: in, Represents the residual sum of squares, and its expression is as follows: The expression of the MARS prediction model is as follows: in, represents the predicted value of the MARS prediction model, represents a constant, represents the parameters of the MARS forecast model, Represents basis functions.
5. According to the energy carbon emission prediction method based on MARS and AIC criteria as claimed in claim 1, It is characterized in that The model training and evaluation includes: The prediction results of the MARS prediction model of the test set and the training set are compared with the actual results. The accuracy and rationality of the MARS prediction model are evaluated by statistical performance, cumulative probability and arithmetic calculation of the 20% accuracy level, and the mean absolute error MAE, root mean square error RMSE and determination coefficient of the test set and training set data are obtained. ; The calculation method of the mean absolute error MAE is as follows: in, Indicates the actual energy consumption, is the predicted energy consumption of the MARS prediction model, represents the number of elements of the input variable, is the average value of actual energy consumption; The calculation method of the root mean square error RMSE is as follows: The coefficient of determination The calculation method is as follows: The expression of the trained MARS prediction model is as follows: in, Indicates energy The predicted consumption of represents a constant, represents the parameters of the trained MARS prediction model, Represents basis functions.
6. According to the energy carbon emission prediction method based on MARS and AIC criteria as claimed in claim 5, It is characterized in that The value of the energy carbon emission factor is determined by the predicted energy consumption and the IPCC carbon emission coefficient; The energy carbon emissions for the predicted target year are achieved through the following formula: in, Indicates energy The carbon emissions produced, Indicates energy The predicted energy consumption, Indicates energy carbon emission factor.
7. An energy carbon emission prediction system based on MARS and AIC criteria, It is characterized in that include: The data acquisition module is used to: obtain regional energy consumption data and influencing factor data; The energy consumption prediction module is used to: perform energy carbon emission prediction based on the trained MARS prediction model according to the energy consumption data and influencing factor data, and obtain the predicted energy consumption for the regional target year; The energy carbon emission prediction module is used to: determine the energy carbon emission factor according to the predicted energy consumption, and predict the energy carbon emission in the target year.
8. A computer-readable storage medium having a computer program / instructions stored thereon, It is characterized in that When the computer program / instruction is executed by a processor, the steps of the energy carbon emission prediction method based on MARS and AIC criteria described in any one of claims 1-6 are implemented.
9. A computer device / equipment / system, It is characterized in that include: Memory, for storing computer programs / instructions; A processor is used to execute the computer program / instructions to implement the steps of the energy carbon emission prediction method based on MARS and AIC criteria as described in any one of claims 1-6.
10. A computer program product comprising a computer program / instructions, It is characterized in that When the computer program / instruction is executed by a processor, the steps of the energy carbon emission prediction method based on MARS and AIC criteria described in any one of claims 1-6 are implemented.
