CN111144617B - Method and device for determining model - Google Patents
Method and device for determining model Download PDFInfo
- Publication number
- CN111144617B CN111144617B CN201911214521.6A CN201911214521A CN111144617B CN 111144617 B CN111144617 B CN 111144617B CN 201911214521 A CN201911214521 A CN 201911214521A CN 111144617 B CN111144617 B CN 111144617B
- Authority
- CN
- China
- Prior art keywords
- model
- commodity
- data
- models
- determining
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- WYROLENTHWJFLR-ACLDMZEESA-N queuine Chemical compound C1=2C(=O)NC(N)=NC=2NC=C1CN[C@H]1C=C[C@H](O)[C@@H]1O WYROLENTHWJFLR-ACLDMZEESA-N 0.000 claims description 19
- 101001095088 Homo sapiens Melanoma antigen preferentially expressed in tumors Proteins 0.000 claims 2
- 102100037020 Melanoma antigen preferentially expressed in tumors Human genes 0.000 claims 2
- 238000011156 evaluation Methods 0.000 abstract description 6
- 238000004422 calculation algorithm Methods 0.000 description 7
- 235000021186 dishes Nutrition 0.000 description 5
- 238000004519 manufacturing process Methods 0.000 description 5
- 235000008429 bread Nutrition 0.000 description 4
- 240000007124 Brassica oleracea Species 0.000 description 3
- 241000287828 Gallus gallus Species 0.000 description 3
- 240000007594 Oryza sativa Species 0.000 description 3
- 235000007164 Oryza sativa Nutrition 0.000 description 3
- 235000009566 rice Nutrition 0.000 description 3
- 206010034203 Pectus Carinatum Diseases 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 235000013372 meat Nutrition 0.000 description 2
- 244000178993 Brassica juncea Species 0.000 description 1
- 235000005855 Brassica juncea var. subintegrifolia Nutrition 0.000 description 1
- 235000003899 Brassica oleracea var acephala Nutrition 0.000 description 1
- 235000011301 Brassica oleracea var capitata Nutrition 0.000 description 1
- 235000001169 Brassica oleracea var oleracea Nutrition 0.000 description 1
- 235000007688 Lycopersicon esculentum Nutrition 0.000 description 1
- 240000003768 Solanum lycopersicum Species 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 235000015228 chicken nuggets Nutrition 0.000 description 1
- 238000007635 classification algorithm Methods 0.000 description 1
- 235000013601 eggs Nutrition 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 235000015277 pork Nutrition 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
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
-
- 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
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/067—Enterprise or organisation modelling
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Theoretical Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Development Economics (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Game Theory and Decision Science (AREA)
- Educational Administration (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Artificial Intelligence (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application provides a method and a device for determining a model, wherein the method comprises the following steps: EI is calculated through M models to be measured respectively m The method comprises the steps of carrying out a first treatment on the surface of the According to EI m And determining a target standby model from the M models to be tested. According to the technical scheme, the more accurate model for prediction can be determined by setting the evaluation index of the model, and sales quantity prediction, goods intake quantity prediction or yield prediction and the like are more accurate through the determined model.
Description
Technical Field
The present application relates to the field of computers, and in particular, to a method and apparatus for determining a model.
Background
In order to predict sales using machine learning algorithms, it is necessary to select an appropriate algorithm based on the actual sales data set. In selecting the algorithm, the model is trained by various algorithms, the trained model is determined, and the good index for determining the model can help to select the algorithm better.
Currently, the determination models for machine learning algorithm models fall into two main categories: for the classification algorithm, indexes such as accuracy, recall rate, F-score and the like are adopted. For the regression algorithm, indices such as RMSE (Root Mean Squared Error, root mean square error), MSE (Mean Squared Error, mean square error), MAE (Mean Absolute Error ), MAPE (Mean Absolute Percentage Error, mean absolute percentage error) and the like are used.
For a multi-output regression model, if the orders of magnitude of the outputs are different greatly, such as a number level and a percentage level, when the model is evaluated by using a traditional evaluation index, the model is usually prone to outputting of a certain order of magnitude (including orders of magnitude with a large number of outputs), and is not accurate enough for outputting of other orders of magnitude.
Disclosure of Invention
The application aims to provide a method and a device for determining a model, which can determine a more accurate model for prediction.
In order to solve the technical problem, the application provides a method for determining a model, which comprises the following steps:
EI is calculated through M models to be measured respectively m ;
According to EI m The value determines a target standby model from the M models to be tested;
wherein ,
EI i calculating an error value of the ith commodity for the mth model to be measured; q (Q) i A base for the data amount of the ith commodity;
m=1, 2 … M, i=1, 2 … N; m and N are positive integers greater than 1;
for each of the N commodities, the commodity type is the same and the characteristics of the commodity are different;
the data volume includes sales volume, shipping volume, or production volume.
Optionally, the step of determining the EI m The value determining the target standby model from the M models to be tested comprises:
EI is set m And the model to be tested with the minimum value is taken as a target standby model.
Optionally, the EI is calculated by M models to be measured m Previously, the method further comprises:
calculating the base Q of the data quantity corresponding to the ith commodity i 。
Optionally, the base Q of the data volume corresponding to the ith commodity is calculated i Comprising the following steps:
for the ith commodity, calculating the average value A of the data quantity of the commodity according to the S sample data of the commodity i And standard deviation D i ;
For the S sample data, the numerical value is greater than X i Is smaller than Y i Calculating an average value of the remaining sample data;
taking the average value of the rest sample data as the base Q of the data volume of the commodity i ;
Wherein S is a positive integer greater than or equal to 1;
X i =A i +2D i ;Y i =A i -2D i 。
optionally, the error value includes a root mean square error RMSE, a mean square error MSE, a mean absolute error MAE, a mean absolute percentage error MAPE.
The application also provides a device for determining a model, which comprises: a memory and a processor;
the memory is used for storing a program for determining a model;
the processor is configured to read and execute the program for determining a model, and perform the following operations:
EI is calculated through M models to be measured respectively m ;
According to EI m The value determines a target standby model from the M models to be tested;
wherein ,
EI i calculating an error value of the ith commodity for the mth model to be measured; q (Q) i A base for the data amount of the ith commodity;
m=1, 2 … M, i=1, 2 … N; m and N are positive integers greater than 1;
for each of the N commodities, the commodity type is the same and the characteristics of the commodity are different;
the data volume includes sales volume, shipping volume, or production volume.
Optionally, the step of determining the EI m The value determining the target standby model from the M models to be tested comprises:
EI is set m And the model to be tested with the minimum value is taken as a target standby model.
Optionally, the processor is configured to read and execute the program for determining a model, and further perform the following operations:
the EI is calculated through M models to be measured respectively m Previously, the base Q of the data quantity corresponding to the ith commodity is calculated i 。
Optionally, the base Q of the data volume corresponding to the ith commodity is calculated i Comprising the following steps:
for the ith commodity, calculating the average value A of the data quantity of the commodity according to the S sample data of the commodity i And standard deviation D i ;
For the S sample data, the numerical value is greater than X i Is smaller than Y i Calculating an average value of the remaining sample data;
taking the average value of the rest sample data as the base Q of the data volume of the commodity i ;
Wherein S is a positive integer greater than or equal to 1;
X i =A i +2D i ;Y i =A i -2D i 。
optionally, the error value includes a root mean square error RMSE, a mean square error MSE, a mean absolute error MAE, a mean absolute percentage error MAPE.
The application comprises the following steps: EI is calculated through M models to be measured respectively m The method comprises the steps of carrying out a first treatment on the surface of the According to EI m The value determines a target standby model from the M models to be tested; wherein,
EI i calculating an error value of the ith commodity for the mth model to be measured; q (Q) i A base for the data amount of the ith commodity;
m=1, 2 … M, i=1, 2 … N; m and N are positive integers greater than 1; for each of the N commodities, the commodity type is the same and the characteristics of the commodity are different; the data volume includes sales volume, shipping volume, or production volume. According to the technical scheme, the more accurate model for prediction can be determined by setting the evaluation index of the model, and sales quantity prediction, goods intake quantity prediction or yield prediction and the like are more accurate through the determined model.
Drawings
The accompanying drawings are included to provide an understanding of the principles of the application, and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain, without limitation, the principles of the application.
FIG. 1 is a flow chart of a method of determining a model according to a first embodiment of the present application;
FIG. 2 is a schematic structural view of a device for determining a model according to a first embodiment of the present application;
fig. 3 is another flowchart of a method of determining a model according to a first embodiment of the present application.
Detailed Description
The present application has been described in terms of several embodiments, but the description is illustrative and not restrictive, and it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible within the scope of the described embodiments. Although many possible combinations of features are shown in the drawings and discussed in the detailed description, many other combinations of the disclosed features are possible. Any feature or element of any embodiment may be used in combination with or in place of any other feature or element of any other embodiment unless specifically limited.
The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The disclosed embodiments, features and elements of the present application may also be combined with any conventional features or elements to form a unique inventive arrangement as defined by the claims. Any feature or element of any embodiment may also be combined with features or elements from other inventive arrangements to form another unique inventive arrangement as defined in the claims. It is therefore to be understood that any of the features shown and/or discussed in the present application may be implemented alone or in any suitable combination. Accordingly, the embodiments are not to be restricted except in light of the attached claims and their equivalents. Further, various modifications and changes may be made within the scope of the appended claims.
Furthermore, in describing representative embodiments, the specification may have presented the method and/or process as a particular sequence of steps. However, to the extent that the method or process does not rely on the particular order of steps set forth herein, the method or process should not be limited to the particular sequence of steps described. Other sequences of steps are possible as will be appreciated by those of ordinary skill in the art. Accordingly, the particular order of the steps set forth in the specification should not be construed as limitations on the claims. Furthermore, the claims directed to the method and/or process should not be limited to the performance of their steps in the order written, and one skilled in the art can readily appreciate that the sequences may be varied and still remain within the spirit and scope of the embodiments of the present application.
Example 1
As shown in fig. 1, the present embodiment provides a method for determining a model, the method including:
step S101, respectively calculating EI through M models to be detected m ;
Step S102, according to EI m The value determines a target standby model from the M models to be tested;
wherein ,
EI i calculating an error value of the ith commodity for the mth model to be measured; q (Q) i A base for the data amount of the ith commodity;
m=1, 2 … M, i=1, 2 … N; m and N are positive integers greater than 1;
for each of the N commodities, the commodity type is the same and the characteristics of the commodity are different;
the data volume includes sales volume, shipping volume, or production volume.
In this embodiment, the N selected commodities may be similar commodities but of different types. For example, selecting N items may be N dishes: mutton steamed bread, vermicelli cabbage, tomato eggs and the like; or the selected N commodities may be N electronic products: talent watch Z2, talent watch Z3, talent watch Z5, mate 30, etc.
Optionally, the step of determining the EI m Value determination of the target standby model from the M models to be tested may include:
EI is set m And the model to be tested with the minimum value is taken as a target standby model.
Optionally, the EI is calculated by M models to be measured m Previously, the method may further comprise:
calculating the base Q of the data quantity corresponding to the ith commodity i 。
Optionally, the base Q of the data volume corresponding to the ith commodity is calculated i May include:
for the ith commodity, calculating the average value A of the data quantity of the commodity according to the S sample data of the commodity i And standard deviation D i ;
For the S sample data, the numerical value is greater than X i Is smaller than Y i Calculating an average value of the remaining sample data;
the remaining sample is takenThe average value of the data is taken as the base Q of the data volume of the commodity i ;
Wherein S is a positive integer greater than or equal to 1;
X i =A i +2D i ;Y i =A i -2D i 。
alternatively, the error values may include a root mean square error RMSE, a mean square error MSE, a mean absolute error MAE, a mean absolute percentage error MAPE.
According to the technical scheme, each model is evaluated by setting the evaluation index of the model, so that the model with more accurate prediction can be determined, the selected model is more reasonable and practical, and sales quantity prediction, stock quantity prediction or yield prediction and the like performed by the selected model are more accurate.
As shown in fig. 2, this embodiment further provides an apparatus for determining a model, where the apparatus includes: a memory 10 and a processor 11;
the memory 10 is used for storing a program for determining a model;
the processor 11 is configured to read and execute the program for determining a model, and perform the following operations:
EI is calculated through M models to be measured respectively m ;
According to EI m The value determines a target standby model from the M models to be tested;
wherein ,
EI i calculating an error value of the ith commodity for the mth model to be measured; q (Q) i A base for the data amount of the ith commodity;
m=1, 2 … M, i=1, 2 … N; m and N are positive integers greater than 1;
for each of the N commodities, the commodity type is the same and the characteristics of the commodity are different;
the data volume includes sales volume, shipping volume, or production volume.
Optionally, the step of determining the EI m Value determination of the target standby model from the M models to be tested may include:
EI is set m And the model to be tested with the minimum value is taken as a target standby model.
Optionally, the processor 11 is configured to read and execute the program for determining a model, and may further perform the following operations:
the EI is calculated through M models to be measured respectively m Previously, the base Q of the data quantity corresponding to the ith commodity is calculated i 。
Optionally, the base Q of the data volume corresponding to the ith commodity is calculated i May include:
for the ith commodity, calculating the average value A of the data quantity of the commodity according to the S sample data of the commodity i And standard deviation D i ;
For the S sample data, the numerical value is greater than X i Is smaller than Y i Calculating an average value of the remaining sample data;
taking the average value of the rest sample data as the base Q of the data volume of the commodity i ;
Wherein S is a positive integer greater than or equal to 1;
X i =A i +2D i ;Y i =A i -2D i 。
alternatively, the error values may include a root mean square error RMSE, a mean square error MSE, a mean absolute error MAE, a mean absolute percentage error MAPE.
According to the technical scheme, each model is evaluated by setting the evaluation index of the model, so that the model with more accurate prediction can be determined, the selected model is more reasonable and practical, and sales quantity prediction, stock quantity prediction or yield prediction and the like performed by the selected model are more accurate.
The method of determining a model of the present application is further illustrated by way of example below.
This example is described taking sales of dishes as an example, assuming that dishes respectively include: diced chicken, white-burned cabbage mustard, braised pork, steamed rice and steamed bread.
Currently there are 6 models to be tested for predicting sales of the 5 dishes mentioned above (i.e. m= 6;N =5).
As shown in fig. 3, the method of determining a model of the present example may include:
step S301, calculating sales quantity base numbers of 5 dishes respectively;
in this example, it is necessary to calculate the sales base of the chicken in palace, the sales base of the white leaf mustard, the sales base of the red-boiled meat, the sales base of the steamed rice, and the sales base of the steamed bread.
The calculation of the sales base for a chicken nugget may be performed as follows:
first, sample data may be collected according to the specific situation, and the sales amount may be a daily sales amount in one month, a daily sales amount in one year, or a sales amount in each month in one year.
Assuming that the 1 st commodity is a chicken breast, the daily sales of chicken breast (s=7) in one week are collected: 2. 12, 17, 19, 15, 20, 16, and calculating an average value a of the 7 sample data 1 Standard deviation D of 14.429 for these 7 sample data 1 Is 5.628, X 1 =A 1 +2D 1 =14.429+2*5.628=25.69,X 1 =A 1 -2D 1 Sample data 2 is deleted by deleting sample data of more than 25.69 and sample data of less than 3.17, the remaining sample data being 12, 17, 19, 15, 20, 16, and then the average value of 12, 17, 19, 15, 20, 16 is calculated to be 16.5, so that the sales base Q of the chicken in palace is calculated 1 16.5.
Based on the above mode, calculating sales base of white-burned cabbage mustard, sales base of red-burned meat, sales base of steamed rice and sales base of steamed bread.
Step S102, respectively calculating EI through 6 models to be tested m ;
wherein ,
in this example, EI i The RMSE of the ith commodity calculated for the mth model to be measured; q (Q) i The base of sales for the ith commodity;
m=1,2…6,i=1,2…5。
step S103, EI m And the model to be tested with the minimum value is taken as a target standby model.
Assume that the EI calculated by the 3 rd model under test 3 And if the sales quantity is minimum, the 3 rd model to be measured is used as a target standby model, namely, the sales quantity prediction is more accurate by using the 3 rd model to be measured, and the method can be suitable for predicting the output of various orders of magnitude.
According to the technical scheme, each model is evaluated by setting the evaluation index of the model, so that the model with more accurate prediction can be determined, the determined model is more reasonable and practical, and sales quantity prediction, stock quantity prediction or yield prediction and the like performed by the determined model are more accurate.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
Claims (6)
1. A method of determining a model, the method comprising:
EI is calculated through M models to be measured respectively m ;
According to EI m The value determines a target standby model from the M models to be tested;
wherein ,
EI i calculating an error value of the ith commodity for the mth model to be measured; q (Q) i A base for the data amount of the ith commodity;
m=1, 2 … M, i=1, 2 … N; m and N are positive integers greater than 1;
for each of the N commodities, the commodity type is the same and the characteristics of the commodity are different;
the data amount includes sales amount, stock amount or yield,
the EI is calculated through M models to be measured respectively m Previously, the method further comprises:
calculating the base Q of the data quantity corresponding to the ith commodity i ;
The base Q of the data quantity corresponding to the ith commodity is calculated i Comprising the following steps:
for the ith commodity, calculating the average value A of the data quantity of the commodity according to the S sample data of the commodity i And standard deviation D i ;
For the S sample data, the numerical value is greater than X i Is smaller than Y i Calculating an average value of the remaining sample data;
taking the average value of the rest sample data as the base Q of the data volume of the commodity i ;
Wherein S is a positive integer greater than or equal to 1;
X i =A i +2D i ;Y i =A i -2D i 。
2. the method of claim 1, wherein the step of determining the difference in the EIs m The value determining the target standby model from the M models to be tested comprises:
EI is set m And the model to be tested with the minimum value is taken as a target standby model.
3. A method according to any one of claims 1 to 2, wherein:
the error values include root mean square error RMSE, mean square error MSE, mean absolute error MAE, mean absolute percentage error MAPE.
4. An apparatus for determining a model, the apparatus comprising: a memory and a processor; the method is characterized in that:
the memory is used for storing a program for determining a model;
the processor is configured to read and execute the program for determining a model, and perform the following operations:
EI is calculated through M models to be measured respectively m ;
According to EI m The value determines a target standby model from the M models to be tested;
wherein ,
EI i calculating an error value of the ith commodity for the mth model to be measured; q (Q) i A base for the data amount of the ith commodity;
m=1, 2 … M, i=1, 2 … N; m and N are positive integers greater than 1;
for each of the N commodities, the commodity type is the same and the characteristics of the commodity are different;
the data amount includes sales amount, stock amount or yield,
the processor is configured to read and execute the program for determining a model, and further perform the following operations:
the EI is calculated through M models to be measured respectively m Previously, the base Q of the data quantity corresponding to the ith commodity is calculated i ;
Calculating the base Q of the data quantity corresponding to the ith commodity i Comprising the following steps:
for the ith commodity, calculating the average value A of the data quantity of the commodity according to the S sample data of the commodity i And standard deviation D i ;
For the S sample data, the numerical value is greater than X i Is smaller than Y i Calculating an average value of the remaining sample data;
taking the average value of the rest sample data as the base Q of the data volume of the commodity i ;
Wherein S is a positive integer greater than or equal to 1;
X i =A i +2D i ;Y i =A i -2D i 。
5. the apparatus of claim 4, wherein the apparatus according to EI m The value determining the target standby model from the M models to be tested comprises:
EI is set m And the model to be tested with the minimum value is taken as a target standby model.
6. The apparatus of any one of claims 4 to 5, wherein:
the error values include root mean square error RMSE, mean square error MSE, mean absolute error MAE, mean absolute percentage error MAPE.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911214521.6A CN111144617B (en) | 2019-12-02 | 2019-12-02 | Method and device for determining model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911214521.6A CN111144617B (en) | 2019-12-02 | 2019-12-02 | Method and device for determining model |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111144617A CN111144617A (en) | 2020-05-12 |
CN111144617B true CN111144617B (en) | 2023-10-31 |
Family
ID=70517419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911214521.6A Active CN111144617B (en) | 2019-12-02 | 2019-12-02 | Method and device for determining model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111144617B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103455855A (en) * | 2013-09-12 | 2013-12-18 | 国家电网公司 | Intermittent electricity stealing prevention detecting method based on electricity consumption information data analysis |
CN103617458A (en) * | 2013-12-06 | 2014-03-05 | 李敬泉 | Short-term commodity demand prediction method |
CN104866930A (en) * | 2015-06-12 | 2015-08-26 | 哈尔滨工业大学 | Time series prediction method based on quantitative screening time series prediction model |
CN104899658A (en) * | 2015-06-12 | 2015-09-09 | 哈尔滨工业大学 | Prediction model selection method based on applicability quantification of time series prediction model |
JP2017182308A (en) * | 2016-03-29 | 2017-10-05 | 富士通株式会社 | Correlation factor extraction method, correlation factor extraction device, and correlation factor extraction program |
CN109063892A (en) * | 2018-06-25 | 2018-12-21 | 华北电力大学 | Industry watt-hour meter prediction technique based on BP-LSSVM combination optimization model |
CN109871975A (en) * | 2018-11-28 | 2019-06-11 | 国网浙江省电力有限公司台州供电公司 | Breakdown repair handling duration prediction technique based on data mining |
CN110210084A (en) * | 2019-05-18 | 2019-09-06 | 西南交通大学 | The method and system of mechanical change judgement landslide possibility based on Fusion in Time |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9396444B2 (en) * | 2011-12-22 | 2016-07-19 | Adobe Systems Incorporated | Predictive analytics with forecasting model selection |
US10450841B2 (en) * | 2014-05-16 | 2019-10-22 | Apache Corporation | Methods for statistical prediction of well production and reserves |
US20190087741A1 (en) * | 2016-03-23 | 2019-03-21 | Nanjing Howso Technology Co., Ltd | Method for dynamically selecting optimal model by three-layer association for large data volume prediction |
-
2019
- 2019-12-02 CN CN201911214521.6A patent/CN111144617B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103455855A (en) * | 2013-09-12 | 2013-12-18 | 国家电网公司 | Intermittent electricity stealing prevention detecting method based on electricity consumption information data analysis |
CN103617458A (en) * | 2013-12-06 | 2014-03-05 | 李敬泉 | Short-term commodity demand prediction method |
CN104866930A (en) * | 2015-06-12 | 2015-08-26 | 哈尔滨工业大学 | Time series prediction method based on quantitative screening time series prediction model |
CN104899658A (en) * | 2015-06-12 | 2015-09-09 | 哈尔滨工业大学 | Prediction model selection method based on applicability quantification of time series prediction model |
JP2017182308A (en) * | 2016-03-29 | 2017-10-05 | 富士通株式会社 | Correlation factor extraction method, correlation factor extraction device, and correlation factor extraction program |
CN109063892A (en) * | 2018-06-25 | 2018-12-21 | 华北电力大学 | Industry watt-hour meter prediction technique based on BP-LSSVM combination optimization model |
CN109871975A (en) * | 2018-11-28 | 2019-06-11 | 国网浙江省电力有限公司台州供电公司 | Breakdown repair handling duration prediction technique based on data mining |
CN110210084A (en) * | 2019-05-18 | 2019-09-06 | 西南交通大学 | The method and system of mechanical change judgement landslide possibility based on Fusion in Time |
Non-Patent Citations (1)
Title |
---|
采用预测模型与模糊理论的风电机组状态参数异常辨识方法;孙鹏;李剑;寇晓适;吕中宾;姚德贵;王吉;王磊磊;滕卫军;;电力自动化设备(第08期);96-104 * |
Also Published As
Publication number | Publication date |
---|---|
CN111144617A (en) | 2020-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020143409A1 (en) | Method and device for predicting business indicators | |
CN106971348B (en) | Data prediction method and device based on time sequence | |
US20150235239A1 (en) | Predicting demand of a newly introduced short lifecycle product within an assortment | |
US20150221040A1 (en) | Residual risk analysis system, method and computer program product therefor | |
CN111401940B (en) | Feature prediction method, device, electronic equipment and storage medium | |
JP4937608B2 (en) | INDICATOR ESTIMATION DEVICE, INDICATOR ESTIMATION METHOD, AND INDICATOR ESTIMATION PROGRAM | |
US10984343B2 (en) | Training and estimation of selection behavior of target | |
KR20140056731A (en) | Purchase recommendation service system and method | |
CN107958297B (en) | Product demand prediction method and product demand prediction device | |
JP2008186413A (en) | Demand forecast device, demand forecast method, and demand forecast program | |
US10318898B2 (en) | Determination of a placement mode of an object in a multiplicity of storage areas | |
US20230128579A1 (en) | Generative-discriminative ensemble method for predicting lifetime value | |
CN109242141B (en) | Method and device for predicting inventory quantity of commodities | |
US11348146B2 (en) | Item-specific value optimization tool | |
US9201967B1 (en) | Rule based product classification | |
CN111144617B (en) | Method and device for determining model | |
CN110851587B (en) | Commodity coding prediction model generation and commodity coding determination method, device and equipment | |
CN108364200A (en) | A kind of macroeconomy Trend Prediction system and method | |
CN111652674B (en) | Resource recommendation method and device | |
US20150170169A1 (en) | Prediction device, prediction method, and computer readable medium | |
CN108492179A (en) | Time-frequency spectrum generation method and equipment | |
CN114418776A (en) | Data processing method, device, terminal equipment and medium | |
Cross et al. | On the contribution of international shocks in Australian business cycle fluctuations | |
US11861635B1 (en) | Automatic analysis of regional housing markets based on the appreciation or depreciation of individual homes | |
CN110610393A (en) | Information recommendation method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |