CN104778508A - Public bicycle renting forecasting method based on multi-source data fusion - Google Patents

Public bicycle renting forecasting method based on multi-source data fusion Download PDF

Info

Publication number
CN104778508A
CN104778508A CN201510154943.4A CN201510154943A CN104778508A CN 104778508 A CN104778508 A CN 104778508A CN 201510154943 A CN201510154943 A CN 201510154943A CN 104778508 A CN104778508 A CN 104778508A
Authority
CN
China
Prior art keywords
particle
class
data
value
neural network
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.)
Granted
Application number
CN201510154943.4A
Other languages
Chinese (zh)
Other versions
CN104778508B (en
Inventor
林菲
范为迪
余日泰
徐海涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Dianzi University
Original Assignee
Hangzhou Dianzi University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou Dianzi University filed Critical Hangzhou Dianzi University
Priority to CN201510154943.4A priority Critical patent/CN104778508B/en
Publication of CN104778508A publication Critical patent/CN104778508A/en
Application granted granted Critical
Publication of CN104778508B publication Critical patent/CN104778508B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a public bicycle renting forecasting method based on multi-source data fusion. According to the method, historical data about public bicycle renting/returning records, weather, temperature, holidays, festivals and the like are cleaned and preprocessed, and training datasets are acquired; the datasets are classified with a clustering algorithm, and different renting modes of public bicycles are divided; the classified datasets are used to establish a Bayesian classifier used for forecasting the renting modes according to conditions of holidays, festivals, weather and air temperature of one day in the future; a self-adaptive particle swarm neural network model corresponding to each mode is trained for different modes of datasets respectively; finally, the renting mode of one day is forecasted by the aid of the Bayesian classifier, a corresponding particle swarm neural network model is selected to forecast the renting law of public bicycles. The forecasting accuracy is high, the operation speed is high, reference basis is provided for bicycle renting and returning by a user, the duration time of the unbalanced state of a public bicycle station is shortened, and the users' satisfaction is improved.

Description

A kind of public bicycles based on multisource data fusion leases Forecasting Methodology
Technical field
The invention belongs to city intelligent public transportation system technical field, relate to a kind of public bicycles based on multisource data fusion and lease Forecasting Methodology, particularly the method that quantity predicts is leased to Different periods bicycle in each public bicycles website.
Background technology
Public bicycles system, as a part for urban public transport, has the advantages such as pollution-free, mobility strong, effectively can alleviate urban traffic pressure, reduces CO2 emission, improves urban environment.Due to mobility and the tide of citizens' activities, there will be the problem can borrowed without bicycle, can go back without room in some time period.City ITS (IntelligentTransportation System, be called for short ITS) be apply to whole traffic management system by effectively integrated to the infotech of advanced person, mechanics of communication, sensing technology, control technology and computer technology etc., and set up a kind of on a large scale in, comprehensively to play a role, in real time, multi-transportation and management system accurately and efficiently.May be used for the problems solving the appearance of urban public transport field.
Public bicycles leases the part that quantitative forecast is City ITS, its objective is and predicts that in each public bicycles website different time sections, quantity leased by bicycle exactly, thus launch Operation Measures in advance, effectively solves " renting/return the car difficulty " problem.
At present, less in the research in this field both at home and abroad, and major part is the prediction for automotive field.In these researchs, the main method of proposition comprises: history averaging model, autoregressive model, multivariate regression model, nonparametric Regression Model, Kalman filter model, neural network model, supporting vector machine model etc.But due to the singularity of public bicycles, these methods are not be well suited for for the prediction in this field.History averaging model and regression analysis model all suppose that the magnitude of traffic flow follows strict periodicity, and public bicycles is leased and be there is uncertainty, non-linear, acyclic feature.Kalman filter model is not be well suited on the traffic flow forecasting at short period interval.Supporting vector machine model shows poor when using a large amount of True Data to carry out traffic flow forecasting.And neural network model carries out modeling according to input and output, be a kind of parallel computation model, arithmetic speed is very fast, and has good non-linear mapping capability and the property learnt by oneself, adaptive ability.But traditional neural network model also also exists the shortcoming that speed of convergence slowly, is easily absorbed in local optimum.
Summary of the invention
The object of the invention is the deficiency in order to overcome Individual forecast model, proposing a kind of public bicycles based on multisource data fusion and leasing Forecasting Methodology.The present invention improves classic method and merges, the basis of cluster analysis use Naive Bayes Classification Algorithm carry out leasing model prediction, respective self-adaptation PSO Neural Network model is trained respectively to different patterns of leasing, and use these model predictions difference to lease public bicycles under pattern lease quantity, improve and lease prediction accuracy.
The concrete steps that the present invention solves the technical scheme that its technical matters adopts are as follows:
The present invention specifically comprises the steps:
Step (1) data acquisition and procession:
Read the user stored in public bicycles system to hire a car record, calculate each website and remain public bicycles quantity every time period t ime, set up vectorial N date=[n 1, n 2..., n j..., n m], M is time period sum; Obtain from internet weather history situation, temperature and festivals or holidays situation, set up environment attribute vector S={S 1, S 2..., S i..., S l, S i=[d, w, t], L are the number that data sample concentrates sample; M, L, i and j are positive integer, wherein j≤M, i≤L;
Described user hires a car that record comprises lease duration, leases website, leases knee number, the time of returning the car, website of returning the car, knee number of returning the car;
N jrepresent residue bicycle quantity in this website of a jth time period t ime;
S irepresent the environment attribute of i-th day;
D represents attribute festivals or holidays on the same day, and the value of d is
W represents weather conditions, and the value of w is
T represents temperature, and the value of t is
Step (2) K-means cluster:
N date=[n 1, n 2..., n j..., n m] as data sample to be sorted concentrate a data tuple; Concentrate random selecting k to put as initial classes center from data sample, use μ respectively 1, μ 2..., μ krepresentation class c 1, c 2..., c kclass center; Wherein, k is positive integer;
K-means clustering algorithm comprises the steps:
2-1. calculates remaining data tuple N iwith class center μ kdistance, by remaining data tuple N iassign in the class the shortest with its distance;
2-2. recalculates all kinds of Xin Lei center μ k *;
2-3. repeats step 2-1 and step 2-2, until each data tuple generic all no longer changes;
Step (3) builds Bayes classifier: after using K-means clustering algorithm to classify to set of data samples, obtain k class, each data tuple that data sample is concentrated will obtain a class label; Bayes Method is based on Bayes' theorem:
P ( H | X ) = P ( X | H ) P ( H ) P ( X )
Calculate P (X), P (H) and P (X|H);
Step (4) self-adaptation PSO Neural Network model training
Use sorted data sample to train affiliated self-adaptation PSO Neural Network model of all categories, the input layer unit number of setting neural network is n, and hidden layer unit number is p, and output layer unit number is q; Then need the weights number N=n × p+p × q adjusted in neural network, by the dimension needing the weights number N problem of representation space adjusted; Use vectorial X i=[x i1, x i2..., x iN] represent one of all weights of neural network possible value, also represent the position of particle in particle swarm optimization algorithm; PSO Neural Network model training step is as follows:
The position of each particle and speed in 4-1. initialization population population, position and the speed of particle are positioned between [0,1], i.e. stochastic generation G vectorial X i=[x i1, x i2..., x iN], 1≤i≤G as the position of particle, x ibetween [0,1]; Stochastic generation G vectorial V again i=[v i1, v i2..., v iN], G+1≤i≤2 × G as the speed of particle, v ibetween [0,1]; Setting maximum iteration time iter max, current iteration number of times k=1;
4-2. calculates the fitness value of each particle, stores the current position of each particle for self optimal value P bi, storing the position that in all particles, fitness value is minimum is global optimum P bg;
4-3. judges whether k reaches maximum iteration time iter max, if so, forwards step 4-7 to, otherwise forwards 4-4 to;
4-4. upgrades each particle rapidity and position, calculates the fitness value that each particle is new; If the current fitness value of i-th particle is better than P bi, then P is upgraded bi; If the optimal location of current particle group is better than P bg, then P is upgraded bg; K=k+1 is set;
4-5. upgrades inertia weight ω according to inertia weight computing formula;
If 4-6. global optimum position P bgin 10 iteration, not change, then forward step 4-7 to, otherwise forward step 4-4 to;
4-7. exports P bgas the weights of the PSO Neural Network trained;
Step (5) leases model prediction: according to the environment attribute vector S to be predicted of input prewith the P calculated (H), the value of P (X|H), calculates the probability that this data tuple belongs to of all categories, exports the classification that posterior probability is maximum;
Step (6) public bicycles leases prediction
Lease according to step (5) classification exported in model prediction, select corresponding self-adaptation PSO Neural Network model, the residue public bicycles quantity of a front n time period is inputted this model, export the public bicycles quantity being prediction.
Described in step (2), computing formula is as follows:
N in 2-1 iwith class center μ kdistance computing formula as follows:
D N i , c k = Σ | | N i - μ k | | 2
Class center calculation formula new in 2-2 is as follows:
μ k * = Σ i = 1 | n k | N ki | n k |
μ k *for class c kxin Lei center;
| n k| be class c kthe number of middle data tuple;
N kifor class c kin i-th data tuple.
Computing formula and the variable implication of use in step (3) are as follows:
P ( H ) = | c k , T | L ,
| c k,T| for belonging to class c in set of data samples T ksample number;
L is the total sample number in set of data samples T;
P(X|H)=P(d i|c k)P(w i|c k)P(t i|ck),
P ( d i | c k ) = | d i , c k | | c k , T | ,
P ( w i | c k ) = | w i , c k | | c k , T |
P ( t i | c k ) = | t i , c k | | c k , T |
for class c kthe value of middle attribute d is d inumber of samples;
for class c kthe value of middle attribute w is w inumber of samples;
for class c kthe value of middle attribute t is t inumber of samples.
Computing formula and the variable implication of use in step (4) are as follows:
Fitness value fitness (X g) computing formula be:
fitness ( X g ) = 1 2 M Σ l = 1 M Σ k = 1 q ( ( Σ j = 1 p w jk ( 1 / ( 1 + exp ( Σ i = 1 n w ij x ij - θ hj ) ) ) - θ ok ) - d lk )
M is that data sample concentrates data tuple number;
X libe i-th input of l data sample;
θ hjfor the threshold value of a hidden layer jth unit;
θ okfor the threshold value of an output layer kth unit;
W ijbe the connection weights of i-th input layer and a jth hidden layer;
W jkfor the connection weights of a jth hidden layer and a kth output layer;
D lkit is a kth output of l data sample;
Speed computing formula is:
V i k + 1 = w × V i k + c 1 × r 1 × ( P i k - X i k ) + c 2 × r 2 × ( P g k - X i k )
V i kfor particle X iin the speed of kth time iteration;
R 1, r 2the random number of value between [0,1];
C 1, c 2be one group of random number, generally get c 1=c 2=2.5;
ω is inertia weight;
Inertia weight ω kcomputing formula is:
ω k = ω max - ω max - ω min it max × k
ωmax=0.9,ωmin=0.2;
The position calculation formula of particle is:
X i k+1=X i k+V i k+1
X i kthe position of i-th particle during iteration secondary to kth.
The computing formula used in step (6) is as follows:
It is specific as follows that neural network model exports O:
O = Σ j = 1 p w j 1 ( 1 / ( 1 + exp ( Σ i = 1 n w ij x li - θ hj ) ) ) - θ ok .
Beneficial effect of the present invention is as follows:
The present invention hires a car according to user the data such as record, weather, temperature, festivals or holidays, predicts each website public bicycles flow, and is not only use history loan data.Present invention generally provides a kind of Forecasting Methodology of multisource data fusion, each website public bicycles volume residual of certain day certain time period can be predicted accurately and efficiently.Specifically, following target is achieved:
Can hire a car to record from original user and extract each website residue bicycle quantity of each time period, be convenient to later stage cluster analysis, structure Bayes classifier and training PSO Neural Network.
In conjunction with multiple data sources, static prediction can be carried out to the public bicycles pattern of leasing, be conducive to public bicycles operator and carry out scheduling preliminary work in advance.
Performance prediction can be carried out according to the residue bicycle quantity of n time period before certain day, improve public bicycles and lease quantitative forecast degree of accuracy, for public bicycles operator provides scheduling time and the suggestion of concrete scheduling quantity.Scheduling promptness can be improved, reduce scheduling cost.
It is fast that concrete implementation result shows as (1) travelling speed, after structure completes Bayes classifier and training self-adaptation PSO Neural Network model, can carry out Static and dynamic prediction within the extremely short time; (2) precision of prediction is high, and use True Data to carry out simulation and forecast experiment, consensus forecast degree of accuracy is more than 96%.
Accompanying drawing explanation
Fig. 1 public bicycles leases Forecasting Methodology figure.
Fig. 2 self-adaptation PSO Neural Network algorithm flow chart.
Concrete embodiment
Below in conjunction with drawings and Examples, the invention will be further described.
As shown in Figure 1, a kind of public bicycles based on multisource data fusion leases Forecasting Methodology, specifically comprises following step:
Step (1) data acquisition and procession:
Read the user stored in public bicycles system (public bicycle system, PBS) to hire a car record, calculate each website and remain public bicycles quantity every time period t ime, set up vectorial N date=[n 1, n 2..., n j..., n m], M is time period sum; Obtain from internet weather history situation temperature and festivals or holidays situation, set up environment attribute vector S={S 1, S 2..., S i..., S l, S i=[d, w, t], L are the number that data sample concentrates sample; M, L, i and j are positive integer, wherein j≤M, i≤L;
Described user hires a car that record comprises lease duration, leases website, leases knee number, the time of returning the car, website of returning the car, knee number of returning the car;
N jrepresent residue bicycle quantity in this website of a jth time period t ime;
S irepresent the environment attribute of i-th day;
D represents attribute festivals or holidays on the same day, and the value of d is
W represents weather conditions, and the value of w is
T represents temperature, and the value of t is
Step (2) K-means cluster:
N date=[n 1, n 2..., n j..., n m] as data sample to be sorted concentrate a data tuple; Concentrate random selecting k to put as initial classes center from data sample, use μ respectively 1, μ 2..., μ krepresentation class c 1, c 2..., c kclass center; Wherein, k is positive integer;
K-means clustering algorithm comprises the steps:
2-1. calculates remaining data tuple N iwith class center μ kdistance, by remaining data tuple N iassign in the class the shortest with its distance;
2-2. recalculates all kinds of Xin Lei center μ k *;
2-3. repeats step 2-1 and step 2-2, until each data tuple generic all no longer changes.
Step (3) builds Bayes classifier: after using K-means clustering algorithm to classify to set of data samples, obtain k class, each data tuple that data sample is concentrated will obtain a class label.Bayes Method is based on Bayes' theorem:
P ( H | X ) = P ( X | H ) P ( H ) P ( X )
Calculate P (X), P (H) and P (X|H).
Step (4) as shown in Figure 2, self-adaptation PSO Neural Network model training: use sorted data sample to train affiliated self-adaptation PSO Neural Network model of all categories, the input layer unit number of setting neural network is n, hidden layer unit number is p, and output layer unit number is q.Then need the weights number N=n × p+p × q adjusted in neural network, by the dimension needing the weights number N problem of representation space adjusted.Use vectorial X i=[x i1, x i2..., x iN] represent one of all weights of neural network possible value, also represent the position of particle in particle swarm optimization algorithm.PSO Neural Network model training step is as follows:
The position of each particle and speed in 4-1. initialization population population, position and the speed of particle are positioned between [0,1], i.e. stochastic generation G vectorial X i=[x i1, x i2..., x iN], 1≤i≤G as the position of particle, x ibetween [0,1]; Stochastic generation G vectorial V again i=[v i1, v i2..., v iN], G+1≤i≤2 × G as the speed of particle, v ibetween [0,1].Setting maximum iteration time itermax, current iteration number of times k=1;
4-2. calculates the fitness value of each particle, stores the current position of each particle for self optimal value P bi, storing the position that in all particles, fitness value is minimum is global optimum P bg;
4-3. judges whether k reaches maximum iteration time itermax, if so, forwards step 4-7 to, otherwise forwards 4-4 to.
4-4. upgrades each particle rapidity and position, calculates the fitness value that each particle is new.If the current fitness value of i-th particle is better than P bi, then P is upgraded bi.If the optimal location of current particle group is better than P bg, then P is upgraded bg; K=k+1 is set;
4-5. upgrades inertia weight ω according to inertia weight computing formula;
If 4-6. global optimum position P bgin 10 iteration, not change, then forward step 4-7 to, otherwise forward step 4-4 to;
4-7. exports P bgas the weights of the PSO Neural Network trained.
Step (5) leases model prediction: according to the environment attribute vector S to be predicted of input prewith the P calculated (H), the value of P (X|H), calculates the probability that this data tuple belongs to of all categories, exports the classification that posterior probability is maximum.
Step (6) public bicycles leases prediction: lease according to step (5) classification exported in model prediction, select corresponding self-adaptation PSO Neural Network model, the residue public bicycles quantity of a front n time period is inputted this model, exports the public bicycles quantity being prediction:
Described in step (2), computing formula is as follows:
N in 2-1 iwith class center μ kdistance computing formula as follows:
D N i , c k = Σ | | N i - μ k | | 2
Class center calculation formula new in 2-2 is as follows:
μ k * = Σ i = 1 | n k | N ki | n k |
μ k *for class c kxin Lei center;
| n k| be class c kthe number of middle data tuple;
N kifor class c kin i-th data tuple.
Computing formula and the variable implication of use in step (3) are as follows:
P ( H ) = | c k , T | L ,
| c k,T| for belonging to class c in set of data samples T ksample number;
L is the total sample number in set of data samples T.
P(X|H)=P(d i|c k)P(w i|c k)P(t i|c k),
P ( d i | c k ) = | d i , c k | | c k , T | ,
P ( w i | c k ) = | w i , c k | | c k , T |
P ( t i | c k ) = | t i , c k | | c k , T |
for class c kthe value of middle attribute d is d inumber of samples;
for class c kthe value of middle attribute w is w inumber of samples;
for class c kthe value of middle attribute t is t inumber of samples;
Computing formula and the variable implication of use in step (4) are as follows:
Fitness value fitness (X g) computing formula be:
fitness ( X g ) = 1 2 M Σ l = 1 M Σ k = 1 q ( ( Σ j = 1 p w jk ( 1 / ( 1 + exp ( Σ i = 1 n w ij x ij - θ hj ) ) ) - θ ok ) - d lk )
M is that data sample concentrates data tuple number;
X libe i-th input of l data sample;
θ hjfor the threshold value of a hidden layer jth unit;
θ okfor the threshold value of an output layer kth unit;
W ijbe the connection weights of i-th input layer and a jth hidden layer;
W jkfor the connection weights of a jth hidden layer and a kth output layer;
D lkit is a kth output of l data sample.
Speed computing formula is:
V i k + 1 = w × V i k + c 1 × r 1 × ( P i k - X i k ) + c 2 × r 2 × ( P g k - X i k )
V i kfor particle X iin the speed of kth time iteration;
R 1, r 2the random number of value between [0,1];
C 1, c 2be one group of random number, generally get c 1=c 2=2.5;
ω is inertia weight;
Inertia weight ω kcomputing formula is:
ω k = ω max - ω max - ω min it max × k
ωmax=0.9,ωmin=0.2;
The position calculation formula of particle is:
X i k+1=X i k+V i k+1
X i kthe position of i-th particle during iteration secondary to kth;
The computing formula used in step (6) is as follows:
It is specific as follows that neural network model exports O:
O = Σ j = 1 p w j 1 ( 1 / ( 1 + exp ( Σ i = 1 n w ij x li - θ hj ) ) ) - θ ok .

Claims (5)

1. the public bicycles based on multisource data fusion leases a Forecasting Methodology, it is characterized in that comprising the steps:
Step (1) data acquisition and procession:
Read the user stored in public bicycles system to hire a car record, calculate each website and remain public bicycles quantity every time period t ime, set up vectorial N date=[n 1, n 2..., n j..., n m]; Obtain from internet weather history situation, temperature and festivals or holidays situation, set up environment attribute vector S={S 1, S 2..., S i..., S l, S i=[d, w, t], L are the number that data sample concentrates sample; M, L, i and j are positive integer, wherein j≤M, i≤L;
Described user hires a car that record comprises lease duration, leases website, leases knee number, the time of returning the car, website of returning the car, knee number of returning the car;
N jrepresent residue bicycle quantity in this website of a jth time period t ime;
S irepresent the environment attribute of i-th day;
D represents attribute festivals or holidays on the same day, and the value of d is
W represents weather conditions, and the value of w is
T represents temperature, and the value of t is
Step (2) K-means cluster:
N date=[n 1, n 2..., n j..., n m] as data sample to be sorted concentrate a data tuple; Concentrate random selecting k to put as initial classes center from data sample, use μ respectively 1, μ 2..., μ krepresentation class c 1, c 2..., c kclass center; Wherein, k is positive integer;
K-means clustering algorithm comprises the steps:
2-1. calculates remaining data tuple N iwith class center μ kdistance, by remaining data tuple N iassign in the class the shortest with its distance;
2-2. recalculates all kinds of Xin Lei center μ k *;
2-3. repeats step 2-1 and step 2-2, until each data tuple generic all no longer changes;
Step (3) builds Bayes classifier: after using k-means clustering algorithm to classify to set of data samples, obtain k class, each data tuple that data sample is concentrated will obtain a class label; Bayes Method is based on Bayes' theorem:
P ( H | X ) = P ( X | H ) P ( H ) P ( X )
Calculate P (X), P (H) and P (X|H);
Step (4) self-adaptation PSO Neural Network model training
Use sorted data sample to train affiliated self-adaptation PSO Neural Network model of all categories, the input layer unit number of setting neural network is n, and hidden layer unit number is p, and output layer unit number is q; Then need the weights number N=n × p+p × q adjusted in neural network, by the dimension needing the weights number N problem of representation space adjusted; Use vectorial X i=[x i1, x i2..., x iN] represent one of all weights of neural network possible value, also represent the position of particle in particle swarm optimization algorithm; PSO Neural Network model training step is as follows:
The position of each particle and speed in 4-1. initialization population population, position and the speed of particle are positioned between [0,1], i.e. stochastic generation G vectorial X i=[x i1, x i2..., x iN], 1≤i≤G as the position of particle, x ibetween [0,1]; Stochastic generation G vectorial V again i=[v i1, v i2..., v iN], G+1≤i≤2 × G as the speed of particle, v ibetween [0,1]; Setting maximum iteration time itermax, current iteration number of times k=1;
4-2. calculates the fitness value of each particle, stores the current position of each particle for self optimal value P bi, storing the position that in all particles, fitness value is minimum is global optimum P bg;
4-3. judges whether k reaches maximum iteration time itermax, if so, forwards step 4-7 to, otherwise forwards 4-4 to;
4-4. upgrades each particle rapidity and position, calculates the fitness value that each particle is new; If the current fitness value of i-th particle is better than P bi, then P is upgraded bi; If the optimal location of current particle group is better than P bg, then P is upgraded bg; K=k+1 is set;
4-5. upgrades inertia weight ω according to inertia weight computing formula;
If 4-6. global optimum position P bgin 10 iteration, not change, then forward step 4-7 to, otherwise forward step 4-4 to;
4-7. exports P bgas the weights of the PSO Neural Network trained;
Step (5) leases model prediction: according to the environment attribute vector S to be predicted of input prewith the P calculated (H), the value of P (X|H), calculates the probability that this data tuple belongs to of all categories, exports the classification that posterior probability is maximum;
Step (6) public bicycles leases prediction
Lease according to step (5) classification exported in model prediction, select corresponding self-adaptation PSO Neural Network model, the residue public bicycles quantity of a front n time period is inputted this model, export the public bicycles quantity being prediction.
2. a kind of public bicycles based on multisource data fusion leases Forecasting Methodology as claimed in claim 1, it is characterized in that described in step (2), computing formula is as follows:
N in 2-1 iwith class center μ kdistance computing formula as follows:
D N i , c k = Σ | | N i - μ k | | 2
Class center calculation formula new in 2-2 is as follows:
μ k * = Σ i = 1 | n k | N ki | n k |
μ k *for class c kxin Lei center;
| n k| be class c kthe number of middle data tuple;
N kifor class c kin i-th data tuple.
3. a kind of public bicycles based on multisource data fusion leases Forecasting Methodology as claimed in claim 1, it is characterized in that the computing formula that uses in step (3) and variable implication as follows:
P ( H ) = | c k , T | L ,
| c k,T| for belonging to class c in set of data samples T ksample number;
L is the total sample number in set of data samples T;
P(X|H)=P(d i|c k)P(w i|c k)P(t i|c k),
P ( d i | c k ) = | d i , c k | | c k , T | ,
P ( w i , c k ) = | w i , c k | | c k , T |
P ( t i | c k ) = | t i , c k | | c k , T |
for class c kthe value of middle attribute d is d inumber of samples;
for class c kthe value of middle attribute w is w inumber of samples;
for class c kthe value of middle attribute t is t inumber of samples.
4. a kind of public bicycles based on multisource data fusion leases Forecasting Methodology as claimed in claim 1, it is characterized in that the computing formula that uses in step (4) and variable implication as follows:
Fitness value fitness (X g) computing formula be:
fitness ( X g ) = 1 2 M Σ l = 1 M Σ k = 1 q ( ( Σ j = 1 p w jk ( 1 / ( 1 + exp ( Σ i = 1 n w ij x li - θ hj ) ) ) - θ ok ) - d lk )
M is that data sample concentrates data tuple number;
X libe i-th input of l data sample;
θ hjfor the threshold value of a hidden layer jth unit;
θ okfor the threshold value of an output layer kth unit;
W ijbe the connection weights of i-th input layer and a jth hidden layer;
W jkfor the connection weights of a jth hidden layer and a kth output layer;
D lkit is a kth output of l data sample;
Speed computing formula is:
V i k+1=w×V i k+c 1×r 1×(P i k-X i k)+c 2×r 2×(P g k-X i k)
V i kfor particle X iin the speed of kth time iteration;
R 1, r 2the random number of value between [0,1];
C 1, c 2be one group of random number, generally get c 1=c 2=2.5;
ω is inertia weight;
Inertia weight ω kcomputing formula is:
ω k = ω max - ω max - ω min it max × k
ωmax=0.9,ωmin=0.2;
The position calculation formula of particle is:
X i k+1=X i k+V i k+1
X i kthe position of i-th particle during iteration secondary to kth.
5. a kind of public bicycles based on multisource data fusion leases Forecasting Methodology as claimed in claim 1, it is characterized in that the computing formula used in step (6) is as follows:
It is specific as follows that neural network model exports O:
O = Σ j = 1 p w j 1 ( 1 / ( 1 + exp ( Σ i = 1 n w ij x li - θ hj ) ) ) - θ ok .
CN201510154943.4A 2015-04-02 2015-04-02 A kind of public bicycles based on multisource data fusion lease Forecasting Methodology Expired - Fee Related CN104778508B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510154943.4A CN104778508B (en) 2015-04-02 2015-04-02 A kind of public bicycles based on multisource data fusion lease Forecasting Methodology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510154943.4A CN104778508B (en) 2015-04-02 2015-04-02 A kind of public bicycles based on multisource data fusion lease Forecasting Methodology

Publications (2)

Publication Number Publication Date
CN104778508A true CN104778508A (en) 2015-07-15
CN104778508B CN104778508B (en) 2017-12-08

Family

ID=53619961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510154943.4A Expired - Fee Related CN104778508B (en) 2015-04-02 2015-04-02 A kind of public bicycles based on multisource data fusion lease Forecasting Methodology

Country Status (1)

Country Link
CN (1) CN104778508B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107038503A (en) * 2017-04-18 2017-08-11 广东工业大学 A kind of Demand Forecast method and system of shared equipment
CN107145714A (en) * 2017-04-07 2017-09-08 浙江大学城市学院 Based on multifactor public bicycles usage amount Forecasting Methodology
CN107274256A (en) * 2017-05-17 2017-10-20 南京昱立信息科技有限公司 Shared bicycle user identification system and stage division
CN107301586A (en) * 2017-06-09 2017-10-27 中国联合网络通信集团有限公司 Vehicle Forecasting Methodology, device and server can be rented
CN107704969A (en) * 2017-10-18 2018-02-16 南京邮电大学 A kind of Forecast of Logistics Demand method based on Weighted naive bayes algorithm
CN108629522A (en) * 2018-05-11 2018-10-09 东南大学 A kind of public bicycles dispatching method based on clustering
CN108876056A (en) * 2018-07-20 2018-11-23 广东工业大学 A kind of shared bicycle Demand Forecast method, apparatus, equipment and storage medium
CN108960476A (en) * 2018-03-30 2018-12-07 山东师范大学 Shared bicycle method for predicting and device based on AP-TI cluster
CN109543922A (en) * 2018-12-20 2019-03-29 西安电子科技大学 Prediction technique is also measured for there is stake to share borrowing at times for bicycle website group
CN111126641A (en) * 2019-11-25 2020-05-08 泰康保险集团股份有限公司 Resource allocation method and device
CN111144648A (en) * 2019-12-25 2020-05-12 中国联合网络通信集团有限公司 People flow prediction equipment and method
CN111523560A (en) * 2020-03-18 2020-08-11 第四范式(北京)技术有限公司 Training method, prediction method, device and system for number prediction model of arriving trucks
CN107045673B (en) * 2017-03-31 2020-09-29 杭州电子科技大学 Public bicycle flow variation prediction method based on stack model fusion
CN116738415A (en) * 2023-08-10 2023-09-12 北京中超伟业信息安全技术股份有限公司 Particle swarm optimization weighted naive Bayesian intrusion detection method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101045217B1 (en) * 2010-02-26 2011-06-30 (주)웨이버스 Managing method for rental bicycle
CN104252653A (en) * 2013-06-26 2014-12-31 国际商业机器公司 Method and system for deploying bicycle between public bicycle stations
CN104361398A (en) * 2014-08-04 2015-02-18 浙江工业大学 Method for predicting natural demands on public bicycle rental spots

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101045217B1 (en) * 2010-02-26 2011-06-30 (주)웨이버스 Managing method for rental bicycle
CN104252653A (en) * 2013-06-26 2014-12-31 国际商业机器公司 Method and system for deploying bicycle between public bicycle stations
CN104361398A (en) * 2014-08-04 2015-02-18 浙江工业大学 Method for predicting natural demands on public bicycle rental spots

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HAITAO XU ET AL.: "Public Bicycle Traffic Flow Prediction based on a Hybrid Model", 《APPLIED MATHEMATICS & INFORMATION SCIENCES》 *
沈永增: "基于混沌粒子群优化小波神经网络的短时交通流预测", 《计算机应用软件》 *

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107045673B (en) * 2017-03-31 2020-09-29 杭州电子科技大学 Public bicycle flow variation prediction method based on stack model fusion
CN107145714B (en) * 2017-04-07 2020-05-22 浙江大学城市学院 Multi-factor-based public bicycle usage amount prediction method
CN107145714A (en) * 2017-04-07 2017-09-08 浙江大学城市学院 Based on multifactor public bicycles usage amount Forecasting Methodology
CN107038503A (en) * 2017-04-18 2017-08-11 广东工业大学 A kind of Demand Forecast method and system of shared equipment
CN107274256A (en) * 2017-05-17 2017-10-20 南京昱立信息科技有限公司 Shared bicycle user identification system and stage division
CN107301586A (en) * 2017-06-09 2017-10-27 中国联合网络通信集团有限公司 Vehicle Forecasting Methodology, device and server can be rented
CN107301586B (en) * 2017-06-09 2020-10-27 中国联合网络通信集团有限公司 Rentable vehicle prediction method, rentable vehicle prediction device and server
CN107704969A (en) * 2017-10-18 2018-02-16 南京邮电大学 A kind of Forecast of Logistics Demand method based on Weighted naive bayes algorithm
CN108960476A (en) * 2018-03-30 2018-12-07 山东师范大学 Shared bicycle method for predicting and device based on AP-TI cluster
CN108629522A (en) * 2018-05-11 2018-10-09 东南大学 A kind of public bicycles dispatching method based on clustering
CN108629522B (en) * 2018-05-11 2020-06-16 东南大学 Public bicycle scheduling method based on cluster analysis
CN108876056A (en) * 2018-07-20 2018-11-23 广东工业大学 A kind of shared bicycle Demand Forecast method, apparatus, equipment and storage medium
CN109543922A (en) * 2018-12-20 2019-03-29 西安电子科技大学 Prediction technique is also measured for there is stake to share borrowing at times for bicycle website group
CN109543922B (en) * 2018-12-20 2021-04-20 西安电子科技大学 Time-period borrowing and returning amount prediction method for single-vehicle station group shared by piles
CN111126641A (en) * 2019-11-25 2020-05-08 泰康保险集团股份有限公司 Resource allocation method and device
CN111126641B (en) * 2019-11-25 2023-08-22 泰康保险集团股份有限公司 Resource allocation method and device
CN111144648A (en) * 2019-12-25 2020-05-12 中国联合网络通信集团有限公司 People flow prediction equipment and method
CN111144648B (en) * 2019-12-25 2023-11-24 中国联合网络通信集团有限公司 People flow prediction device and method
CN111523560A (en) * 2020-03-18 2020-08-11 第四范式(北京)技术有限公司 Training method, prediction method, device and system for number prediction model of arriving trucks
CN111523560B (en) * 2020-03-18 2023-07-25 第四范式(北京)技术有限公司 Method, device and system for training number prediction model of arrival trucks
CN116738415A (en) * 2023-08-10 2023-09-12 北京中超伟业信息安全技术股份有限公司 Particle swarm optimization weighted naive Bayesian intrusion detection method and device

Also Published As

Publication number Publication date
CN104778508B (en) 2017-12-08

Similar Documents

Publication Publication Date Title
CN104778508A (en) Public bicycle renting forecasting method based on multi-source data fusion
Malek et al. Multivariate deep learning approach for electric vehicle speed forecasting
Modi et al. Estimation of energy consumption of electric vehicles using deep convolutional neural network to reduce driver’s range anxiety
CN107679557B (en) Driving model training method, driver identification method, device, equipment and medium
Liang et al. An integrated reinforcement learning and centralized programming approach for online taxi dispatching
CN106910199B (en) Car networking crowdsourcing method towards city space information collection
Mingheng et al. Accurate multisteps traffic flow prediction based on SVM
US20160125307A1 (en) Air quality inference using multiple data sources
CN105023437B (en) A kind of construction method and system of public transport OD matrixes
CN110148296A (en) A kind of trans-city magnitude of traffic flow unified prediction based on depth migration study
CN106781489A (en) A kind of road network trend prediction method based on recurrent neural network
Lin et al. A spatial-temporal hybrid model for short-term traffic prediction
Azimi et al. A novel clustering algorithm based on data transformation approaches
Ye et al. Short-term prediction of available parking space based on machine learning approaches
CN112906948B (en) Urban area attraction prediction method, device and medium based on private car track big data
CN104217258A (en) Method for power load condition density prediction
CN111160622A (en) Scenic spot passenger flow prediction method and device based on hybrid neural network model
CN107220724A (en) Passenger flow forecast method and device
Čertický et al. Fully agent-based simulation model of multimodal mobility in European cities
CN110889530A (en) Destination prediction method based on recurrent neural network and server
Bayliss Machine learning based simulation optimisation for urban routing problems
Yang et al. Dynamic origin-destination matrix estimation based on urban Rail transit AFC data: deep optimization framework with forward passing and backpropagation techniques
Guo et al. Integrated multistep Markov-based velocity predictor of energy consumption prediction model for battery electric vehicles
Liu et al. A short-term traffic flow forecasting method and its applications
Zhang et al. Short-term Traffic Flow Prediction With Residual Graph Attention Network.

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171208

Termination date: 20210402

CF01 Termination of patent right due to non-payment of annual fee