Traffic flow prediction method based on firefly algorithm and RBF neural network
A firefly algorithm and neural network technology, applied in the field of traffic flow prediction based on firefly algorithm and RBF neural network, can solve problems such as imperfect method, slow convergence speed of particle swarm algorithm, and premature genetic algorithm, so as to avoid premature convergence. , improve the global search ability, improve the effect of diversity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0060] In this embodiment, in the training data, the division rule of the input data and the expected output data is: the obtained training data is [a1, a2, a3, a4, a5, a6...a(n-1), an], and the The first four data in the training data are used as input data, and the fifth data is used as the expected output. These four input data and one expected output are divided into a set of input data and expected output; that is, a1, a2, a3, a4 are input data , take a5 as the expected output data, a2, a3, a4, a5 as the input data, then a6 as the expected output data, a(n-4), a(n-3), a(n-2), a (n-1) is used as input data, an is output data, a(n-4), a(n-3), a(n-2), a(n-1) and an are divided into a set of input data and expected output;
Embodiment 2
[0062] On the basis of Example 1, the formula for calculating the relative brightness of firefly i relative to firefly j is:
[0063]
[0064] where r ij is the Euclidean distance between firefly i and firefly j in matrix F, I 0 is the brightness of firefly individual j, γ is the light intensity absorption coefficient; 1≤i≤s, 1≤j≤s; s represents the individual number of fireflies in the matrix F;
[0065] The formula for calculating relative attraction between two fireflies is:
[0066]
[0067] Among them, β(r ij ) represents the relative attraction between two fireflies, where r ij is the Euclidean distance between two fireflies, β 0 is the maximum attraction between two fireflies, β 0 =1, m takes 2; γ is the light intensity absorption coefficient.
Embodiment 3
[0069] The data in this embodiment comes from the traffic flow on an expressway in Stockton, San Joaquin County, California, USA. The expressway has three observation points, which are the traffic flow every five minutes.
[0070] The first column is the specific data collection time, which is counted every five minutes. The second column is the traffic flow of the first observation point, the third column is the traffic flow of the second observation point, the fourth column is the traffic flow of the third observation point, and the last column is the sum of the traffic flow of the three observation points .
[0071] Since the prediction method needs to use things with similar development status to predict the prediction object, this paper separates the traffic flow of weekdays and rest days for training and prediction. The data of April 2011 in the sample is selected as the experimental data. Select the data of the first three weeks as the training data, and the data of t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com