CN117273287B - Tensor-matrix coupling-based subway passenger flow prediction method - Google Patents
Tensor-matrix coupling-based subway passenger flow prediction method Download PDFInfo
- Publication number
- CN117273287B CN117273287B CN202311567993.6A CN202311567993A CN117273287B CN 117273287 B CN117273287 B CN 117273287B CN 202311567993 A CN202311567993 A CN 202311567993A CN 117273287 B CN117273287 B CN 117273287B
- Authority
- CN
- China
- Prior art keywords
- matrix
- tensor
- passenger flow
- subway
- decomposition
- 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
- 239000011159 matrix material Substances 0.000 title claims abstract description 133
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000008878 coupling Effects 0.000 title claims abstract description 25
- 238000010168 coupling process Methods 0.000 title claims abstract description 25
- 238000005859 coupling reaction Methods 0.000 title claims abstract description 25
- 238000000354 decomposition reaction Methods 0.000 claims abstract description 61
- 238000004364 calculation method Methods 0.000 claims abstract description 10
- 238000005457 optimization Methods 0.000 claims abstract description 8
- 238000004422 calculation algorithm Methods 0.000 claims description 21
- 238000005516 engineering process Methods 0.000 claims description 6
- 238000005065 mining Methods 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000012821 model calculation Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000007792 addition Methods 0.000 description 1
- 238000009412 basement excavation Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000005094 computer simulation Methods 0.000 description 1
- 238000007418 data mining Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011478 gradient descent method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003062 neural network model Methods 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000003442 weekly effect 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/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/213—Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
-
- 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/04—Architecture, e.g. interconnection topology
- G06N3/0464—Convolutional networks [CNN, ConvNet]
-
- 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
-
- 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/10—Services
- G06Q50/26—Government or public services
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Resources & Organizations (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Tourism & Hospitality (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Strategic Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Molecular Biology (AREA)
- General Business, Economics & Management (AREA)
- Software Systems (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Mathematical Physics (AREA)
- Computing Systems (AREA)
- Educational Administration (AREA)
- Computational Linguistics (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Game Theory and Decision Science (AREA)
- Primary Health Care (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a subway passenger flow prediction method based on tensor-matrix coupling, which belongs to the field of traffic prediction and comprises the following steps: step 1, obtaining subway passenger flow data, interest point data and weather condition data; step 2, constructing a subway passenger flow prediction model based on tensor-matrix coupling decomposition; and step 3, solving an optimization model by adopting an alternate direction multiplier method to obtain a subway passenger flow prediction value in a certain time interval in the future. According to the method, the subway passenger flow matrix data are expanded into the third-order subway passenger flow tensor by introducing the time dimension, the weather feature matrix and the interest point matrix are used as auxiliary information, the calculation complexity of the prediction model is reduced, and the accuracy of the subway passenger flow prediction result is improved.
Description
Technical Field
The invention belongs to the field of traffic prediction, and particularly relates to a subway passenger flow prediction method based on tensor-matrix coupling.
Background
With rapid construction and development of cities, urban traffic travel is receiving more and more attention. The subway is an important component of urban rail transit and is also a green travel tool. OD pair (origin-destination pairs) data, namely passenger flow between any two stations of the subway, can be extracted from subway IC card data, and a data base is provided for subway bidirectional passenger flow prediction.
Synchronous prediction of passenger flow between any two stations of a subway is a challenging task, and the existing research mainly applies a method combining matrix decomposition and a neural network model to predict based on the passenger flow matrix. The linear relation between the time series data can be mined by adopting a method of high-order weighted dynamic modal decomposition based on matrix decomposition and the like; the space-time correlation between subway passenger flow matrix data can be mined by combining a subway system modeling into a directed graph into a graph rolling gate control loop unit (GCGRU).
However, the existing subway passenger flow volume prediction method has the following problems: space-time characteristics and correlation excavation among subway flow data are insufficient; the information of multi-source influence factors which have obvious influence on subway passenger flow, such as weather characteristics, urban functional area distribution and the like, is underutilized; the combined prediction model based on the neural network has high computational complexity.
Disclosure of Invention
In order to solve the problems of insufficient space-time characteristic mining, insufficient multi-source influence factor information utilization and high model calculation complexity of the existing prediction method between subway traffic data, the invention provides a subway passenger flow prediction method based on tensor-matrix coupling, which expands subway passenger flow matrix data into three-order subway passenger flow tensors by introducing time dimension, takes a weather characteristic matrix and an interest point matrix as auxiliary information, reduces calculation complexity of a prediction model and improves accuracy of subway passenger flow prediction results.
The technical scheme of the invention is as follows:
a subway passenger flow prediction method based on tensor-matrix coupling comprises the following steps:
step 1, obtaining subway passenger flow data, interest point data and weather condition data;
step 2, constructing a subway passenger flow prediction model based on tensor-matrix coupling decomposition;
and step 3, solving an optimization model by adopting an alternate direction multiplier method to obtain a subway passenger flow prediction value in a certain time interval in the future.
Further, in the step 1, passenger flow data between different subway stations is extracted according to the passenger ticket number, the transaction time, the transaction station and the transaction type information contained in the subway card swiping data, and the obtained subway passenger flow data is defined as a subway passenger flow matrix sequenceWherein->Is a time interval->The number of subway stations; />Elements of (a)Indicate->The time interval is from->Subway station to the->Passenger flow volume of individual subway stations; setting a diagonal element of the subway passenger flow matrix to 0;
capturing data of different interest points within a kilometer range of a subway station from a Goldmap APP by using a web crawler technology, and defining the obtained interest point data as an interest point matrixWherein->The number of the types of the interest points; />Element->Indicate->Surrounding of subway station->The number of seed points of interest; the interest points comprise schools, hospitals, malls, office buildings and residential areas;
capturing weather condition data on a weather website by using web crawler technology, and defining the weather condition data as a weather feature matrixWherein->For the time dimension +.>The number of weather condition types; />Is a binary indication matrix, wherein the elements are represented by the following formula:
(1);
wherein,indicate->First->Weather conditions.
Further, in the step 1, the subway passenger flow volume matrix is sequencedIntroducing a time dimension->And expands to third-order subway passenger flow tensor +.>Wherein->,/>Days.
Further, the specific process of constructing the subway passenger flow volume prediction model based on tensor-matrix coupling decomposition in the step 2 is as follows:
step 2.1, tensor of third-order subway passenger flow volumeDecomposition into three rank-one tensor sums using tensor decomposition algorithm, denoted +.>Wherein->、/>、/>Are allFactor matrix of->Is the rank of tensor decomposition algorithm decomposition, +.>Representing an outer product operation; tensor->The matrix developed along the first mode is +.>The expression decomposed by tensor decomposition algorithm at this time is reduced to +.>Wherein the symbol->Is Khatri-Rao product, < >>Transpose the symbol;
step 2.2, the interest point matrixDecomposing into a matrix of two small dimensions using a matrix decomposition algorithm, denoted +.>Wherein->、/>All are->Is a factor matrix of (2);
step 2.3, weather feature matrixDecomposition into +.>Wherein->、/>All are->Is a factor matrix of (2);
step 2.4, coupling the interest point matrix, the weather feature matrix and the subway passenger flow tensor in the subway station dimension and the time dimension respectively, and sharing the corresponding factor matrix during decomposition, namely、/>The following are all->、/>A representation; thus, the objective function of the subway passenger flow prediction model based on tensor-matrix coupling decomposition is expressed as:
(2);
wherein,representing a square error between an initial subway passenger flow tensor and a reconstruction tensor obtained by decomposing by a tensor decomposition algorithm; />Representing the square error between the initial interest point matrix and the reconstruction matrix obtained by decomposition of the tensor decomposition algorithm; />Representing the square error between the initial weather feature matrix and the reconstruction matrix obtained by decomposing the tensor decomposition algorithm;
step 2.5, adding regularization term into the objective function, and optimizing a subway passenger flow prediction model based on tensor-matrix coupling decomposition as follows:
(3);
wherein,representing a set of factor matrices; />、/>、/>Are regularization parameters.
Further, the specific process of the step 3 is as follows: according to the pair of the formulas (4) and (8)、/>、/>、/>、/>The five factor matrixes are updated and iterated until the set maximum iteration times are reached, and the factor matrixes are obtained>、/>、/>Is the optimal solution of (a); finally, by the calculation formula->Obtaining tensor after completing the missing data, namely obtaining a certain time interval +.>A predicted value of subway passenger flow volume in the subway;
(4);
(5);
(6);
(7);
(8);
wherein,is a factor matrix->First->A value after the second iteration; />Is a factor matrix->First->A value after the second iteration; />Is a unit matrix; />Is a factor matrix->First->A value after the second iteration; />Is a factor matrix->First->A value after the second iteration; />Is a factor matrix->First->A value after the second iteration; />Is a factor matrix->First->A value after the second iteration;is a factor matrix->First->A value after the second iteration; />Is tensor->A matrix that expands along a second mode; />Is a factor matrix->First->A value after the second iteration; />Is tensor->A matrix that expands along the third mode.
The beneficial technical effects brought by the invention are as follows: aiming at the problem that the current prediction method is insufficient in mining the space-time characteristics and the relevance thereof between the subway passenger flow data, the method comprises the steps of expanding subway passenger flow matrix data into third-order subway passenger flow tensors by introducing time dimension, and mining the space-time characteristics and the relevance thereof between the data by adopting a tensor decomposition method; aiming at the problem that the current prediction method is insufficient in utilization of influence factor information, a data mining method is adopted to generate a weather feature matrix and an interest point matrix optimized prediction model; aiming at the problem of high calculation complexity of the traditional combined prediction model based on the neural network, the weather feature matrix, the interest point matrix and the subway passenger flow tensor are respectively coupled in the time dimension and the subway station dimension, the same factor matrix is shared in the model decomposition process, the calculation of the factor matrix is reduced, and the calculation complexity of the model is reduced.
Drawings
Fig. 1 is a schematic diagram of a method for predicting subway passenger flow based on tensor-matrix coupling.
Detailed Description
The invention is described in further detail below with reference to the attached drawings and detailed description:
the subway passenger flow data has strong daily similarity and weekly similarity in the time dimension, has strong correlation with the space position of a subway station in the space dimension, and has strong time-space correlation. The tensor method can express potential information of each module after tensor decomposition while preserving the multidimensional property of the data, and excavates space-time characteristics and relevance among the data.
Weather factors, geographical environments around subway stations and urban functional area distribution have close relations with passenger flow modes of subway stations. Based on the point of interest type, the weather feature matrix is generated by adopting weather conditions such as sunny weather, rainy weather, cloudy weather and the like, and the interest point matrix is constructed as auxiliary information based on the urban interest point types such as schools, hospitals, office buildings and residential areas.
On the basis of tensor decomposition and matrix decomposition, the subway passenger flow tensor, the weather feature matrix and the interest point matrix share the same factor matrix in corresponding dimensions to be coupled, so that the calculation of the factor matrix is reduced, and the complexity of model calculation is reduced;
as shown in fig. 1, a subway passenger flow volume prediction method based on tensor-matrix coupling includes the following steps:
and step 1, acquiring subway passenger flow data, interest point data and weather condition data.
Passenger ticket number, transaction time, transaction site, transaction type (inbound and outbound) and other information contained in subway card swiping data are used for extracting passenger flow data (the data of the invention are from Qingdao subway group Limited company) among different subway sites, and the obtained subway passenger flow data are defined as a subway passenger flow matrix sequenceWherein->Is a time interval->The number of subway stations; />Element->Indicate->The time interval is from->Subway station to the->Passenger flow volume of individual subway stations; and setting the diagonal line element of the subway passenger flow matrix to 0.
Introducing subway passenger flow matrix sequences into a time dimensionAnd expands to third-order subway passenger flow tensorWherein->,/>Days. Due to time interval only->The real passenger flow matrix in the time interval can be obtained after all passengers in the subway passenger train arrive at the destination, and the historical average passenger flow matrix is adopted to replace the incomplete subway passenger flow matrix。
Capturing data of different interest points within a kilometer range of a subway station from a Goldmap APP by using a web crawler technology, and defining the obtained interest point data as an interest point matrixWherein->For the number of kinds of interest points, the interest points include schools, hospitals, malls, office buildings, residential areas and the like. />Element->Indicate->Surrounding of subway station->The number of points of interest.
Capturing weather condition data on a weather website (China weather exchange) by using web crawler technology, and defining the weather condition data as a weather feature matrixWherein->The number of weather conditions includes sunny weather conditions, rainy weather conditions, snowy weather conditions, cloudy weather conditions and the like. Matrix->Is a binary indication matrix, wherein the elements are represented by the following formula:
(1);
wherein,indicate->First->Weather conditions.
And 2, constructing a subway passenger flow prediction model based on tensor-matrix coupling decomposition.
Basic principle of model construction: the main body information tensor and the auxiliary information matrix are coupled in the same dimension, and share the corresponding factor matrix, so that the auxiliary information is fully utilized, the calculation complexity of the model is reduced, and the prediction accuracy of the model is improved. The subway passenger flow data prediction model is used for decomposing the tensor and the matrix into a plurality of factor matrixes and updating the factor matrixes by setting the predicted value as the missing value, and the optimal factor matrix obtained after updating is used for inner product reconstruction tensor to complement missing data in the original tensor, so that subway passenger flow prediction is completed.
Tensor of third-order subway passenger flow volumeDecomposition into three rank-one tensor sums using tensor decomposition algorithm, denoted +.>Wherein->、/>、/>All are->Factor matrix of->Is the rank of tensor decomposition algorithm decomposition, +.>Representing an outer product operation. Tensor->The matrix developed along the first mode is +.>The expression decomposed by tensor decomposition algorithm at this time is reduced to +.>Wherein the symbol->Is the product of Khatri-Rao.
Matrix the interest pointsDecomposition into two smaller dimensional matrices using matrix decomposition algorithms, denoted asWherein->、/>All are->Is a factor matrix of (2);
matrix weather characteristicsDecomposition into +.>Wherein、/>All are->Is a factor matrix of (a) in the matrix.
Coupling the interest point matrix, the weather feature matrix and the subway passenger flow tensor in the subway station dimension and the time dimension respectively, and sharing the corresponding factor matrix during decomposition, namely、/>The following are all->、/>And (3) representing. Thus, the objective function of the subway passenger flow prediction model based on tensor-matrix coupling decomposition can be expressed as:
(2);
wherein,representing a square error between an initial subway passenger flow tensor and a reconstruction tensor obtained by decomposing by a tensor decomposition algorithm; />Representing the square error between the initial interest point matrix and the reconstruction matrix obtained by decomposition of the tensor decomposition algorithm; />And (5) representing the square error between the initial weather feature matrix and the reconstruction matrix obtained by decomposing the tensor decomposition algorithm.
The smaller the sum of the errors represented by the objective function, the better the complement of the missing data in the original tensor is represented. To prevent overfitting, regularization terms are added to the objective function. Therefore, the subway passenger flow prediction model based on tensor-matrix coupling decomposition can be optimized as follows:
(3);
wherein,representing a set of factor matrices; />、/>、/>Are regularization parameters.
The model converts the subway passenger flow prediction problem into an optimization problem of an objective function.
And step 3, solving an optimization model by adopting an alternate direction multiplier method to obtain a subway passenger flow prediction value in a certain time interval in the future.
The least squares (ALS) and gradient descent methods are most commonly used in current research to solve the optimization problem, but matrix decomposition and tensor decomposition are non-convex, and these commonly used methods cannot obtain a globally optimal solution for the objective function. Therefore, the invention contemplates the use of the alternate direction multiplier ADMM to solve the optimization model. The method combines the advantages of dual decomposition and Lagrange multiplier method to decompose a large global problem into a plurality of smaller and simpler local sub-problems to be solved respectively, so as to obtain a global optimal solution.
The specific process for solving the optimization model by the alternate direction multiplier method is as follows:
according to the pair of the formulas (4) and (8)、/>、/>、/>、/>The five factor matrixes are updated and iterated until the set maximum iteration times are reached, and the factor matrixes are obtained>、/>、/>Is the optimal solution of (a); finally, through a calculation formulaObtaining tensor after completing the missing data, namely obtaining a certain time interval +.>A predicted value of subway passenger flow volume in the subway;
(4);
(5);
(6);
(7);
(8);
wherein,is a factor matrix->First->A value after the second iteration; />Is a factor matrix->First->A value after the second iteration; />Is of size +.>Is a matrix of units of (a); />Is a factor matrix->First->A value after the second iteration; />Is a factor matrix->First->A value after the second iteration; />Is a factor matrix->First->A value after the second iteration; />Is a factor matrix->First->A value after the second iteration; />Is a factor matrix->First->A value after the second iteration; />Is tensor->A matrix that expands along a second mode; />Is a factor matrix->First->A value after the second iteration; />Is tensor->A matrix that expands along the third mode.
To demonstrate the feasibility of the invention, a partial data presentation is given:
the subway passenger flow matrix obtained in the step 1 is shown in table 1:
TABLE 1 subway passenger flow matrix
。
The interest point matrix obtained in step 1 is shown in table 2:
TABLE 2 Point of interest matrix
。
The weather feature matrix obtained in step 1 is shown in table 3:
TABLE 3 Point of interest data matrix
。
The subway passenger flow prediction value in a future time interval is obtained through the tensor-matrix coupling decomposition subway passenger flow prediction model constructed in the step 2 and the optimal solving process in the step 3 and is shown in the table 4:
TABLE 4 subway passenger flow volume predictive value matrix
。
By comparing the predicted value in the table 4 with the actual value in the table 1, the prediction method provided by the invention can capture the passenger flow law among all subway stations and has higher accuracy.
It should be understood that the above description is not intended to limit the invention to the particular embodiments disclosed, but to limit the invention to the particular embodiments disclosed, and that the invention is not limited to the particular embodiments disclosed, but is intended to cover modifications, adaptations, additions and alternatives falling within the spirit and scope of the invention.
Claims (1)
1. A subway passenger flow volume prediction method based on tensor-matrix coupling is characterized by comprising the following steps:
step 1, obtaining subway passenger flow data, interest point data and weather condition data;
step 2, constructing a subway passenger flow prediction model based on tensor-matrix coupling decomposition;
step 3, solving an optimization model by adopting an alternate direction multiplier method to obtain a subway passenger flow prediction value in a certain time interval in the future;
in the step 1, passenger flow data among different subway stations are extracted according to passenger ticket card numbers, transaction time, transaction stations and transaction type information contained in subway card swiping data, and the obtained subway passenger flow data are defined as a subway passenger flow matrix sequenceWherein->Is a time interval->The number of subway stations; />Element->Indicate->The time interval is from->Subway station to the->Passenger flow volume of individual subway stations; setting a diagonal element of the subway passenger flow matrix to 0;
capturing data of different interest points within a kilometer range of a subway station from a Goldmap APP by using a web crawler technology, and defining the obtained interest point data as an interest point matrixWherein->The number of the types of the interest points; />Element->Indicate->Surrounding of subway station->The number of seed points of interest; the interest points comprise schools, hospitals, malls, office buildings and residential areas;
capturing weather condition data on a weather website by using web crawler technology, and defining the weather condition data as a weather feature matrixWherein->For the time dimension +.>The number of weather condition types; />Is a binaryAn indication matrix, wherein the elements are represented by the formula:
(1);
wherein,indicate->First->Planting weather conditions;
in the step 1, subway passenger flow matrix sequencesIntroducing a time dimension->And expands to third-order subway passenger flow tensor +.>Wherein->,/>Days;
the specific process of constructing the subway passenger flow prediction model based on tensor-matrix coupling decomposition in the step 2 is as follows:
step 2.1, tensor of third-order subway passenger flow volumeDecomposition into three rank-one tensor sums using tensor decomposition algorithm, denoted +.>Wherein->、/>、/>All are->Factor matrix of->Is the rank of tensor decomposition algorithm decomposition, +.>Representing an outer product operation; tensor->The matrix developed along the first mode isThe expression decomposed by tensor decomposition algorithm at this time is reduced to +.>Wherein the symbol->Is Khatri-Rao product, < >>Transpose the symbol;
step 2.2, the interest point matrixDecomposing into a matrix of two small dimensions using a matrix decomposition algorithm, denoted +.>Wherein->、/>All are->Is a factor matrix of (2);
step 2.3, weather feature matrixDecomposition into +.>Wherein、/>All are->Is a factor matrix of (2);
step 2.4, coupling the interest point matrix, the weather feature matrix and the subway passenger flow tensor in the subway station dimension and the time dimension respectively, and sharing the corresponding factor matrix during decomposition, namely、/>The following are all->、/>A representation; thus, the objective function of the subway passenger flow prediction model based on tensor-matrix coupling decomposition is expressed as:
(2);
wherein,representing a square error between an initial subway passenger flow tensor and a reconstruction tensor obtained by decomposing by a tensor decomposition algorithm; />Representing the square error between the initial interest point matrix and the reconstruction matrix obtained by decomposition of the tensor decomposition algorithm; />Representing the square error between the initial weather feature matrix and the reconstruction matrix obtained by decomposing the tensor decomposition algorithm;
step 2.5, adding regularization term into the objective function, and optimizing a subway passenger flow prediction model based on tensor-matrix coupling decomposition as follows:
(3);
wherein,representing a set of factor matrices; />、/>、/>Are regularization parameters;
the specific process of the step 3 is as follows: according to the pair of the formulas (4) and (8)、/>、/>、/>、/>The five factor matrixes are updated and iterated until the set maximum iteration times are reached, and the factor matrixes are obtained>、/>、/>Is the optimal solution of (a); finally, by the calculation formula->Obtaining tensor after completing the missing data, namely obtaining a certain time interval +.>A predicted value of subway passenger flow volume in the subway;
(4);
(5);
(6);
(7);
(8);
wherein,is a factor matrix->First->A value after the second iteration; />Is a factor matrix->First->A value after the second iteration;is a unit matrix; />Is a factor matrix->First->A value after the second iteration; />Is a factor matrix->First->A value after the second iteration; />Is a factor matrix->First->A value after the second iteration; />Is a factor matrix->First->A value after the second iteration; />Is a factor matrix->First->A value after the second iteration; />Is tensor->A matrix that expands along a second mode; />Is a factor matrix->First->A value after the second iteration; />Is tensor->A matrix that expands along the third mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311567993.6A CN117273287B (en) | 2023-11-23 | 2023-11-23 | Tensor-matrix coupling-based subway passenger flow prediction method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311567993.6A CN117273287B (en) | 2023-11-23 | 2023-11-23 | Tensor-matrix coupling-based subway passenger flow prediction method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117273287A CN117273287A (en) | 2023-12-22 |
CN117273287B true CN117273287B (en) | 2024-03-08 |
Family
ID=89209173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311567993.6A Active CN117273287B (en) | 2023-11-23 | 2023-11-23 | Tensor-matrix coupling-based subway passenger flow prediction method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117273287B (en) |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106651549A (en) * | 2017-01-09 | 2017-05-10 | 山东大学 | Individualized automobile recommendation method and system fusing supply-demand chain |
JP2017220000A (en) * | 2016-06-07 | 2017-12-14 | 日本電信電話株式会社 | Flow rate prediction device, pattern estimation device, flow rate prediction method, pattern estimation method and program |
CN107679242A (en) * | 2017-10-30 | 2018-02-09 | 河海大学 | Merge the label recommendation method that multiple information sources Coupling Tensor is decomposed |
CN107967532A (en) * | 2017-10-30 | 2018-04-27 | 厦门大学 | The Forecast of Urban Traffic Flow Forecasting Methodology of integration region vigor |
CN109067691A (en) * | 2018-08-27 | 2018-12-21 | 张家港江苏科技大学产业技术研究院 | OFDM data processing method and processing device |
CN111147863A (en) * | 2019-12-30 | 2020-05-12 | 西安电子科技大学 | Tensor-based video snapshot compression imaging recovery method |
CN111640296A (en) * | 2020-05-08 | 2020-09-08 | 同济大学 | Traffic flow prediction method, system, storage medium and terminal |
CN112801355A (en) * | 2021-01-20 | 2021-05-14 | 南京航空航天大学 | Data prediction method based on multi-graph fusion space-time attention of long-short-term space-time data |
CN113239198A (en) * | 2021-05-17 | 2021-08-10 | 中南大学 | Subway passenger flow prediction method and device and computer storage medium |
CN114819290A (en) * | 2022-04-04 | 2022-07-29 | 南京行者易智能交通科技有限公司 | Method for predicting short-term bus passenger flow in multi-environment based on stacking |
CN115392554A (en) * | 2022-08-17 | 2022-11-25 | 北京建筑大学 | Track passenger flow prediction method based on depth map neural network and environment fusion |
CN115511179A (en) * | 2022-09-23 | 2022-12-23 | 五邑大学 | Passenger flow prediction method, device and medium |
CN116108984A (en) * | 2023-02-01 | 2023-05-12 | 南京航空航天大学 | Urban flow prediction method based on flow-POI causal relationship reasoning |
CN116629460A (en) * | 2023-07-24 | 2023-08-22 | 中国矿业大学(北京) | Subway passenger flow prediction method based on ST-RANet model |
-
2023
- 2023-11-23 CN CN202311567993.6A patent/CN117273287B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017220000A (en) * | 2016-06-07 | 2017-12-14 | 日本電信電話株式会社 | Flow rate prediction device, pattern estimation device, flow rate prediction method, pattern estimation method and program |
CN106651549A (en) * | 2017-01-09 | 2017-05-10 | 山东大学 | Individualized automobile recommendation method and system fusing supply-demand chain |
CN107679242A (en) * | 2017-10-30 | 2018-02-09 | 河海大学 | Merge the label recommendation method that multiple information sources Coupling Tensor is decomposed |
CN107967532A (en) * | 2017-10-30 | 2018-04-27 | 厦门大学 | The Forecast of Urban Traffic Flow Forecasting Methodology of integration region vigor |
CN109067691A (en) * | 2018-08-27 | 2018-12-21 | 张家港江苏科技大学产业技术研究院 | OFDM data processing method and processing device |
CN111147863A (en) * | 2019-12-30 | 2020-05-12 | 西安电子科技大学 | Tensor-based video snapshot compression imaging recovery method |
CN111640296A (en) * | 2020-05-08 | 2020-09-08 | 同济大学 | Traffic flow prediction method, system, storage medium and terminal |
CN112801355A (en) * | 2021-01-20 | 2021-05-14 | 南京航空航天大学 | Data prediction method based on multi-graph fusion space-time attention of long-short-term space-time data |
CN113239198A (en) * | 2021-05-17 | 2021-08-10 | 中南大学 | Subway passenger flow prediction method and device and computer storage medium |
CN114819290A (en) * | 2022-04-04 | 2022-07-29 | 南京行者易智能交通科技有限公司 | Method for predicting short-term bus passenger flow in multi-environment based on stacking |
CN115392554A (en) * | 2022-08-17 | 2022-11-25 | 北京建筑大学 | Track passenger flow prediction method based on depth map neural network and environment fusion |
CN115511179A (en) * | 2022-09-23 | 2022-12-23 | 五邑大学 | Passenger flow prediction method, device and medium |
CN116108984A (en) * | 2023-02-01 | 2023-05-12 | 南京航空航天大学 | Urban flow prediction method based on flow-POI causal relationship reasoning |
CN116629460A (en) * | 2023-07-24 | 2023-08-22 | 中国矿业大学(北京) | Subway passenger flow prediction method based on ST-RANet model |
Non-Patent Citations (4)
Title |
---|
低秩张量补全算法综述;刘慧梅 等;《陕西理工学院学报(自然科学版)》;20160420;第32卷(第2期);第80-86页 * |
利用XGBoost和SVR算法的地铁站客流量模型研究;李蕙萱 等;三明学院学报;第36卷(第06期);第56-64页 * |
张庆贺 等编著.《地铁与轻轨》.2002,第34-35页. * |
杨兆升 著.《城市智能公共交通系统理论与方法》.2004,第58页. * |
Also Published As
Publication number | Publication date |
---|---|
CN117273287A (en) | 2023-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11270579B2 (en) | Transportation network speed foreeasting method using deep capsule networks with nested LSTM models | |
CN101354757B (en) | Method for predicting dynamic risk and vulnerability under fine dimension | |
CN109830102A (en) | A kind of short-term traffic flow forecast method towards complicated urban traffic network | |
CN109671003A (en) | A kind of global land use and windy and sandy soil sequence space method of integrated GCAM and CA | |
CN114494865A (en) | CSET method for future situation of mountain ecosystem | |
CN110188953B (en) | O-D space-time distribution prediction method based on space durin model | |
Hu et al. | Air quality prediction using spatio-temporal deep learning | |
Karimi Firozjaei et al. | An urban growth simulation model based on integration of local weights and decision risk values | |
Wu et al. | Simulating spatiotemporal land use change in middle and high latitude regions using multiscale fusion and cellular automata: The case of Northeast China | |
Zheng et al. | Weather image-based short-term dense wind speed forecast with a ConvLSTM-LSTM deep learning model | |
Wang et al. | Rapid prediction of urban flood based on disaster-breeding environment clustering and Bayesian optimized deep learning model in the coastal city | |
Vani et al. | Modelling urban expansion of a south-east Asian city, India: comparison between SLEUTH and a hybrid CA model | |
CN117273287B (en) | Tensor-matrix coupling-based subway passenger flow prediction method | |
Liao et al. | Air quality prediction by integrating mechanism model and machine learning model | |
Liang et al. | Deep trip generation with graph neural networks for bike sharing system expansion | |
CN104299114A (en) | Estate information analysis system based on databank | |
Agga et al. | Short-term load forecasting: based on hybrid CNN-LSTM neural network | |
CN102819885B (en) | Statistical analysis method and system for city public transportation passenger flow information | |
Omar et al. | Modelling land-use and land-cover changes using Markov-CA, and multiple decision making in Kirkuk city | |
Xiao et al. | Built‐up land expansion simulation with combination of naive Bayes and cellular automaton model—A case study of the Shanghai‐Hangzhou Bay agglomeration | |
Chou et al. | Optimized multi-output machine learning system for engineering informatics in assessing natural hazards | |
CN112633579B (en) | Traffic flow migration prediction method based on domain countermeasure | |
CN112836000A (en) | Abnormal resident travel mode mining method based on taxi OD data | |
Benchelha et al. | Modeling dynamic urban growth using cellular automata and geospatial technique: case of Casablanca in Morocco | |
Zhang et al. | Modeling urban growth by cellular automata: A case study of Xiamen City, China |
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 |