CN108197748B - A People Flow Prediction Method Based on Thinking Evolution Algorithm - Google Patents
A People Flow Prediction Method Based on Thinking Evolution Algorithm Download PDFInfo
- Publication number
- CN108197748B CN108197748B CN201810015168.8A CN201810015168A CN108197748B CN 108197748 B CN108197748 B CN 108197748B CN 201810015168 A CN201810015168 A CN 201810015168A CN 108197748 B CN108197748 B CN 108197748B
- Authority
- CN
- China
- Prior art keywords
- thinking
- day
- people flow
- algorithm
- prediction
- 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
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
- 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
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
-
- 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/06—Energy or water supply
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Strategic Management (AREA)
- Human Resources & Organizations (AREA)
- Software Systems (AREA)
- Life Sciences & Earth Sciences (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Computation (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Biophysics (AREA)
- General Business, Economics & Management (AREA)
- Biomedical Technology (AREA)
- Tourism & Hospitality (AREA)
- Artificial Intelligence (AREA)
- Molecular Biology (AREA)
- Marketing (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Game Theory and Decision Science (AREA)
- Development Economics (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- Primary Health Care (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种人流量预测方法,属于智能预测技术领域。The invention relates to a human flow prediction method, which belongs to the technical field of intelligent prediction.
背景技术Background technique
随着电力企业业务逐渐纳入更深的市场经济环境,用优质的服务完善电力营销业务,已经成为当前电力企业开展日常经营管理的必要工作。供电营业厅作为直接面向电力用户的窗口单位,其服务水平的优劣直接影响着用电客户对于企业的印象。With the gradual integration of power enterprise business into a deeper market economic environment, improving power marketing business with high-quality services has become a necessary work for current power enterprises to carry out daily operation and management. As a window unit directly facing power users, the service level of the power supply business hall directly affects the impression of the power customers on the enterprise.
供电营业厅的人流量是供电营业厅的配备人员、设备的核心参考依据,对于供电营业厅自身的服务质量是一个关键影响因素。虽然传统神经网络可用于对人流量进行数值预测,但其预测精度不高,仍然有待提升,因此需要设计一种更为准确的人流量预测建模方法。The flow of people in the power supply business hall is the core reference for the staffing and equipment of the power supply business hall, and it is a key factor affecting the service quality of the power supply business hall itself. Although traditional neural network can be used for numerical prediction of human flow, its prediction accuracy is not high and still needs to be improved. Therefore, a more accurate modeling method for human flow prediction needs to be designed.
发明内容SUMMARY OF THE INVENTION
本发明所要解决的技术问题是针对背景技术中涉及的缺陷,提出一种新的人流量预测方法,提高预测精度。The technical problem to be solved by the present invention is to propose a new method for predicting the flow of people, aiming at the defects involved in the background technology, so as to improve the prediction accuracy.
本发明为了解决以上技术问题,而采用以下技术方案:The present invention adopts the following technical solutions in order to solve the above technical problems:
一种基于思维进化算法的人流量预测方法,包括以下步骤:A method for predicting human flow based on a thinking evolution algorithm, comprising the following steps:
步骤一:分别设定对应时间点数据格式、当天天气数据格式和是否为工作日数据格式;Step 1: Set the data format of the corresponding time point, the weather data format of the day, and whether it is a working day data format;
步骤二:构造模型输入数据特征向量:Step 2: Construct the model input data feature vector:
E=[T i , W i , K i ] E =[ T i , Wi , K i ]
其中i时刻的当天天气记为W i ,是否为工作日记为K i ,对应时间点记为T i ;Wherein, the weather of the day at time i is recorded as Wi , whether it is a work diary is K i , and the corresponding time point is recorded as T i ;
步骤三:为思维进化算法设置参数,设置的参数包括种群大小,优胜子种群,临时子种群,隐含层,迭代次数;Step 3: Set parameters for the thinking evolution algorithm, the set parameters include population size, winning sub-population, temporary sub-population, hidden layer, and number of iterations;
步骤四:对思维进化算法进行趋同操作,当临时子种群的得分低于优胜子种群的得分时,趋同操作停止,反之则继续进行趋同操作。Step 4: Perform a convergence operation on the evolutionary thinking algorithm. When the score of the temporary sub-population is lower than the score of the winning sub-population, the convergence operation is stopped, otherwise, the convergence operation is continued.
步骤五:当趋同操作停止时,获取BP神经网络的最优权值和阈值;Step 5: When the convergence operation stops, obtain the optimal weights and thresholds of the BP neural network;
步骤六:输入历史数据,训练BP神经网络,得出预测模型;Step 6: Input historical data, train the BP neural network, and obtain a prediction model;
步骤七:向预测模型输入待预测的对应时间点、当天天气、是否为工作日,即可得出待预测时间点的人流量。Step 7: Input the corresponding time point to be predicted, the weather of the day, and whether it is a working day into the prediction model, and then the flow of people at the time point to be predicted can be obtained.
本发明采用以上技术方案,具有以下技术效果:The present invention adopts the above technical scheme, and has the following technical effects:
该方法基于神经网络预测模型,通过思维进化算法对传统神经网络结构进行优化,得出预测精度更高的预测模型,提高了供电营业厅的人流量预测水平,为供电营业厅提升自身服务水平的方案制定提供了更加准确的科学依据。This method is based on the neural network prediction model, optimizes the traditional neural network structure through the evolutionary algorithm of thinking, and obtains a prediction model with higher prediction accuracy, which improves the flow prediction level of the power supply business hall, and improves the service level of the power supply business hall. The formulation of the program provides a more accurate scientific basis.
附图说明Description of drawings
图1为本发明的流程图。FIG. 1 is a flow chart of the present invention.
图2为本发明的原理图。FIG. 2 is a schematic diagram of the present invention.
具体实施方式Detailed ways
下面结合附图对本发明的技术方案做进一步的详细说明:Below in conjunction with accompanying drawing, the technical scheme of the present invention is described in further detail:
本技术领域技术人员可以理解的是,除非另外定义,这里使用的所有术语(包括技术术语和科学术语)具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样定义,不会用理想化或过于正式的含义来解释。It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with their meanings in the context of the prior art and, unless defined as herein, are not to be taken in an idealized or overly formal sense. explain.
本发明提供了一种基于思维进化算法的人流量预测建模方法,该模型基于BP神经网络,引入思维进化算法对BP神经网络结构进行优化,从而提升预测精度。思维进化算法是一种通过迭代不断进化的优化算法,该方法可以实现对神经网络预测模型的优化:通过趋同和异化操作对隐层权值、阈值进行优化,削减隐层权值、阈值随机生成所造成的预测误差,从而构建精度更高的预测模型。The invention provides a human flow prediction modeling method based on a thinking evolution algorithm. The model is based on a BP neural network, and the thinking evolution algorithm is introduced to optimize the structure of the BP neural network, thereby improving the prediction accuracy. The thinking evolution algorithm is an optimization algorithm that evolves continuously through iteration. This method can realize the optimization of the neural network prediction model: optimize the hidden layer weights and thresholds through convergence and alienation operations, and reduce the hidden layer weights and thresholds. The resulting prediction error can be used to build a more accurate prediction model.
如图2所示,本发明所述的一种基于思维进化算法的人流量预测建模方法,综合考虑影响供电营业厅人流量的因素,取预测模型的输入数据为对应时间点、当天天气、是否为工作日,输出为期望时刻的人流量预测值。As shown in Figure 2, a kind of people flow prediction modeling method based on thinking evolution algorithm of the present invention comprehensively considers the factors affecting the flow of people in the power supply business hall, and takes the input data of the prediction model as the corresponding time point, the weather of the day, Whether it is a working day, the output is the predicted value of people flow at the desired time.
对应时间点数据格式:根据对业务办理情况的调研分析,取采样周期为5分钟。其中对于对应时间点的处理方法为:采取24小时制,M时N分记为(M+N/60),以14时15分为例,即为14+15/60=14.25。Corresponding time point data format: According to the research and analysis of the business handling situation, the sampling period is 5 minutes. Among them, the processing method for the corresponding time point is: adopt the 24-hour system, and the M hour and N minutes are recorded as ( M + N /60), taking 14:15 minutes as an example, that is, 14+15/60=14.25.
当天天气数据格式:根据天气影响出行的程度,将其分为5个级别,对每种级别赋予一个编码:(晴朗 = 1),(多云 = 2),(小雨 = 3),(中雨/小雪/雨夹雪 = 4),(大雨/大雪= 5),(特大暴雨/雪或台风 = 6)。Today's weather data format: According to the degree to which the weather affects travel, it is divided into 5 levels, and each level is assigned a code: (sunny = 1), (cloudy = 2), (light rain = 3), (moderate rain/ Light Snow/Sleet = 4), (Heavy Rain/Snow = 5), (Extremely Heavy Rain/Snow or Typhoon = 6).
是否为工作日数据格式:工作日记为1,非工作日记为0:(周一至周五 = 1),(周六/周天 = 0)。Whether it is working day data format: 1 for working diary, 0 for non-working diary: (Mon-Fri = 1), (Sat/Sun = 0).
构造模型输入数据特征向量:i时刻的天气情况记为W i ,工作日情况记为K i ,此时的时间点记为T i 。则模型输入特征向量为:Construct the input data feature vector of the model: the weather condition at time i is recorded as Wi , the working day is recorded as K i , and the time point at this time is recorded as T i . Then the model input feature vector is:
E=[T i , W i , K i ]。 E = [ T i , Wi , K i ].
为思维进化算法设置参数。思维进化算法是一种通过迭代不断进化的算法,进化时每一代的所有个体的集合称为一个群体,一个群体分为若干个子群体。设置的参数包括种群大小,优胜子种群,临时子种群,隐含层,迭代次数。Set parameters for the mind evolution algorithm. The thinking evolution algorithm is an algorithm that continuously evolves through iteration. The collection of all individuals in each generation during evolution is called a group, and a group is divided into several subgroups. The set parameters include population size, winning subpopulation, temporary subpopulation, hidden layer, and number of iterations.
对思维进化算法进行趋同操作(在子群体范围内,个体为成为胜者而竞争的过程是趋同),当临时子种群的得分低于优胜子种群的得分时,趋同操作停止,反之,继续进行趋同操作。Perform a convergence operation on the evolutionary algorithm of thinking (within the sub-group, the process of individuals competing to become the winner is convergence), when the score of the temporary sub-population is lower than the score of the winning sub-population, the convergence operation stops, otherwise, it continues. Convergence operation.
当趋同操作停止时,获取BP神经网络的最优权值和阈值,即预测模型达到最优结构。When the convergence operation is stopped, the optimal weights and thresholds of the BP neural network are obtained, that is, the prediction model reaches the optimal structure.
输入历史数据,训练BP神经网络,得出预测模型。Input historical data, train BP neural network, and get a prediction model.
向预测模型输入待预测的时间点、当天天气、是否为工作日,即可得出供电营业厅期望时刻的人流量。Input the time point to be predicted, the weather of the day, and whether it is a working day into the prediction model, and the flow of people at the expected time of the power supply business hall can be obtained.
该模型基于BP神经网络,具体如图1所示,通过引入思维进化算法对BP神经网络结构进行优化,从而提升预测精度。The model is based on the BP neural network, as shown in Figure 1. The structure of the BP neural network is optimized by introducing the evolutionary algorithm of thinking, thereby improving the prediction accuracy.
以上所述仅是本发明的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above are only some embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, several improvements and modifications can be made. It should be regarded as the protection scope of the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810015168.8A CN108197748B (en) | 2018-01-08 | 2018-01-08 | A People Flow Prediction Method Based on Thinking Evolution Algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810015168.8A CN108197748B (en) | 2018-01-08 | 2018-01-08 | A People Flow Prediction Method Based on Thinking Evolution Algorithm |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108197748A CN108197748A (en) | 2018-06-22 |
CN108197748B true CN108197748B (en) | 2020-11-24 |
Family
ID=62588213
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810015168.8A Active CN108197748B (en) | 2018-01-08 | 2018-01-08 | A People Flow Prediction Method Based on Thinking Evolution Algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108197748B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111026624B (en) * | 2019-11-11 | 2023-06-02 | 国网甘肃省电力公司信息通信公司 | Fault prediction method and device of power grid information system |
CN116822965B (en) * | 2023-08-28 | 2023-11-21 | 中铁七局集团电务工程有限公司武汉分公司 | Subway construction risk early warning method and system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106991208A (en) * | 2017-02-28 | 2017-07-28 | 浙江工业大学 | Forecasting Methodology based on the injector performance using the BP artificial neural networks for improving mind evolutionary |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10937102B2 (en) * | 2015-12-23 | 2021-03-02 | Aetna Inc. | Resource allocation |
-
2018
- 2018-01-08 CN CN201810015168.8A patent/CN108197748B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106991208A (en) * | 2017-02-28 | 2017-07-28 | 浙江工业大学 | Forecasting Methodology based on the injector performance using the BP artificial neural networks for improving mind evolutionary |
Also Published As
Publication number | Publication date |
---|---|
CN108197748A (en) | 2018-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110705743B (en) | New energy consumption electric quantity prediction method based on long-term and short-term memory neural network | |
CN110288136B (en) | Establishment method of wind power multi-step forecasting model | |
CN112330487B (en) | A short-term power prediction method for photovoltaic power generation | |
CN107578124A (en) | Short-term power load forecasting method based on multi-layer improved GRU neural network | |
CN107730031A (en) | A kind of ultra-short term peak load forecasting method and its system | |
CN113554466A (en) | Construction method, forecasting method and device for short-term electricity consumption forecasting model | |
CN105139264A (en) | Photovoltaic generation capacity prediction method based on particle swarm algorithm wavelet neural network | |
CN106022549A (en) | Short term load predication method based on neural network and thinking evolutionary search | |
CN109636054A (en) | Solar energy power generating amount prediction technique based on classification and error combination prediction | |
CN117410981A (en) | Multi-region electric power energy intelligent scheduling method and system based on big data | |
CN108197748B (en) | A People Flow Prediction Method Based on Thinking Evolution Algorithm | |
CN109086926A (en) | A kind of track traffic for passenger flow prediction technique in short-term based on combination neural net structure | |
CN115906235B (en) | Public building energy-saving diagnosis system and method | |
CN114638440A (en) | An ultra-short-term prediction method of charging load based on the usage of charging piles | |
CN113435625A (en) | Dynamic economic dispatching optimization method and device for power system | |
CN113537596B (en) | Short-time passenger flow prediction method for new line station of urban rail transit | |
CN105426989A (en) | EEMD and combined kernel RVM-based photovoltaic power short-term prediction method | |
CN113344290B (en) | Method for correcting sub-season rainfall weather forecast based on U-Net network | |
CN114881338A (en) | Power distribution network line loss prediction method based on maximum mutual information coefficient and deep learning | |
CN114492964A (en) | An Ultra-short-term Probabilistic Prediction Method of Photovoltaic Power Based on Wavelet Decomposition and Optimized Deep Belief Network | |
CN118070010A (en) | Renewable energy scene generation method based on generation countermeasure network | |
CN114202069A (en) | A dynamic intelligent prediction system modeling method for big data air conditioning system | |
CN110110908B (en) | New energy monthly power generation prediction oriented data expansion method | |
CN111598328A (en) | Power load prediction method considering epidemic situation events | |
CN115481918A (en) | Active sensing and predictive analysis system for unit state based on source network load storage |
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 |