CN112348238A - Egg yield prediction PSO-SVM regression model based on principal component analysis - Google Patents
Egg yield prediction PSO-SVM regression model based on principal component analysis Download PDFInfo
- Publication number
- CN112348238A CN112348238A CN202011163847.3A CN202011163847A CN112348238A CN 112348238 A CN112348238 A CN 112348238A CN 202011163847 A CN202011163847 A CN 202011163847A CN 112348238 A CN112348238 A CN 112348238A
- Authority
- CN
- China
- Prior art keywords
- pso
- svm
- principal component
- component analysis
- regression model
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000513 principal component analysis Methods 0.000 title claims abstract description 35
- 238000000034 method Methods 0.000 claims abstract description 20
- 239000002245 particle Substances 0.000 claims abstract description 18
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 17
- 238000005457 optimization Methods 0.000 claims abstract description 17
- 239000011159 matrix material Substances 0.000 claims description 19
- 238000004458 analytical method Methods 0.000 claims description 13
- 238000004519 manufacturing process Methods 0.000 claims description 11
- 230000037396 body weight Effects 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 claims description 9
- 230000006870 function Effects 0.000 claims description 9
- 238000005259 measurement Methods 0.000 claims description 3
- 238000012360 testing method Methods 0.000 claims description 3
- 238000012549 training Methods 0.000 claims description 3
- 238000012706 support-vector machine Methods 0.000 abstract description 30
- 230000008901 benefit Effects 0.000 abstract description 4
- 230000017448 oviposition Effects 0.000 abstract description 3
- 238000011160 research Methods 0.000 abstract description 3
- 238000010219 correlation analysis Methods 0.000 abstract description 2
- 241000287828 Gallus gallus Species 0.000 abstract 1
- 235000013601 eggs Nutrition 0.000 description 19
- 230000008859 change Effects 0.000 description 4
- 235000013305 food Nutrition 0.000 description 4
- 230000006399 behavior Effects 0.000 description 3
- 238000000491 multivariate analysis Methods 0.000 description 3
- 239000013598 vector Substances 0.000 description 3
- OYPRJOBELJOOCE-UHFFFAOYSA-N Calcium Chemical compound [Ca] OYPRJOBELJOOCE-UHFFFAOYSA-N 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000012417 linear regression Methods 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 238000011426 transformation method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000002431 foraging effect Effects 0.000 description 1
- 230000002068 genetic effect Effects 0.000 description 1
- 229910052500 inorganic mineral Inorganic materials 0.000 description 1
- 230000006386 memory function Effects 0.000 description 1
- 239000011707 mineral Substances 0.000 description 1
- 230000035772 mutation Effects 0.000 description 1
- 235000016709 nutrition Nutrition 0.000 description 1
- 238000013433 optimization analysis Methods 0.000 description 1
- 102000004169 proteins and genes Human genes 0.000 description 1
- 108090000623 proteins and genes Proteins 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 229940088594 vitamin Drugs 0.000 description 1
- 229930003231 vitamin Natural products 0.000 description 1
- 235000013343 vitamin Nutrition 0.000 description 1
- 239000011782 vitamin Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
- G06N20/10—Machine learning using kernel methods, e.g. support vector machines [SVM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/004—Artificial life, i.e. computing arrangements simulating life
- G06N3/006—Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/02—Agriculture; Fishing; Forestry; Mining
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Human Resources & Organizations (AREA)
- Economics (AREA)
- Software Systems (AREA)
- Evolutionary Computation (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Business, Economics & Management (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Physics (AREA)
- Tourism & Hospitality (AREA)
- Marketing (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Entrepreneurship & Innovation (AREA)
- Agronomy & Crop Science (AREA)
- Development Economics (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Computational Linguistics (AREA)
- Molecular Biology (AREA)
- Game Theory and Decision Science (AREA)
- Animal Husbandry (AREA)
- Marine Sciences & Fisheries (AREA)
- Mining & Mineral Resources (AREA)
- Primary Health Care (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Medical Informatics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides an egg yield prediction PSO-SVM regression model based on principal component analysis, which comprises the steps of analyzing the relationship between the egg laying rate of an egg chicken and the highest house temperature, the lowest house temperature, the weight, the age in day and the feed consumption by utilizing the principal component; according to the result of the principal component analysis, giving appropriate weight to each one-dimensional feature of the data; and taking the weight-endowed result as the input of a PSO-SVM, and establishing a regression model of five-dimensional characteristics of the laying rate of the laying hens, the highest house temperature, the lowest house temperature, the weight, the age of the day and the feed consumption by using a PSO-SVM algorithm. The method utilizes principal component analysis and correlation analysis to research the correlation between the laying rate of the laying hens and characteristics such as age in days, house temperature, weight, feed consumption and the like, weights are given to all the characteristics according to Pearson correlation coefficients of 6 characteristics, larger weights are given to the characteristics with larger influence on the laying rate, on the basis, egg yield regression modeling is carried out on weighted data by utilizing an SVM (support vector machine), and parameters of the SVM are optimized by utilizing a PSO (particle swarm optimization) algorithm, so that the method has the advantages of high precision, strong anti-interference performance and the like.
Description
Technical Field
The invention relates to the technical field of data modeling, algorithm optimization and data analysis, in particular to an egg yield prediction PSO-SVM regression model based on principal component analysis.
Background
The eggs are used as the leading people of egg consumer products, provide abundant protein, fat, mineral substances, various vitamins and the like for human bodies, and have extremely high nutritional value. According to the statistics of world food and agricultural organizations, the global egg yield exceeds 7000 kilotons in 2015, and the yield of the first five egg-laying countries accounts for 55 percent of the total demand, wherein the egg yield of China is the first in the world. The characteristics causing the change of the egg yield are very complex, the change of the egg yield can reflect various characteristics such as environmental change in a farm, growth change of laying hens and the like in a time period, the economic benefit of the farm can be improved by predicting the egg yield data in advance, and meanwhile, an important reference basis is provided for how much production resources need to be put into the farm in the next stage. At present, most of egg yield prediction is modeled by using a traditional method, and the defects of low precision, poor interference resistance and the like exist.
Principal component analysis is one of multivariate analysis methods, which aims to convert a plurality of features into several comprehensive features, namely principal components, within the allowable range of information loss by using a dimension reduction idea. The principal components are not related to each other, but each principal component is a linear combination of the original features.
A Support Vector Machine (SVM) is a machine learning method provided by Vapnik, cortex and the like on the basis of a statistical learning theory, the method seeks the idea of risk minimization by utilizing the compromise between approximation precision and model complexity so as to achieve a good approximation effect, SVM regression maps actual sample data to a high-dimensional feature space by utilizing a kernel function through a nonlinear transformation method, and then a decision function is constructed to realize linear regression. The Support Vector Machine (SVM) has good performance in classification and regression after being proposed, but still has the problem of parameter selection, the selection of parameters c (penalty factor) and g (hyper-parameter generated after RBF kernel function is selected) can greatly influence the performance of the SVM, and the selection of a proper parameter becomes the problem to be solved. The method includes the steps that a Particle Swarm Optimization (PSO) simulates the behavior of bird clusters in flying foraging, the clusters are optimized through collective cooperation, and the optimal parameters can be selected for an SVM model.
Disclosure of Invention
In order to solve certain technical problems or some technical problems in the prior art, the invention provides the egg yield prediction PSO-SVM regression model based on principal component analysis, the egg yield regression model is established by utilizing a plurality of influence factors, and the egg yield prediction PSO-SVM regression model has the advantages of high precision, strong anti-interference performance and the like.
In order to solve the above-mentioned existing technical problem, the invention adopts the following scheme: a PSO-SVM regression model for egg yield prediction based on principal component analysis comprises a first step of analyzing the relationship between the influence on the egg laying rate of laying hens and the highest house temperature, the lowest house temperature, the body weight, the age in days and the feed consumption by using principal components;
secondly, giving appropriate weight to each one-dimensional characteristic of the data according to the result of the principal component analysis;
and step three, taking the weight-given result as the input of a PSO-SVM, and establishing a regression model of five-dimensional characteristics of the laying rate of the laying hens, the highest house temperature, the lowest house temperature, the weight, the age of the day and the feed consumption by using a PSO-SVM algorithm.
Further, the regression model modeling steps are sequentially as follows: begin → read data → principal component analysis → weight is given to each dimensional feature → data is saved and modeled as SVM input → PSO-SVM.
Further, the principal component analysis step comprises the steps of 1, selecting initial variables, and forming an analysis covariance matrix or an analysis correlation matrix according to whether measurement or value ranges in the selected initial variables are the same;
step 2, solving the eigenvalue and the corresponding eigenvector of the analysis covariance matrix or the analysis correlation matrix by using a Jacobian method, then solving the contribution rate by using a formula and selecting a principal component, wherein the expression is as follows:
in the formula piFor each factor's correlation with egg production, EjIs a characteristic value of the principal component.
Further, the sample data of the initial variable is X ═ X (X)1,x2,x3,…,xi,…,x226)T226 samples each of which is data sample XiHas 6-dimensional characteristics, namely the age in days c1, the maximum cut temperature c2, the minimum cut temperature c3, the feed consumption c4, the body weight c5 and the laying rate c6, namely xi=(xic1,xic2,…,xicj,…,xicj) Standardizing the raw dataWhereinIs composed ofVar(xj) Is composed of
Further, the calculation mode of the sample correlation coefficient matrix correlation coefficient is calculated as
further, after non-equality constraints of the optimization problem in the SVM are replaced by equality constraints, an SLSVM model is formed, and the expression is as follows:wherein the constraint conditions are as follows:
yi(W*xi+b=1),i=1,2,…,m。
further, an error is introduced to each sample in the SLSVM modelCharacteristic eiAnd adding an L2 regular term of error characteristics into the original function, wherein the expression of the optimization term is as follows:
Further, calculating the currently searched individual optimal solution to replace the global optimal solution by the particle swarm optimization algorithm (PSO), which comprises the following steps: start → read training data → read test data → initialize SVM parameter → initialize PSO parameter → generate random particle → SVM regression → calculate fitness → update optimal result → update particle → confirm whether stop condition is satisfied, if so, then finish, if not, then return to the SVM regression step from new to recalculate until the stop condition is satisfied.
where v is velocity, x is position, w is an inertia factor, c1、c2Is a learning factor, pbest is an individual optimal location, and gbest is a global optimal location.
Compared with the prior art, the invention has the beneficial effects that:
the method comprises the steps of carrying out principal component analysis on the day age, the highest house temperature, the lowest house temperature, the body weight, the feed consumption and the laying rate to obtain main components which are mutually irrelevant, analyzing which kinds of characteristics are linearly combined to form each main component to obtain characteristics with large relevance to the laying rate, measuring the internal characteristic relevance of each main component through a multivariate analysis method, distributing weights according to different influence degrees of the characteristics on the laying rate by taking correlation coefficients as the basis, and accordingly establishing a laying rate regression model by utilizing a plurality of influence factors.
Drawings
FIG. 1 is a principal component analysis flow chart of the present invention;
FIG. 2 is a flow chart of the PSO-SVM algorithm of the present invention;
FIG. 3 is a model flow chart of the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
As shown in figure 1, an egg yield prediction PSO-SVM regression model based on principal component analysis comprises a first step of analyzing the relationship between the influence on the laying rate of the laying hens and the maximum house temperature, the minimum house temperature, the weight, the age of day and the feed consumption by using the principal components;
secondly, giving appropriate weight to each one-dimensional characteristic of the data according to the result of the principal component analysis;
and step three, taking the weight-given result as the input of a PSO-SVM, and establishing a regression model of five-dimensional characteristics of the laying rate of the laying hens, the highest house temperature, the lowest house temperature, the weight, the age of the day and the feed consumption by using a PSO-SVM algorithm.
The regression model modeling steps are as follows in sequence: begin → read data → principal component analysis → weight is given to each dimensional feature → data is saved and modeled as SVM input → PSO-SVM.
Further, the principal component analysis step comprises the steps of 1, selecting initial variables, and forming an analysis covariance matrix or an analysis correlation matrix according to whether measurement or value ranges in the selected initial variables are the same;
step 2, solving the eigenvalue and the corresponding eigenvector of the analysis covariance matrix or the analysis correlation matrix by using a Jacobian method, then solving the contribution rate by using a formula and selecting a principal component, wherein the expression is as follows:
in the formula piFor each factor's correlation with egg production, EjIs a characteristic value of the principal component.
The sample data of the initial variable is X ═ X1,x2,x3,…,xi,…,x226)T226 samples, each of which is xiHas 6-dimensional characteristics, namely the age in days c1, the maximum cut temperature c2, the minimum cut temperature c3, the feed consumption c4, the body weight c5 and the laying rate c6, namely xi=(xic1,xic2,…,xicj,…,xicj) Standardizing the raw dataWhereinIs composed ofVar(xj) Is composed of
In actual calculation, as shown in fig. 3, the results of principal component analysis are used to give weights to 5 features affecting the laying rate of the laying hens, and the weight formula is as shown in the formulaShown and used as the input of PSO-SVM, the primary data is subjected to principal component analysis, and 6 characteristics of total egg yield, maximum cut temperature, minimum cut temperature, body weight, age per day and feed consumption are selected as the characteristics to be analyzedThe characteristic is that after the normalized data is normalized, the correlation matrix between data is analyzed, the characteristic value and corresponding characteristic vector of the correlation coefficient matrix are solved by the Jacobian method, and then the formula is usedThe contribution ratio is obtained and the principal component is selected. Marking the sample data as X ═ X1,x2,x3,…,xi,…,x226)T226 samples, each of which is xiHas 6-dimensional characteristics, namely the age in days c1, the maximum cut temperature c2, the minimum cut temperature c3, the feed consumption c4, the body weight c5 and the laying rate c6, namely xi=(xic1,xic2,…,xicj,…,xicj). Standardizing the raw data
Then calculating the correlation coefficient of the sample correlation coefficient matrix in the way of
Calculating the eigenvalue and corresponding eigenvector of the correlation coefficient matrix by using the Jacobi method and then using the formulaThe contribution ratio is obtained and the principal component is selected.
in a further improvement, as shown in fig. 2, a Support Vector Machine (SVM) is a machine learning method proposed by Vapnik and cortex, etc. on the basis of a statistical learning theory, and the method seeks a risk minimization idea by using a trade-off between approximation accuracy and model complexity to achieve a good approximation effect. The SVM regression maps actual sample data to a high-dimensional feature space by using a kernel function through a nonlinear transformation method, and then constructs a decision function to realize linear regression.
LSSVM replaces the non-equality constraint of the optimization problem in SVM to equality constraint, and replaces the non-equality constraint of the optimization problem in SVM to equality constraint to form an SLSVM model, and the expression is as follows:wherein the constraint conditions are as follows:
yi(W*xi+b=1),i=1,2,…,m。
to solve the situation that partial specific points exist, an error characteristic e is introduced into each sample in the SLSVM modeliAnd adding an L2 regular term of error characteristics into the original function, wherein the expression of the optimization term is as follows:
In a further improvement, the Particle Swarm Optimization (PSO) calculates an individual optimal solution currently searched to replace a global optimal solution, and the steps of the Particle Swarm Optimization (PSO) are sequentially: start → read training data → read test data → initialize SVM parameter → initialize PSO parameter → generate random particle → SVM regression → calculate fitness → update optimal result → update particle → confirm whether stop condition is satisfied, if so, then finish, if not, then return to the SVM regression step from new to recalculate until the stop condition is satisfied.
The particle swarm algorithm is a research on bird predation behaviors, a global optimal solution is replaced by a currently searched individual optimal solution, and food is searched in a bird swarm according to two principles:
1) information is shared between groups of birds flying towards where the group knows the most food.
2) According to his experience, fly towards the place where the food is known to be the most.
Abstracting a speed updating formula and a position updating formula according to the two behaviors, so as to obtain a calculation formula of the Particle Swarm Optimization (PSO) as follows:
where v is velocity, x is position, w is an inertia factor, c1、c2Is a learning factor, pbest is an individual optimal location, and gbest is a global optimal location. Compared with other algorithms, the algorithm has the advantages of having a memory function and saving good solutions. In contrast to genetic algorithms, previous solutions vary with population variations, while PSOs do not have crossover and mutation operations. The particles are updated only according to the internal speed, the principle is simpler, the parameters are fewer, and the method is easier to realize.
As shown in fig. 2, there are two important hyper-parameters c, g in SVM, where c is a penalty factor, if c is too large, it is easy to over-fit, and if c is too small, it is easy to under-fit; g is a hyper-parameter generated after the RBF kernel function is selected, the distribution of the data after being mapped to a new feature space is determined, and the larger g is, the fewer support vectors are, and the smaller g value is, the more support vectors are. The selection of the proper hyper-parameter can improve the accuracy of SVM regression and the speed of convergence. The PSO algorithm has the characteristics of simple algorithm implementation, high speed, less needed adjustment parameters and the like, and is suitable for finding the optimal SVM parameter. The PSO-LSSVM prediction model pseudo-code based on principal component analysis is shown below.
The pseudo code of the PSO-LSSVM prediction model based on principal component analysis as shown in FIG. 3 is as follows.
The method comprises the steps of carrying out principal component analysis on the day age, the highest house temperature, the lowest house temperature, the body weight, the feed consumption and the laying rate to obtain main components which are mutually irrelevant, analyzing which kinds of characteristics are linearly combined to form each main component to obtain characteristics with large relevance to the laying rate, measuring the internal characteristic relevance of each main component through a multivariate analysis method, distributing weights according to different influence degrees of the characteristics on the laying rate by taking correlation coefficients as the basis, and accordingly establishing a laying rate regression model by utilizing a plurality of influence factors.
According to the method, the main component analysis and the correlation analysis are utilized to research the correlation between the laying rate of the laying hens and the characteristics such as the age of the day, the house temperature, the weight and the feed consumption, the weight is given to each characteristic according to the Pearson correlation coefficient of 6 characteristics, the characteristic with large influence on the laying rate is given with large weight, the result shows that the feed consumption and the laying hen weight are the most main characteristics influencing the laying rate, on the basis, egg yield regression modeling is carried out on weighted data by utilizing an SVM, and parameters in the SVM are optimized by utilizing a PSO algorithm. The experimental result shows that the mean square error of the model built in the method is 5.63 x 10 < -4 >, is reduced by 6.36 x 10 < -4 > compared with the mean square error of the existing SVM model, and achieves a better result.
The above embodiments are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited thereby, and any insubstantial changes and substitutions made by those skilled in the art based on the present invention are within the protection scope of the present invention.
Claims (10)
1. A PSO-SVM regression model for egg yield prediction based on principal component analysis is characterized in that: the method comprises the steps of analyzing the relationship between the influence on the laying rate of the laying hens and the highest house temperature, the lowest house temperature, the body weight, the age of the day and the feed consumption by utilizing main components;
secondly, giving appropriate weight to each one-dimensional characteristic of the data according to the result of the principal component analysis;
and step three, taking the weight-given result as the input of a PSO-SVM, and establishing a regression model of five-dimensional characteristics of the laying rate of the laying hens, the highest house temperature, the lowest house temperature, the weight, the age of the day and the feed consumption by using a PSO-SVM algorithm.
2. The PSO-SVM regression model for egg production prediction based on principal component analysis as claimed in claim 1, wherein: the regression model modeling steps are as follows in sequence: begin → read data → principal component analysis → weight is given to each dimensional feature → data is saved and modeled as SVM input → PSO-SVM.
3. The PSO-SVM regression model for egg production prediction based on principal component analysis as claimed in claim 2, wherein: the principal component analysis step comprises the steps of 1, selecting initial variables, and forming an analysis covariance matrix or an analysis correlation matrix according to whether measurement or value ranges in the selected initial variables are the same;
step 2, solving the eigenvalue and the corresponding eigenvector of the analysis covariance matrix or the analysis correlation matrix by using a Jacobian method, then solving the contribution rate by using a formula and selecting a principal component, wherein the expression is as follows:in the formula piFor each factor's correlation with egg production, EjIs a characteristic value of the principal component.
4. A principal component-based composition according to claim 3The analyzed egg yield prediction PSO-SVM regression model is characterized in that: the sample data of the initial variable is X ═ X1,x2,x3,…,xi,…,x226)T226 samples, each of which is xiHas 6-dimensional characteristics, namely the age in days c1, the maximum cut temperature c2, the minimum cut temperature c3, the feed consumption c4, the body weight c5 and the laying rate c6, namely xi=(xic1,xic2,…,xicj,…,xicj) Standardizing the raw dataWhereinIs composed ofVar(xj) Is composed of
7. according to claim 1The egg yield prediction PSO-SVM regression model based on principal component analysis is characterized in that: substituting non-equality constraint of the optimization problem in the SVM into equality constraint to form an SLSVM model, wherein the expression is as follows:wherein the constraint conditions are as follows: y isi(W*xi+b=1),i=1,2,…,m。
8. The PSO-SVM regression model for egg production prediction based on principal component analysis as claimed in claim 7, wherein: introducing an error characteristic ei to each sample in the SLSVM model, and adding an L2 regular term of the error characteristic into the original function, wherein the optimization term is expressed as:the constraint condition isWhere λ is the regularization parameter.
9. The PSO-SVM regression model for egg production prediction based on principal component analysis as claimed in claim 1, wherein: calculating the currently searched individual optimal solution to replace the global optimal solution through the Particle Swarm Optimization (PSO), wherein the Particle Swarm Optimization (PSO) sequentially comprises the following steps: start → read training data → read test data → initialize SVM parameter → initialize PSO parameter → generate random particle → SVM regression → calculate fitness → update optimal result → update particle → confirm whether stop condition is satisfied, if so, then finish, if not, then return to the SVM regression step from new to recalculate until the stop condition is satisfied.
10. The PSO-SVM regression model for egg production prediction based on principal component analysis as claimed in claim 9, wherein: the calculation formula of the particle swarm optimization algorithm (PSO) is as follows:
where v is velocity, x is position, w is an inertia factor, c1、c2Is a learning factor, pbest is an individual optimal location, and gbest is a global optimal location.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011163847.3A CN112348238A (en) | 2020-10-27 | 2020-10-27 | Egg yield prediction PSO-SVM regression model based on principal component analysis |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011163847.3A CN112348238A (en) | 2020-10-27 | 2020-10-27 | Egg yield prediction PSO-SVM regression model based on principal component analysis |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112348238A true CN112348238A (en) | 2021-02-09 |
Family
ID=74358699
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011163847.3A Pending CN112348238A (en) | 2020-10-27 | 2020-10-27 | Egg yield prediction PSO-SVM regression model based on principal component analysis |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112348238A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107027650A (en) * | 2017-03-21 | 2017-08-11 | 中国农业大学 | A kind of boar abnormal state detection method and device based on PSO SVM |
CN107168402A (en) * | 2017-05-12 | 2017-09-15 | 淮阴工学院 | Environment of chicken house temperature intelligent monitoring system based on CAN fieldbus |
CN109034466A (en) * | 2018-07-16 | 2018-12-18 | 浙江师范大学 | A kind of laying rate of laying hen prediction technique based on Support vector regression |
CN109242146A (en) * | 2018-07-27 | 2019-01-18 | 浙江师范大学 | A kind of performance in layers time series predicting model based on extreme learning machine |
-
2020
- 2020-10-27 CN CN202011163847.3A patent/CN112348238A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107027650A (en) * | 2017-03-21 | 2017-08-11 | 中国农业大学 | A kind of boar abnormal state detection method and device based on PSO SVM |
CN107168402A (en) * | 2017-05-12 | 2017-09-15 | 淮阴工学院 | Environment of chicken house temperature intelligent monitoring system based on CAN fieldbus |
CN109034466A (en) * | 2018-07-16 | 2018-12-18 | 浙江师范大学 | A kind of laying rate of laying hen prediction technique based on Support vector regression |
CN109242146A (en) * | 2018-07-27 | 2019-01-18 | 浙江师范大学 | A kind of performance in layers time series predicting model based on extreme learning machine |
Non-Patent Citations (3)
Title |
---|
王喜宾等: "《基于优化支持向量机的个性化推荐研究》", 30 June 2017, 重庆:重庆大学出版社 * |
赵秀恒等: "《概率统计模型与优化》", 30 June 2015, 石家庄:河北科学技术出版社 * |
黄冬梅等: "《案例驱动的大数据原理技术及应用》", 30 November 2018, 上海:上海交通大学出版社 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108416366B (en) | Power system short-term load prediction method based on meteorological index weighted LS-SVM | |
CN110728401B (en) | Short-term power load prediction method of neural network based on squirrel and weed hybrid algorithm | |
CN114488140B (en) | Small sample radar one-dimensional image target recognition method based on deep migration learning | |
CN111260116A (en) | Time-interval refined short-term load prediction method based on BOA-SVR and fuzzy clustering | |
CN110443417A (en) | Multi-model integrated load prediction method based on wavelet transformation | |
CN109886465A (en) | A kind of distribution network load prediction technique based on intelligent electric meter user's clustering | |
CN110097060A (en) | A kind of opener recognition methods towards trunk image | |
CN110119767A (en) | A kind of cucumber green house temperature intelligent detection device based on LVQ neural network | |
CN113762387B (en) | Multi-element load prediction method for data center station based on hybrid model prediction | |
CN106682764A (en) | Method for predicting other day air-conditioning load of public building based on parallel prediction strategy | |
CN113361785A (en) | Power distribution network short-term load prediction method and device, terminal and storage medium | |
Ye et al. | K-means clustering algorithm based on improved Cuckoo search algorithm and its application | |
CN111506868B (en) | Ultra-short-term wind speed prediction method based on HHT weight optimization | |
CN113011091A (en) | Automatic-grouping multi-scale light-weight deep convolution neural network optimization method | |
CN115310350A (en) | Chicken coop air age prediction method based on POD-ANN order reduction model | |
CN102779241B (en) | PPI (Point-Point Interaction) network clustering method based on artificial swarm reproduction mechanism | |
CN113435039A (en) | Lake wetland landscape optimization method based on system dynamics | |
CN113239503A (en) | New energy output scene analysis method and system based on improved k-means clustering algorithm | |
CN113033890A (en) | Method for analyzing laying performance of laying hens based on vector autoregressive model | |
CN112348238A (en) | Egg yield prediction PSO-SVM regression model based on principal component analysis | |
CN112232595A (en) | Storage wheat quality prediction method based on IPSO-SVM model | |
CN111126827A (en) | Input-output accounting model construction method based on BP artificial neural network | |
CN110334869A (en) | A kind of mangrove forest ecological health forecast training method based on dynamic colony optimization algorithm | |
CN110298762A (en) | A kind of family ranch culture efficiency analysis system | |
CN113807005B (en) | Bearing residual life prediction method based on improved FPA-DBN |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20210209 |