Solar radiation data classification method and system without preset parameters, and storage medium
The covariance matrix type and cluster number of solar radiation data are adaptively determined through the Dirichlet process hybrid model and variational reasoning, which solves the problem of preset parameter errors in the existing technology and realizes data classification without preset parameters. Improved accuracy of photovoltaic power generation forecast.
Patent Information
- Application Number
- CN202410973057.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-09-13
AI Technical Summary
Existing clustering algorithms require preset parameters when processing solar radiation data, which often results in preset parameter errors and unreasonable clustering results, affecting the accuracy of photovoltaic power generation prediction.
The Dirichlet process hybrid model is used combined with variational reasoning to adaptively determine the covariance matrix type and cluster number, and obtain the optimal parameters through optimization to achieve solar radiation data classification without preset parameters.
By automatically identifying over-fitting problems and determining the appropriate number of clusters, we ensure the reliability of automatic data classification and improve the accuracy of photovoltaic power generation prediction.
Smart Images

Figure CN118643360A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of meteorological data processing, and in particular relates to a solar radiation data classification method, system and storage medium without preset parameters. Background Art
[0002] Renewable energy forecasting is a rapidly developing field. Accurate forecasting of photovoltaic (PV) resources makes it more reliable and more widely used. PV forecasting is challenging due to changing weather patterns and potential mathematical modeling errors. Accurate forecasting requires a model that takes into account the chaotic characteristics of solar radiation data. If solar radiation data can be properly classified and then different forecasting strategies are adopted for different classifications, the accuracy of the forecast can be greatly improved.
[0003] Several data processing algorithms are used to characterize irregular solar irradiance datasets and provide prediction techniques based on data mining. Cluster analysis plays an important role in solving many problems of unsupervised pattern recognition. In the field of renewable energy forecasting, this technique can process data groups individually, better understand the collected information by identifying abnormal values and ignoring outliers, and improve the accuracy of the final prediction results.
[0004] At present, commonly used clustering algorithms all need to determine the number of clusters or their range based on prior knowledge. However, solar radiation has strong spatiotemporal variability and complex data characteristics. Errors in preset parameters often lead to unreasonable clustering results, which further cause abnormal deviations in photovoltaic power generation predictions. Summary of the invention
[0005] The present invention provides a solar radiation data classification method, system and storage medium without preset parameters. By using a Dirichlet process mixture model to infer data distribution characteristics of solar radiation data with preset parameters, the covariance matrix type and the number of clusters are adaptively determined, thereby reasonably classifying the solar radiation data without preset parameters, further ensuring the accuracy of photovoltaic prediction.
[0006] To achieve the above object, the present invention is implemented by adopting the following technical solutions.
[0007] In a first aspect, the present invention provides a solar radiation data classification method without preset parameters, comprising: Initialize the pre-built Dirichlet process mixture model based on historical solar radiation observation data; Solve the initialized mixed model according to various covariance matrix types and optimize the solved clustering results to obtain the optimal covariance matrix type; Solving the initialized hybrid model according to multiple upper bound constraints on the number of clusters and optimizing the solved clustering results to obtain the optimal number of clusters; The optimal covariance matrix type and the preferred clustering number are used to set the initialized hybrid model, and the solar radiation observation data to be classified is input into the model to obtain a classification result.
[0008] Optionally, the initializing a pre-constructed Dirichlet process mixed model according to the solar radiation historical observation data includes: The historical observation data of solar radiation are processed to obtain the historical observation sample set X ={ }; The historical observation sample set X = { Input the Dirichlet process mixture model, set its cluster number not greater than N, and use the variational inference method to estimate the model parameters to obtain the initialized mixture model, which is expressed as follows:
[0009] in, represents the historical observation sample, represents the Gaussian parameter, determined by the Dirichlet process, k represents the number of Gaussian distributions, represents the mixing weight, represents the mean, represents the covariance matrix, Indicates that the parameter is and Gaussian distribution.
[0010] Optionally, estimating model parameters using a variational inference method comprises: Specify a parameterized variational distribution ,in, represents a latent variable; The variational parameters are iteratively updated by maximizing the variational lower bound, so that the variational parameters are close to the target posterior distribution. The calculation process of maximizing the variational lower bound is as follows:
[0011] in, is the target posterior distribution.
[0012] Optionally, solving the initialized mixed model according to a plurality of covariance matrix types and optimizing to obtain an optimal covariance matrix type includes: The covariance matrix type of the initialized mixed model is set to spherical, diagonal, shared, and full rank for testing, and the mixed model is solved by variational inference to obtain clustering results for each test; Repeat each experiment the same number of times and randomly change the initial weight parameters of each experiment to obtain multiple clustering results for each experiment; The actual number of clusters is obtained according to the clustering results, and the variance between all the cluster numbers obtained in each test is calculated respectively; Compare the variances of each test, and take the covariance matrix type with the smallest variance value as the optimal covariance matrix type.
[0013] Optionally, solving the initialized hybrid model and optimizing it according to multiple upper bound constraints on the number of clusters to obtain a preferred number of clusters includes: Set the upper bound of the number of clusters to 2-N; The upper bound constraint value of the number of clusters of the initialized hybrid model is set to 2-N in turn, and experiments are performed respectively, and the hybrid model is solved by using variational inference to obtain the clustering result of each experiment; Repeat each experiment the same number of times and randomly change the initial weight parameters of each experiment to obtain multiple clustering results for each experiment; The actual number of clusters is obtained according to the clustering results, and the average and maximum values of all cluster numbers obtained from each test are calculated respectively; The preferred number of clusters was obtained based on the average and maximum values of each test.
[0014] Optionally, obtaining the preferred number of clusters according to the average value and the maximum value of each test comprises: Draw the curves of all the average values and all the maximum values of each test as the upper bound of the cluster number changes; Identify the upper bound constraint values of the number of clusters corresponding to the two mutation points of overfitting and complete overfitting that appear for the first time in the change curve, where overfitting means that the average value is less than the upper bound constraint value of the number of clusters, and complete overfitting means that the maximum value is less than the upper bound constraint value of the number of clusters; The upper bound constraint value of the number of clusters corresponding to overfitting is taken as the minimum number of clusters, and the upper bound constraint value of the number of clusters corresponding to complete overfitting is taken as the maximum number of clusters.
[0015] Optionally, the use of the optimal covariance matrix type and the preferred number of clusters to set the initialized hybrid model, and inputting the solar radiation observation data to be classified into the hybrid model to obtain a classification result, including: The initialized mixed model is initialized again according to the optimal covariance matrix type, the minimum number of clusters and the maximum number of clusters to obtain a classification model; The solar radiation observation data to be classified is input into the classification model. If the minimum cluster number is the same as the maximum cluster number, a unique classification result is output; if the minimum cluster number is different from the maximum cluster number, different classification results are output.
[0016] Optionally, the method further comprises: using internal evaluation criteria to evaluate the classification results, wherein the internal evaluation criteria include silhouette coefficient, Davidson-Borgin index, and variance ratio criterion.
[0017] In a second aspect, the present invention provides a solar radiation data classification system without preset parameters, comprising: Mixed model initialization module: used to initialize the pre-built Dirichlet process mixed model based on historical solar radiation observation data; Optimal covariance matrix type acquisition module: used to solve the initialized mixed model according to multiple covariance matrix types and optimize the solved clustering results to obtain the optimal covariance matrix type; Optimal cluster number acquisition module: used to solve the initialized hybrid model according to multiple cluster number upper bound constraint values and optimize the solved clustering results to obtain the optimal cluster number; Classification result acquisition module: used to use the optimal covariance matrix type and the preferred clustering number to set the initialized hybrid model, and input the solar radiation observation data to be classified into it to obtain the classification result.
[0018] In a third aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the solar radiation data classification method without preset parameters as described in any step of the first aspect.
[0019] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: by combining the Dirichlet process mixture model and variational reasoning to infer data distribution characteristics, the overfitting problem under preset parameters is automatically identified, the appropriate number of clusters is determined by identifying the mutation points where overfitting occurs, and the optimal range of classification numbers is determined by identifying the mutation points of the partition number through an iterative algorithm, thereby achieving automatic classification of data with unlimited preset parameters and being able to process clusters of different sizes and shapes, thereby ensuring the reliability of the classification results of solar radiation data without preset parameters, and further ensuring the accuracy of photovoltaic power generation prediction results. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 Shown is a flow chart of a solar radiation data classification method without preset parameters in an embodiment of the present invention;
[0021] Figure 2 It is a schematic diagram showing the stability of clustering of different covariance matrix types in one embodiment of the present invention;
[0022] Figure 3 The figure is a schematic diagram of a curve showing a change in the actual number of clusters with the upper bound constraint value in an embodiment of the present invention;
[0023] Figure 4The figure is a schematic diagram of classification results when the number of clusters is set to 5 in one embodiment of the present invention;
[0024] Figure 5 Shown is a schematic diagram of classification results when the number of clusters is set to 10 in an embodiment of the present invention. DETAILED DESCRIPTION
[0025] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.
[0026] Example 1
[0027] This embodiment provides a solar radiation data classification method without preset parameters, including:
[0028] Initialize the pre-built Dirichlet process mixture model based on historical solar radiation observation data;
[0029] Solve the initialized mixed model according to various covariance matrix types and optimize the solved clustering results to obtain the optimal covariance matrix type;
[0030] Solving the initialized hybrid model according to multiple upper bound constraints on the number of clusters and optimizing the solved clustering results to obtain the optimal number of clusters;
[0031] The optimal covariance matrix type and the preferred clustering number are used to set the initialized hybrid model, and the solar radiation observation data to be classified is input into the model to obtain a classification result.
[0032] Example 2
[0033] Based on Example 1, this example also makes the following design.
[0034] like Figure 1 As shown, the classification method is specifically divided into the following four steps.
[0035] Step 1: Data processing and model initialization
[0036] Assume that the data to be classified contains N samples, such as N solar radiation observation stations; the variable of each sample has D dimensions, such as the total solar radiation and diffuse radiation values for D months. In this case, the Gaussian mixture model is initialized to set its cluster number not exceeding N.
[0037] The present invention uses an infinite Gaussian mixture model to adaptively determine the number of clusters in a clustering task. In the infinite Gaussian mixture model, each data point is assumed to be generated by one of multiple Gaussian distributions. The number of these Gaussian distributions is theoretically infinite, but in practice only a finite number of Gaussian distributions contain samples. The model can be expressed as:
[0038] in, is the observed data point, i.e., the sample, is the mixing weight, is the parameter with the mean and the covariance matrix When constructing an infinite Gaussian mixture model, the Dirichlet process is used as the prior distribution of the mixture component. The Dirichlet process determines the parameters of the Gaussian distribution. The model adaptively adjusts the number of clusters based on the data and supports the dynamic introduction of new clusters when the data is added.
[0039] The present invention uses variational inference to solve the infinite Gaussian mixture model, mainly by optimizing a variational lower bound (ELBO) to approximate the true posterior distribution. First, a parameterized variational distribution is set ,in represents a hidden variable, and Denote the mixture weight and Gaussian parameter respectively. The variational distribution usually chooses an independent distribution under the mean field assumption with a simple structure and easy calculation, by maximizing ELBO:
[0040] This process iteratively updates the variational parameters to gradually approach the target posterior distribution. The key to this method is to balance computational complexity and model accuracy to ensure effective convergence.
[0041] Step 2: Determine the covariance matrix type
[0042] In the Gaussian mixture model, the covariance matrix determines the shape and direction of each Gaussian distribution, which directly affects the nature and quality of clustering. The present invention adopts a method of repeated experiments to observe the stability of clustering results to determine the covariance matrix type. The options of the covariance matrix type include:
[0043] 1) Spherical: The covariance matrix of each component is a scalar multiplied by the identity matrix, and the diffusion of each cluster is the same in all directions;
[0044] 2) Diagonal: The covariance matrix of each component is a diagonal matrix, that is, the expansion of different dimensions can be different, but the dimensions are considered independent of each other;
[0045] 3) Tied (shared): All components share the same covariance matrix, that is, the shape and direction of each component are consistent, but the position can be different;
[0046] 4) Full: Each component can have its own independent full covariance matrix, allowing different extensions in all directions and capturing all correlations between features.
[0047] The process of determining the covariance matrix type of the present invention is as follows: ① for each option, the maximum cluster number of the infinite Gaussian mixture model is set to N, the clustering result is adaptively obtained by using the variational inference method, and the actual cluster number is calculated; ② the process is repeated 100 times, and the initial weight parameter of each experiment is randomly changed; ③ the variance of the actual cluster number obtained by 100 repeated experiments for each option is calculated, and the smaller the variance is, the better the stability of the model under random initial conditions; ④ the option with the smallest variance of the 100 experimental results is selected as the covariance matrix type of the subsequent clustering experiment.
[0048] Step 3: Adaptive determination of the number of clusters
[0049] Variational inference uses a truncated Dirichlet process expression to estimate model parameters; in actual operation, only the upper bound constraint of the number of classifications needs to be provided; if the number of potential classifications is exceeded, variational inference will choose to set some mixed weights to values close to zero, so that an appropriate number of effective classifications can be automatically selected. The specific process of the present invention is as follows: ① Set the upper bound constraint value to vary between 2-N; ② For each upper bound value, use the variational inference method to obtain clustering results and calculate the actual number of clusters in the result; ③ Experiment 100 times for each upper bound value, and randomly change the initial weight parameters of each experiment; ④ Calculate the average and maximum values of the number of clusters obtained from 100 experiments; ⑤ Draw the curve of the above statistical value changing with the upper bound constraint value; ⑥ Identify the upper bound constraint values corresponding to the two mutation points of the first overfitting (average value less than the upper bound constraint) and complete overfitting (maximum value less than the upper bound constraint); the former represents the conservatively estimated number of clusters, and the latter is the maximum number of clusters.
[0050] Step 4: Classify the input data
[0051] Set the covariance matrix type of the Gaussian mixture model to the optimal type determined in step 2, the number of clusters to the upper limit of the mutation point position identified in step 3, input the sample data into the Gaussian mixture model for cluster analysis, and obtain the classification results of the data. There are two situations here: ① When the positions of the two mutation points described in step 3 coincide, the model outputs a unique classification result; ② When the positions of the two mutation points in step 3 are inconsistent, theoretically any number of clusters between the mutation points is reasonable; at this time, the model outputs two classification results, the first result is the classification result of the first mutation point cluster number, which is relatively loose in distinguishing data heterogeneity; the second result is the classification result of the second mutation point cluster number, which is more precise in distinguishing data heterogeneity.
[0052] In practical applications, there are no real category labels for solar radiation data classification, so the present invention uses internal evaluation criteria to evaluate the classification results. The internal evaluation criteria evaluate the clustering effect based on the data structure of the clustering result itself, and do not rely on external information. The present invention outputs the results of three internal evaluation criteria as a reference for users to use the classification results: ① Silhouette coefficient: the ratio between the average distance of each point to other points in its own cluster (intra-cluster dissimilarity) and the average distance between the point and all points in the nearest cluster (inter-cluster dissimilarity). The value range of the silhouette coefficient is from -1 to 1. The larger the value, the better the clustering effect. ② Davidson-Botting index: a simple linear combination based on the ratio of the average intra-cluster distance to the inter-cluster distance. The lower the index value, the better the clustering effect. ③ Variance ratio criterion: the ratio of intra-cluster dispersion to inter-cluster dispersion. The higher the value, the better the clustering effect.
[0053] Example 3
[0054] In order to verify the performance of the present invention, the monthly value data sets of 98 radiation observation stations of the China Meteorological Administration in 2007 and 2012 were used for verification, that is, the number of samples N=98 and the characteristic dimension D=12 of the sample points.
[0055] First, 100 repeated clustering experiments were conducted for each of the four covariance matrix types. The 2007 data were used for simulation training and the 2012 data were used for data prediction. The proportion of sites with the same prediction results as the training results was calculated. The example results are shown in Figure 2. Figure 2 As shown in the figure, when the covariance matrix type is diagonal, the variance of 100 experiments is 4, which is significantly smaller than the other three options; therefore, the covariance matrix type of the Gaussian mixture model is determined to be diagonal.
[0056] Then, the measured data of 98 stations were used to fit the infinite Gaussian mixture model with diagonal covariance matrix type. The number of clusters in the model varied from 2 to 98. Each group of experiments was repeated 100 times. The statistical results are shown in Figure 3 As shown. If the upper bound of clustering is set to be greater than 5, there will be some cases where the actual number of classifications is less than the set value, that is, the first mutation point occurs, and the average value is less than the upper bound constraint; when the upper bound exceeds 10, the number of classifications obtained in the experiment is lower than the preset value, that is, the second mutation point occurs, and the maximum value is less than the upper bound constraint. Based on the above analysis, the reasonable number of classifications should be between 5 and 10, so the data can be divided into 5 categories to reflect the main differences in the data, such as the difference in the total amount of solar radiation; the data can also be classified into 10 categories to reflect more detailed differences in the data, such as the seasonal differences in solar radiation.
[0057] Finally, set the covariance matrix type of the Gaussian mixture model to the diagonal type, set the number of clusters to 5, input the sample data into the Gaussian mixture model for cluster analysis, and obtain the 5-classification results of the data, such as Figure 4 As shown in the figure, the geographical scope covered by these five main categories is similar to the classic solar energy resource zoning scheme, reflecting the regional differences in the total amount of solar energy resources in my country: Category 1 region: Qinghai-Tibet Plateau and Yunnan region; Category 2 region: Northwest region; Category 3 region: Northeast region and North China region; Category 4 region: South China; Category 5 region: Sichuan Basin and surrounding areas. Similarly, the covariance matrix type of the Gaussian mixture model is set to diagonal type, the number of clusters is set to 10, and the sample data is input into the Gaussian mixture model for cluster analysis to obtain the 10 classification results of the data, as shown below: Figure 5 As shown in the figure, these 10 categories basically retain the characteristics of the 5 categories, that is, samples belonging to the same category in the 10 classification results also belong to the same category in the 5 classification results. This shows that the 10 categories are further subdivided on the 5 classification results, reflecting other more subtle differences in solar radiation, such as seasonal fluctuation characteristics.
[0058] Example 4
[0059] like Figure 2 As shown, this embodiment provides a solar radiation data classification system without preset parameters, including:
[0060] Mixed model initialization module: used to initialize the pre-built Dirichlet process mixed model based on historical solar radiation observation data;
[0061] Optimal covariance matrix type acquisition module: used to solve the initialized mixed model according to multiple covariance matrix types and optimize it to obtain the optimal covariance matrix type;
[0062] Optimal cluster number acquisition module: used to solve the initialized hybrid model and optimize it according to multiple cluster number upper bound constraint values to obtain the optimal cluster number;
[0063] Classification result acquisition module: used to use the optimal covariance matrix type and the preferred clustering number to set the initialized hybrid model, and input the solar radiation observation data to be classified into it to obtain the classification result.
[0064] Example 5
[0065] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the solar radiation data classification method without preset parameters as described in Example 2 is implemented.
[0066] 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 combining 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, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0067] 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.
[0068] 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.
[0069] 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.
Claims
1. A solar radiation data classification method without preset parameters, characterized in that: include: Initialize the pre-built Dirichlet process mixture model based on historical solar radiation observation data; Solve the initialized mixed model according to various covariance matrix types and optimize the solved clustering results to obtain the optimal covariance matrix type; Solve the initialized hybrid model according to different upper bound constraints on the number of clusters and optimize the solved clustering results to obtain the optimal number of clusters; The optimal covariance matrix type and the preferred clustering number are used to set the initialized hybrid model, and the solar radiation observation data to be classified is input into the model to obtain a classification result.
2. The solar radiation data classification method without preset parameters according to claim 1, characterized in that: Initializing the pre-built Dirichlet process mixed model according to the solar radiation historical observation data includes: The historical observation data of solar radiation are processed to obtain the historical observation sample set X ={ }; The historical observation sample set X = { Input the Dirichlet process mixture model, set its cluster number not greater than N, and use the variational inference method to estimate the model parameters to obtain the initialized mixture model, which is expressed as follows: ,in, represents the historical observation sample, represents the Gaussian parameter, determined by the Dirichlet process, k represents the number of Gaussian distributions, represents the mixing weight, represents the mean, represents the covariance matrix, Indicates that the parameter is and Gaussian distribution.
3. The solar radiation data classification method without preset parameters according to claim 2, characterized in that: The method of estimating model parameters by using a variational inference method comprises: Specify a parameterized variational distribution ,in, represents a latent variable; The variational parameters are iteratively updated by maximizing the variational lower bound, so that the variational parameters are close to the target posterior distribution. The calculation process of maximizing the variational lower bound is as follows: ,in, is the target posterior distribution.
4. The solar radiation data classification method without preset parameters according to any one of claims 2 or 3, characterized in that: Solving the initialized mixed model according to a plurality of covariance matrix types and optimizing the solved clustering results to obtain the optimal covariance matrix type includes: The covariance matrix type of the initialized mixed model is set to spherical, diagonal, shared, and full rank for testing, and the mixed model is solved by variational inference to obtain clustering results for each test; Repeat each experiment the same number of times and randomly change the initial weight parameters of each experiment to obtain multiple clustering results for each experiment; The actual number of clusters is obtained according to the clustering results, and the variance between all the cluster numbers obtained in each test is calculated respectively; Compare the variances of each test, and take the covariance matrix type with the smallest variance value as the optimal covariance matrix type.
5. The solar radiation data classification method without preset parameters according to claim 4, characterized in that: The step of solving the initialized hybrid model according to the plurality of upper bound constraints on the number of clusters and optimizing the solved clustering results to obtain the preferred number of clusters includes: Set the upper bound of the number of clusters to 2-N; The upper bound constraint value of the number of clusters of the initialized hybrid model is set to 2-N in turn, and experiments are performed respectively, and the hybrid model is solved by using variational inference to obtain the clustering result of each experiment; Repeat each experiment the same number of times and randomly change the initial weight parameters of each experiment to obtain multiple clustering results for each experiment; The actual number of clusters is obtained according to the clustering results, and the average and maximum values of all cluster numbers obtained from each test are calculated respectively; The preferred number of clusters was obtained based on the average and maximum values of each test.
6. The solar radiation data classification method without preset parameters according to claim 5, characterized in that: The preferred number of clusters is obtained according to the average value and maximum value of each test, including: Draw the curves of all the average values and all the maximum values of each test as the upper bound of the cluster number changes; Identify the upper bound constraint values of the number of clusters corresponding to the two mutation points of overfitting and complete overfitting that appear for the first time in the change curve, where overfitting means that the average value is less than the upper bound constraint value of the number of clusters, and complete overfitting means that the maximum value is less than the upper bound constraint value of the number of clusters; The upper bound constraint value of the number of clusters corresponding to overfitting is taken as the minimum number of clusters, and the upper bound constraint value of the number of clusters corresponding to complete overfitting is taken as the maximum number of clusters.
7. The solar radiation data classification method without preset parameters according to claim 6, characterized in that: The hybrid model initialized by using the optimal covariance matrix type and the preferred number of clusters is set, and the solar radiation observation data to be classified is input into the hybrid model to obtain a classification result, including: The initialized mixed model is initialized again according to the optimal covariance matrix type, the minimum number of clusters and the maximum number of clusters to obtain a classification model; The solar radiation observation data to be classified is input into the classification model. If the minimum cluster number is the same as the maximum cluster number, a unique classification result is output; if the minimum cluster number is different from the maximum cluster number, different classification results are output.
8. The solar radiation data classification method without preset parameters according to claim 1, characterized in that: The method also includes: using internal evaluation criteria to evaluate the classification results, wherein the internal evaluation criteria include silhouette coefficient, Davidson-Botting index, and variance ratio criterion.
9. A solar radiation data classification system without preset parameters, characterized in that: include: Mixed model initialization module: used to initialize the pre-built Dirichlet process mixed model based on historical solar radiation observation data; Optimal covariance matrix type acquisition module: used to solve the initialized mixed model according to multiple covariance matrix types and optimize the solved clustering results to obtain the optimal covariance matrix type; Optimal cluster number acquisition module: used to solve the initialized hybrid model according to multiple cluster number upper bound constraint values and optimize the solved clustering results to obtain the optimal cluster number; Classification result acquisition module: used to use the optimal covariance matrix type and the preferred clustering number to set the initialized hybrid model, and input the solar radiation observation data to be classified into it to obtain the classification result.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for classifying solar radiation data without preset parameters as described in any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Photovoltaic energy storage system full life cycle optimization operation method based on deep reinforcement learning
CN119647638A
