CN110619476A - Method for predicting rice grain heap yellowness index by optimizing SVR (singular value representation) parameters by grid search method - Google Patents
Method for predicting rice grain heap yellowness index by optimizing SVR (singular value representation) parameters by grid search method Download PDFInfo
- Publication number
- CN110619476A CN110619476A CN201910890527.9A CN201910890527A CN110619476A CN 110619476 A CN110619476 A CN 110619476A CN 201910890527 A CN201910890527 A CN 201910890527A CN 110619476 A CN110619476 A CN 110619476A
- Authority
- CN
- China
- Prior art keywords
- data
- rice grain
- svr
- yellowness index
- predicting
- 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
- 235000007164 Oryza sativa Nutrition 0.000 title claims abstract description 68
- 235000009566 rice Nutrition 0.000 title claims abstract description 68
- 235000013339 cereals Nutrition 0.000 title claims abstract description 46
- 238000000034 method Methods 0.000 title claims abstract description 44
- 240000007594 Oryza sativa Species 0.000 title 1
- 241000209094 Oryza Species 0.000 claims abstract description 67
- 238000005457 optimization Methods 0.000 claims abstract description 6
- 238000007781 pre-processing Methods 0.000 claims description 4
- 238000012706 support-vector machine Methods 0.000 claims description 4
- 238000010845 search algorithm Methods 0.000 claims description 2
- 238000012549 training Methods 0.000 claims description 2
- 238000012795 verification Methods 0.000 claims description 2
- 238000012545 processing Methods 0.000 abstract description 4
- 238000010606 normalization Methods 0.000 abstract description 2
- 238000013528 artificial neural network Methods 0.000 description 6
- 238000011160 research Methods 0.000 description 3
- 239000010903 husk Substances 0.000 description 2
- 241000238631 Hexapoda Species 0.000 description 1
- 229920002472 Starch Polymers 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 239000000084 colloidal system Substances 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 235000013305 food Nutrition 0.000 description 1
- 235000015097 nutrients Nutrition 0.000 description 1
- 229910052760 oxygen Inorganic materials 0.000 description 1
- 239000001301 oxygen Substances 0.000 description 1
- 102000004169 proteins and genes Human genes 0.000 description 1
- 108090000623 proteins and genes Proteins 0.000 description 1
- 235000019698 starch Nutrition 0.000 description 1
- 239000008107 starch Substances 0.000 description 1
Classifications
-
- 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
- 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
- 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/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0639—Performance analysis of employees; Performance analysis of enterprise or organisation operations
- G06Q10/06393—Score-carding, benchmarking or key performance indicator [KPI] analysis
-
- 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)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Entrepreneurship & Innovation (AREA)
- General Business, Economics & Management (AREA)
- Development Economics (AREA)
- Tourism & Hospitality (AREA)
- Marketing (AREA)
- Software Systems (AREA)
- Game Theory and Decision Science (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Educational Administration (AREA)
- Marine Sciences & Fisheries (AREA)
- Health & Medical Sciences (AREA)
- Mining & Mineral Resources (AREA)
- General Health & Medical Sciences (AREA)
- Animal Husbandry (AREA)
- Agronomy & Crop Science (AREA)
- Primary Health Care (AREA)
- Life Sciences & Earth Sciences (AREA)
- Mathematical Physics (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Medical Informatics (AREA)
- Evolutionary Computation (AREA)
- Data Mining & Analysis (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Artificial Intelligence (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a method for predicting a rice grain heap yellowness index by optimizing SVR parameters by a grid search method. The method comprises the following steps: firstly, dividing and editing the characteristic values of the rice grain piles according to a specific structure, reading the edited rice grain pile data by using a libsvm toolbox in MATLAB, and carrying out normalization processing; then, the read data are transmitted into a grid searching method, and an optimal punishment parameter c and a kernel function parameter g are searched and searched according to a certain step length; and finally, predicting the yellowness index of the rice grain heap by using the screened optimal solution. The method for predicting the yellowness index of the rice grain heap by optimizing the SVR parameters by the grid search method can effectively improve the accuracy of the prediction result of the yellowness index of the rice grain heap through the optimization of the grid search method and the SVR support vector regression prediction.
Description
Technical Field
The invention belongs to the technical field of neural networks, and particularly relates to a method for predicting a rice grain heap yellowness index by optimizing SVR parameters by a grid search method.
Background
The annual output of rice all over the world is about 5.2 million tons, about more than 10 million people in 39 countries use rice as main food, particularly Asia has the strongest dependence on rice; wherein, 1.85 hundred million tons of rice are produced in China in year, which accounts for about 35 percent of the world and is the first place; the second are india, indonesia and thailand. China is also a large country for rice consumption, and at present, people directly consume about 100kg of rice annually, and the total consumption of grain is about 1.2 hundred million tons. The rice is one of the most difficult-to-preserve grains, because the rice husk and the husk layer which protect the endosperm are removed in the rice processing process, the endosperm is directly linked with the factors of the external environment, such as temperature and humidity, and the like, and the rice grains are hydrophilic colloids rich in nutrients such as starch, protein and the like, and are extremely easy to deteriorate under the influence of humidity, heat, oxygen, insects, mildew and the like. Especially under the conditions of high temperature and high humidity in summer, the quality of the rice is deteriorated and the mildewing speed is accelerated, so that the acidity of the rice is increased, the viscosity of the rice is reduced, and the edible quality of the rice is reduced and even the edible value of the rice is lost. The yellowness index is an important parameter for the quality of rice. Therefore, the research for predicting the yellowness index of the rice according to the storage condition of the rice has strong theoretical value and practical significance.
The neural network simulates partial functions of human brain, and is an important method for realizing artificial intelligence. The use of neural networks for nonlinear regression prediction processing of data is currently a relatively widespread application. Compared with the traditional empirical model, the neural network prediction fits the relation according to the internal relation between the data, so that the model has higher reliability and practicability. As one of the grains consumed in China, the rice is of great importance in quality. However, the research on the quality of rice in the storage process is less, and at present, the research mostly depends on experience and manual judgment, so that the time and labor are wasted, and the accuracy is low. Support Vector Regression (SVR) is a good and stable neural network algorithm, and the grid search method is to substitute the data of c and g little by little in a certain range and continuously update the optimal c and g. The two are used together to predict the grain bulk yellowness index of rice with very good effect.
The invention content is as follows:
the invention discloses a method for predicting a rice grain heap yellowness index by optimizing SVR parameters by a grid search method. The method comprises the following steps: firstly, dividing and editing the characteristic values of the rice grain piles according to a specific structure, reading the edited rice grain pile data by using a libsvm toolbox in MATLAB, and carrying out normalization processing; then, the read data are transmitted into a grid searching method, and an optimal punishment parameter c and a kernel function parameter g are searched and searched according to a certain step length; and finally, predicting the yellowness index of the rice grain heap by using the screened optimal solution. The grid searching method for optimizing the SVR parameter to predict the yellowness index of the rice grain heap, disclosed by the invention, can effectively improve the accuracy of the prediction result of the yellowness index of the rice grain heap through the grid searching method and the SVR support vector regression prediction. The specific flow of our method is as follows:
a method for predicting the yellowness index of rice grain heap by optimizing SVR parameters by a grid search method is characterized by comprising the following steps: comprises the following steps of (a) carrying out,
preprocessing original rice grain heap data;
reading and normalizing the rice grain pile data;
optimizing by utilizing grid search algorithm parameters;
and (D) setting SVR parameters by using the optimized optimal solution and predicting the yellowness index of the rice grain heap.
1. And (A) preprocessing the original rice grain pile data, and firstly, performing characteristic classification editing on the original rice grain pile data in order to read rice characteristic data by a tool box.
2. And (B) reading and normalizing the rice grain pile data, reading the rice grain pile data edited in the step (A) by using a libsvm tool box, and normalizing the read data to a [0,1] interval according to the same characteristic class by adopting an MATLAB self-carrying function mapminmax.
3. Step (C), optimizing parameters by using a grid search method, transmitting the normalized feature data obtained in the step (B) into the grid search method to search an optimal punishment parameter C and a kernel function parameter g, and initializing data including the optimal parameters C and g, maximum and minimum C and g values and a minimum mean square error; then dividing c and g into grids and starting searching; the data of the rice are roughly and averagely divided into K groups by adopting a K-CV method, wherein the K-1 group is used as a training set, and the last group is used as a verification set.
4. The method for predicting the yellowness index of rice grain heap by optimizing SVR parameters according to claim 1, wherein: and (D) setting an SVR parameter by using the optimal solution obtained by optimization and predicting the yellowness index of the rice grain pile, setting an optimal punishment parameter c and a kernel function parameter g obtained by the grid searching method as parameters of the SVR, inputting the characteristic data of the rice grain pile into a model of the SVR, and predicting the yellowness index of the rice.
SVR support vector regression is an important branch of the SVM support vector machine, the SVM itself is directed to the two-class problem, and SVR is directed to the intrinsic relationship to find a pile of data. The support vector machine is to make the distance of the nearest sample point of the obtained hyperplane maximum; the support vector regression is to make the "minimum distance" of the farthest sample point of the hyperplane as shown in fig. 1;
regression is as an intrinsic relationship to find a pile of data. No matter the data of the pile is composed of several categories, a formula is obtained, the data are fitted, and when a new coordinate value is given, a new value can be obtained; therefore, for SVR, a hyperplane or a function is obtained, and all data can be fitted (i.e., all data points, regardless of which class they belong to, are closest to the hyperplane or function); the statistical understanding is: minimizing the intra-class variance of all the data, and regarding all the data of the classes as one class;
traditional regression methods consider the prediction to be correct if and only if the regression f (x) is completely equal to y, and their losses need to be calculated; support Vector Regression (SVR) considers that prediction is correct without calculating loss as long as the degree of deviation between f (x) and y is not too great.
Description of the drawings:
as shown in the figures, the SVM/SVR diagram of FIG. 1 is shown.
The specific implementation mode is as follows:
to verify the performance of our proposed model, we used existing data for prediction and comparison with real data. A total of 28 sets of data, temperature, relative humidity and days of storage of the grain bulk containing rice.
Table 1 shows the comparison between the performance of our grid search method optimization SVR algorithm and the SVR algorithm, BP neural network algorithm.
TABLE 1 comparison between grid search optimization SVR and SVR, BP Performance
Algorithm | Mean square error |
Grid search optimization SVR | 0.0438 |
SVR | 0.1219 |
BP | 0.1322 |
Claims (5)
1. The invention discloses a method for predicting a rice grain heap yellowness index by optimizing SVR parameters by a grid search method, which is characterized by comprising the following steps of: comprises the following steps of (a) carrying out,
preprocessing original rice grain heap data;
reading and normalizing the rice grain pile data;
optimizing by utilizing grid search algorithm parameters;
and (D) setting SVR parameters by using the optimized optimal solution and predicting the yellowness index of the rice grain heap.
2. The method for predicting the yellowness index of rice grain heap by optimizing SVR parameters according to claim 1, wherein: and (A) preprocessing the original rice grain pile data, and firstly, performing characteristic classification editing on the original rice grain pile data in order to read rice characteristic data by a tool box.
3. The method for predicting the yellowness index of rice grain heap by optimizing SVR parameters according to claim 1, wherein: and (B) reading and normalizing the rice grain pile data, reading the rice grain pile data edited in the step (A) by using a libsvm tool box, and normalizing the read data to a [0,1] interval according to the same characteristic class by adopting an MATLAB self-carrying function mapminmax.
4. The method for predicting the yellowness index of rice grain heap by optimizing SVR parameters according to claim 1, wherein: step (C), optimizing parameters by using a grid search method, transmitting the normalized feature data obtained in the step (B) into the grid search method to search an optimal punishment parameter C and a kernel function parameter g, and initializing data including the optimal parameters C and g, maximum and minimum C and g values and a minimum mean square error; then dividing c and g into grids and starting searching; the data of the rice are roughly and averagely divided into K groups by adopting a K-CV method, wherein the K-1 group is used as a training set, and the last group is used as a verification set.
5. The method for predicting the yellowness index of rice grain heap by optimizing SVR parameters according to claim 1, wherein: setting an SVR parameter by using the optimal solution obtained by optimization and predicting the yellowness index of the rice grain pile, setting an optimal punishment parameter c and a kernel function parameter g obtained by optimizing the grid searching method as parameters of the SVR, inputting the characteristic data of the rice grain pile into a model of the SVR, and predicting the yellowness index of the rice;
SVR support vector regression is an important branch of an SVM support vector machine, the SVM is specific to the problem of two classes, and the SVR is specific to the internal relation of searching a pile of data; the support vector machine is to make the distance of the nearest sample point of the obtained hyperplane maximum; the support vector regression is to make the "minimum distance" of the farthest sample point of the hyperplane as shown in fig. 1;
regression is as if finding the intrinsic relationship of a pile of data; no matter the data of the pile is composed of several categories, a formula is obtained, the data are fitted, and when a new coordinate value is given, a new value can be obtained; therefore, for SVR, a hyperplane or a function is obtained, and all data can be fitted (i.e., all data points, regardless of which class they belong to, are closest to the hyperplane or function); the statistical understanding is: minimizing the intra-class variance of all the data, and regarding all the data of the classes as one class;
traditional regression methods consider the prediction to be correct if and only if the regression f (x) is completely equal to y, and their losses need to be calculated; support Vector Regression (SVR) considers that prediction is correct without calculating loss as long as the degree of deviation between f (x) and y is not too great.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910890527.9A CN110619476A (en) | 2019-09-20 | 2019-09-20 | Method for predicting rice grain heap yellowness index by optimizing SVR (singular value representation) parameters by grid search method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910890527.9A CN110619476A (en) | 2019-09-20 | 2019-09-20 | Method for predicting rice grain heap yellowness index by optimizing SVR (singular value representation) parameters by grid search method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110619476A true CN110619476A (en) | 2019-12-27 |
Family
ID=68923645
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910890527.9A Pending CN110619476A (en) | 2019-09-20 | 2019-09-20 | Method for predicting rice grain heap yellowness index by optimizing SVR (singular value representation) parameters by grid search method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110619476A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112926272A (en) * | 2021-04-01 | 2021-06-08 | 河南工业大学 | Grain pile condensation prediction method based on Support Vector Regression (SVR) |
-
2019
- 2019-09-20 CN CN201910890527.9A patent/CN110619476A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112926272A (en) * | 2021-04-01 | 2021-06-08 | 河南工业大学 | Grain pile condensation prediction method based on Support Vector Regression (SVR) |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104134003B (en) | The crop yield amount Forecasting Methodology that knowledge based drives jointly with data | |
CN111260117B (en) | CA-NARX water quality prediction method based on meteorological factors | |
CN111539845B (en) | Enterprise environment-friendly management and control response studying and judging method based on power consumption mode membership grade | |
CN112990420A (en) | Pruning method for convolutional neural network model | |
CN110990784B (en) | Cigarette ventilation rate prediction method based on gradient lifting regression tree | |
CN112232387B (en) | Effective characteristic identification method for disease symptoms of grain crops based on LSELM-RFE | |
CN111461921B (en) | Load modeling typical user database updating method based on machine learning | |
CN113515512A (en) | Quality control and improvement method for industrial internet platform data | |
CN116911806B (en) | Internet + based power enterprise energy information management system | |
CN112149905A (en) | Photovoltaic power station short-term power prediction method based on wavelet transformation and wavelet neural network | |
CN114066071A (en) | Power parameter optimization method based on energy consumption, terminal equipment and storage medium | |
CN110619476A (en) | Method for predicting rice grain heap yellowness index by optimizing SVR (singular value representation) parameters by grid search method | |
CN112288157A (en) | Wind power plant power prediction method based on fuzzy clustering and deep reinforcement learning | |
CN113918727B (en) | Construction project knowledge transfer method based on knowledge graph and transfer learning | |
CN116822672A (en) | Air conditioner cold load prediction optimization method and system | |
Caihong et al. | A study on quality prediction for smart manufacturing based on the optimized BP-AdaBoost model | |
CN110276478B (en) | Short-term wind power prediction method based on segmented ant colony algorithm optimization SVM | |
CN113221447A (en) | Soil humidity prediction method for optimizing BP neural network based on improved genetic algorithm | |
CN112990591A (en) | Multi-dimensional energy consumption data analysis method based on convolutional neural network and enterprise energy consumption prediction model | |
CN110598321A (en) | Method for predicting yellowness index of rice grain heap based on particle swarm optimization SVR support vector regression algorithm | |
CN110555634A (en) | Method for predicting rice grain heap yellowness index by optimizing SVR (singular value representation) parameters through genetic algorithm | |
CN115689001A (en) | Short-term load prediction method based on pattern matching | |
CN116151464A (en) | Photovoltaic power generation power prediction method, system and storable medium | |
Zhang et al. | Suitability Evaluation of Crop Variety via Graph Neural Network | |
Zhang et al. | Machine Tools Thermal Error Modeling with Imbalanced Data Based on Transfer Learning |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20191227 |
|
WD01 | Invention patent application deemed withdrawn after publication |