Next Article in Journal
Maglev Train Signal Processing Architecture Based on Nonlinear Discrete Tracking Differentiator
Next Article in Special Issue
Energy Efficient Management of Pipelines in Buildings Using Linear Wireless Sensor Networks
Previous Article in Journal
Group Sparse Representation Based on Nonlocal Spatial and Local Spectral Similarity for Hyperspectral Imagery Classification
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Accurate Traffic Flow Prediction in Heterogeneous Vehicular Networks in an Intelligent Transport System Using a Supervised Non-Parametric Classifier

1
College of Information Technology, UAE University, Al Ain 15551, United Arab Emirates
2
Department of Information Technology, Ibri College of Applied Sciences (MoHE), Ibri 516, Sultanate of Oman
3
Department of Computer Systems Engineering, Palestine Technical University, Tulkarem 007, Palestine
4
Department of Information Engineering, University of Padova, 35131 Padova, Italy
5
Faculty of Information Science and Technology, Mahanakorn University of Technology, Bangkok 10530, Thailand
6
Department of Computer Science, University of Auckland, Auckland 1010, New Zealand
7
School of Electrical and Data Engineering, FEIT, University of Technology Sydney, Sydney 2007, Australia
8
Centre for Artificial Intelligence, School of Software, FEIT, University of Technology Sydney, Sydney 2007, Australia
*
Authors to whom correspondence should be addressed.
Sensors 2018, 18(6), 1696; https://doi.org/10.3390/s18061696
Submission received: 27 March 2018 / Revised: 9 May 2018 / Accepted: 9 May 2018 / Published: 24 May 2018
(This article belongs to the Special Issue Sensors for Green Computing)

Abstract

:
Heterogeneous vehicular networks (HETVNETs) evolve from vehicular ad hoc networks (VANETs), which allow vehicles to always be connected so as to obtain safety services within intelligent transportation systems (ITSs). The services and data provided by HETVNETs should be neither interrupted nor delayed. Therefore, Quality of Service (QoS) improvement of HETVNETs is one of the topics attracting the attention of researchers and the manufacturing community. Several methodologies and frameworks have been devised by researchers to address QoS-prediction service issues. In this paper, to improve QoS, we evaluate various traffic characteristics of HETVNETs and propose a new supervised learning model to capture knowledge on all possible traffic patterns. This model is a refinement of support vector machine (SVM) kernels with a radial basis function (RBF). The proposed model produces better results than SVMs, and outperforms other prediction methods used in a traffic context, as it has lower computational complexity and higher prediction accuracy.

1. Introduction

Heterogeneous vehicular networks (HETVNETs) are a subclass of ad hoc networks, and differ in characteristics from other networks as vehicles are the nodes that can compute, sense, and communicate via various access technologies, such as DSRC (Dedicated Short-Range Communications), 3G (Third Generation), UMTS (Universal Mobile Telecommunications System) etc. [1,2]. The environment is highly dynamic in nature due to the varying node positions, which causes sparse distribution of vehicles and intermittent connectivity among them, and consequently, messages are lost or delayed [3]. To ensure reliable content dissemination in HETVNETs, solutions such as name-based communication and in-network caching were proposed [4]. Each and every network node in this vehicular environment has to carry, store, and forward data with cooperative behavior. However, the “store–carry–forward” solution may cause more delay and increase overhead communication. Therefore, we need the classification and prediction of traffic to obtain information about future traffic conditions, and to adapt dissemination/routing protocol parameters based on these conditions.
Although previous studies have provided intelligent transportation systems with fundamental prediction methods, this field still lacks a classification and prediction method that can be applied to various traffic conditions, and which can produce accurate results in a short computation time. Related traffic classification and prediction methods can be categorized as parametric and non-parametric. Parametric methods have a finite number of parameters, and include linear support vector machines, Bayesian networks, neural networks, and port-based, IP-based, payload-based, behavior-based, and flow-based algorithms. Non-parametric methods have an infinite number of parameters, and include decision trees, k-means algorithms, and semi-supervised learning algorithms. Research has shown that non-parametric methods produce more accurate results than parametric methods because the infinite number of parameters assists in capturing the non-linearity of traffic flow [5].
This paper proposes a prediction model based on support vector machines (SVMs). SVMs are a non-parametric supervised machine learning technique that use associated learning algorithms to analyze data and recognize patterns [6]. SVMs are easily deployed through the mapping of non-linear data to high-dimensional feature space, and acquire a non-linear decision boundary in input space. The use of kernels twists support vector methods, and allows them to deal with other complex algorithms. Therefore, we adopted SVMs with a radial basis function (RBF) kernel for training them, as it has high performance in linear and non-linear SVMs. The contribution of this paper is a classification and prediction method that can be applied to various traffic conditions and achieve accurate results in a short computation time. The method was evaluated using a real dataset from Cambridge University (CRAWDAD, Cambridge, UK), and outperformed other methods. Although the method was tested offline, it can be used in a cloud system connected to HETVNETs. Traffic data are sent to vehicles continuously by, for example, roadside units. The routing/broadcasting protocols can utilize these data to adapt the dissemination of messages to traffic conditions, and consequently, message delay or loss can be avoided.
This paper is structured as follows: the first section presents the introduction of the paper. The second section shows the works related to the proposed model. The third section explains the theoretical background behind the proposed model to show that the model is based on a scientific framework. The fourth section shows the proposed model and how it is applied. The fifth section explains how the proposed model is accommodated to a real traffic dataset, and presents the results of using this model. Finally, the sixth section concludes the paper and outlines future directions.

2. Related Work

The classification of network traffic is a never-ending process as technology keeps evolving, and as such, the classification approaches and techniques need to be changed [7]. Additionally, routing protocols can overcome classical challenges such as intermittent connectivity or broadcasting storms if traffic conditions can be known in advance, which assists in the development of adaptive protocols [8]. Primarily, in order to classify traffic, a deep understanding of traffic characteristics is necessary. In this context, several fundamental classification methods, categorized as parametric and non-parametric, were used. Currently, researchers have started exploring machine learning algorithms, which reveal more promising outcomes when compared to other parametric classifiers, such as C4.5 decision trees, Bayesian networks, or neural networks [9]. Other methods, such as port-based, IP-based, payload-based, behavior-based, and flow-based algorithms, have produced promising results in various traffic situations [9]. Other studies deployed k-means algorithms from machine learning, a semi-supervised learning approach to clustering [10]. The attempt of a semi-supervised approach to clustering demonstrated better accuracy, significantly improving the categorization of real-time traffic.
Non-parametric approaches were proposed to compute correlation in the traffic dataset and predict the corresponding classes. These approaches were quoted to improve the classification performance, as they incorporated the correlation information. Research concluded that a similar approach to incorporating the correlation information can be deployed to mine and predict traffic in HETVNETs [11]. This approach to correlation information outperformed the neural network method of traffic classification [5]. Researchers have claimed that most parametric linear machine learning models are less accurate than non-parametric models [5,12,13].
The time complexity concept quantifies the computation time required to run a specific algorithm. Determining the time complexity of a classification or prediction model assists in judging whether this model can be applied online to vehicular ad hoc networks (VANETs) or not. Several studies have referred to the time complexity concept as computational demand, efficiency, or time demand, and have specified that traffic systems require fast forecasting algorithms that process data quickly enough to enable real-time decisions [5,14]. To reduce computational cost, studies have used data from limited correlated roads, instead of examining all roads. Furthermore, studies have tried to adopt efficient forecasting methods. However, most widely-used models, such as autoregression and neural network-based models, require substantial computation time [15,16]. In summary, our proposed model is a non-parametric model that has the ability to capture traffic nonlinearity and to address different traffic conditions. We should also focus on models that have a short computation time to allow real-time applications of our proposed model.

3. Theoretical Background

Support vector machines (SVMs) are being increasingly utilized in real-world applications, and have been labeled by researchers as a state-of-the-art tool among existing soft-computing techniques. SVMs ensure a precise perception of learning from samples, and can lead to the production of better outcomes for many practical real-world applications. The motivation behind the ease in deploying SVMs is that the mapping of non-linear data to high-dimensional feature space acquires a non-linear decision boundary in input space. In our study, input data representations were mapped into feature space by kernels.
SVMs come under the category of non-parametric classifiers, and have many types of kernels. The kernel functions are introduced in SVMs to solve classification or regression difficulties in which the data are not linearly separable [17]. The various types of SVMs with kernels are shown in Table 1, where γ, d, and r are kernel parameters. Researchers recommend choosing appropriate sensible kernel functions, and tuning related significant parameters mapping the non-linearly-separable data. The mapping of non-linearly-separable data into feature space is pictorially represented in Figure 1.
Mathematically, two critical points define a channel called a support vector, where one point exists from each class. Support vectors define the boundary between classes, and all other instances will be deleted without changing the boundary. SVMs drive between two classes, but in the case of multi-dimensional class separations, it is called a hyperplane (not a line). When classes are not linearly separable, complexity exists through complex boundaries called kernel tricks on non-linearization. Specifically, the input training dataset, { x i } i = 1 n , was transformed to feature space using a non-linear function, φ . The later transformed data obtained in the feature space, { φ ( x i ) } i = 1 n , underwent a non-linear kernel trick as depicted in Figure 1. When multiple hyperplanes existed, we selected the hyperplane with the best max margin. Researchers have proposed many kernels with relevance to their experiments. Among a few, the most commonly used ones are linear, polynomial, sigmoidal, Gaussian, and exponential RBFs [18]. The selection among the above-mentioned kernels was made based on three performance features. The features applied for the performance measurements were complexity, optimality, and accuracy. The measured data of these features are rated accordingly in Table 2. The initial choice made was the RBF, as it seemed to lead the performance ratings specified in Table 2. The RBFs have high prediction accuracy and optimality, and the complexity measure is quite high for both linear and polynomial kernels, as they involve numerical difficulties when computing the kernel inner products for the featured vectors.

4. Proposed Model: RBF-Refined SVM Model

4.1. Overview: SVM

This model encompasses four major stages. The preliminary stage is the action stream, comprising dataset initialization. Subsequently, after ensuring the appropriate format of the data for further deployment, it proceeds to the next stage. At the classification stage, the division between training and testing data is fixed and advances into the support vector machine phase. At this stage, appropriate attribute and model selections are made to guarantee an accurate prediction of the test data. The expected outcomes of the prediction of the test data are measured in the penultimate stage, and finally are compared with the outcomes of other techniques, as depicted in Figure 2.

4.2. Pre-Processing: Data Initialization

The HETVNET’s traffic dataset from CRAWDAD was transformed to an SVM format for training and testing. Each instance or observation within the dataset was represented as a vector of real numbers. In our dataset, there were few categorical features or attributes. The categorical features and attributes were converted to numerical data. For example, a packet receiving a categorical feature, such as {Yes, No}, was represented as (1, 0). It was also recommended by some researchers to scale the data before application to the SVM. Scaling the numerical range of values helps to avoid complex numerical computations, as the kernels rely on the products of the vector features. In this paper, we did not scale our traffic data, as the usage of linear or polynomial kernels was exempted from this dataset. The usage of linear and polynomial kernels can demonstrate various difficulties in numerical calculations. Henceforth, the transformed SVM-formatted data endured its path forward in making the right choice of model, prior to its application to the SVM.

4.3. Classification: Training and Testing Data

At any point in time, each observation of the captured HETVNET traffic had many features and one class label, referred to as the target variable. The goal of the SVM was to produce a model that could predict the target variable’s value for the test data, based on the training dataset. In our investigation, two different approaches of classification patterns were deployed. Initially, the traditional classification task pattern was applied to divide the traffic data into training and testing datasets. Henceforth, the traffic data was divided accordingly: laps one to three were used for training, and laps four and five were used for testing. The traffic dataset classification was done for both north- and southbound directions.
The classification was applied using RBF kernel tuning parameters (C, γ ) to achieve the best rate of prediction accuracy. Here, it was noted that the prediction accuracy was directly proportional to the classification procedure/pattern being used. Identifying the perfect (C, γ ) parameters may lead to overfitting in certain cases. To avoid issues of overfitting and to get a better prediction accuracy of the test data, we proposed a cross-validation procedure instead of our traditional classification task pattern. The traditional classification pattern was hence twisted further, so as to improve the prediction accuracy. The improved version of classification was termed the cross-validation procedure.
The cross-validation classification pattern involved both training and testing sets, unlike the traditional classifier. The variation was that the training set was kept intact, while the testing set was divided into n subsets of equal size. This was done to ensure cross-validation accuracy, where one subset was tested over the other n − 1 subsets. Researchers propose cross-validation when the available data are limited. In our case, the dataset was not big enough, and hence, may produce a lot of variation in performance estimation. As a result, cross-validation classification was recommended as it reduced the variance by averaging, and the performance remained unaffected due to partition of the data. This pattern of classification also guaranteed the prevention of overfitting of the testing data.

4.4. SVM-Based Selection: Model—RBF Kernel

The trial traces of the traffic were mapped in the feature space for class Y (where Y denotes yes and confirms that the packets arrived at the receiver’s end) in a specific area. Correspondingly, the trial traces of the traffic for class N (where N denotes no and assures that the packets did not arrive at the receiver’s end) were mapped in a different area. In the RBF kernel, the entire trace of the traffic was later mapped onto the surface of the hypersphere. The cosine values indicated the similarities between the traces. As the cosine value approached 1, the traces became more similar in the feature space. When the cosine value approached 0, the traces became more dissimilar in the feature space. When the RBF kernel function (k) values approached 1 for samples i and j, this signified that they were in the same class as those denoted in Equation (1). Similarly, when the kernel values approached 0, this signified that they were in different classes, and σ was approximated to 0, as denoted in Equation (2). Hence,   and   σ could be adjusted to approach 1, so as to yield better results in our scenario.
K ( { x i } i = 1 n ,   { x j } j = 1 n , σ )   1
K ( { x i } i = 1 n ,   { x j } j = 1 n , σ )   0
The complexity in polynomial kernels is also influenced by the number of hyperparameters, whereas in RBF kernels, this influence is considerably less. Moving forward, RBF kernels were chosen as the ultimate model for our research, due to a better optimality rating through fewer numerical difficulties, perfect accuracy which avoided overfitting, and fewer hyperparameters through the reduction of complexity. Other researchers also justified the use of RBF kernels by their recommendation of datasets that do not have a large number of features. The traffic dataset did not involve a large number of features, and therefore, RBF kernels were used.

4.5. Selection: Attribute

The correlation feature evaluator evaluated and ranked the following sixteen features/attributes, as shown in Table 3, for selection: packet-sequence-number (#), time (s), bytes sent, sender latitude, sender longitude, sender speed (km/h), sender altitude (m), receiver latitude, receiver longitude, receiver speed, receiver altitude (m), packet received (Y/N), bytes received, signal strength, and noise strength. The ranking score was based on correlation with the attribute used to predict the class type, which confirmed whether the packets were received or not, with a Y/N or Boolean value. The ranking of attributes were ordered from maximum to minimum, based on their importance. The merit/ranking score ranged from 1 to 0, and was high (close to 1) in cases of certain attributes, as they had a higher correlation/association with the dependent variable. The choice of attribute usage was based on the ranking score, and attributes were given weight based on them predicting the dependent variable accordingly. The highest prioritized attribute, number of bytes received, was ranked with a merit score of 1 (strongly associated), and the next in priority was the signal strength attribute, with a score of 0.999 (strong association). Consequently, we had the noise strength attribute with a score of 0.982, and following this, an eventual decrease to 0 (weak association). The last three attributes in Table 3 could almost be totally neglected and were considered to be of no use. The use of these attributes in the prediction yielded no improvement in the outcomes.

4.6. Performance Measure

Performance of the SVMs was measured based on the accuracy percentage, precision, or the number of positively predicted values, and sensitivity percentage of the relevant fractional values, otherwise termed “recall”. Actual results in the prediction fell under the four categories true positive (TP), true negative (TN), false negative (FN), and false positive (FP), which were based on the confusion matrix, as described in Table 4. The confusion matrix was a way to show performance measures of classification models on the collection of test data. Confusion matrices consisted of the information given by classification models about predicted and actual classifications. When an event was positive and predicted positive, then it was deemed a true positive, while if predicted negative, was termed a false negative. Similarly, when an event was negative and predicted positive, then it was a false positive, and otherwise, termed a true negative.
The calculations of precision and recall were made based on the true positive and false positive/negative values accordingly, as shown in Equations (3) and (4). The F measure gave the harmonic average of precision and recall, as shown in Equation (5). Matthew’s correlation coefficient (MCC) measures the acute accuracy quality by means of correlation. MCC is a measure which is relied upon as an accuracy rating; however, precision and recall do not consider the true negative values, as shown in Equation (6).
P r e c i s i o n =   T P T P + F P
R e c a l l =   T P T P + F N
F =   2 × ( P r e c i s i o n × R e c a l l ) ( P r e c i s i o n + r e c a l l )
M C C =   ( T P × T N ) ( F P × F N ) ( T P + F P ) ( T P + F N ) ( T N + F N ) ( T N + F P )

5. Experimental Results

5.1. Overview of Dataset

This paper used a HETVNET traffic dataset from a Cambridge University repository (CRAWDAD). The traffic used for this research paper focused on the vehicle to road station unit traffic (V2RSU). The traffic was segregated into laps numbered one to five, and were separated accordingly into both northbound and southbound. Senders traveled in a loop between exit 250 and exit 255, and data were collected over five laps. The sender’s car had an external antenna above the front passenger seat, and the receivers were located at the Peachtree Battle bridge (the RSU). The direction of movement in this environment was made up of northbound (exit 250 to exit 255), and southbound (exit 255 to exit 250).

5.2. Training and Testing of Dataset

During training, the SVM uses the data to learn and predict the same behavior for the future. The goal was to give necessary training data ( x t i ) for every observation (i) at time (t) on traffic of HETVNETs, to predict whether or not the packets were received, by x t i + ∆, as depicted in Figure 3. Using the induction learning technique, it withheld two stage-processing agendas. During the initial stage of the training phase, the SVM acquired knowledge from the training set. In the later stage, the testing phase, it evaluated and associated the members with their respective classes accordingly.

5.3. Comparison of Outcomes

In this paper, the dataset had sixteen attributes, and the class prediction was based on whether or not the packets were received, with a YES or NO, represented by Y/N. The training dataset’s number of instances was 10,000, and the test dataset’s number of instances was 6346. In order to compare and demonstrate the performance of non-parametric and parametric classifiers, an ideal choice of logistic regression was made, as the dependent/predictor variable was categorical. The outcome of classes receiving the packet was categorized with Y/N. Complete accuracy measures of parametric (logistic regression) and non-parametric classifiers (SVM types) are listed below in Table 5. The average accuracy percentage of logistic regression (LR), a parametric classifier, was 66%, while LIBLINEAR was below 65%. LIBSVM seemed to be much better than LIBLINEAR and LR (parametric classifier); however, the SVM with an RBF kernel under a grid search was a well-refined and optimal package, trained to solve quadratic programming problems while ensuring an accuracy percentage of over 99%. A comparison of the results is provided in Table 5.
This illustrates that when the cross-validation method was applied to the selected SVMs and logistic regression [18,19,20,21], the accuracy of LIBSVM and LIBLINEAR improved significantly more than that of the SVM-RBF. The reason for this was that they were run over a simple probability, in an effort to further optimize and enhance performance, by tuning the cost (C) parameter. When cross-validation was applied to them, the performance elevated and also resulted in bad generalization/overfitting. The SVM-RBF was already a fine-tuned technique, embedded with the advanced probability techniques of SVMs. This technique jointly optimized cost and gamma parameters. The SVM-RBF guaranteed a consistently good generalization with no overfitting curves when the variance was averaged by the cross-validation method.
The accuracy of the dataset for lap five of the northbound traffic is showcased by class in Table 6, where Y indicates that the packets were received, while N denotes that the packets were not received. The dataset had 16 features/attributes and 6346 instances upon which the test run was done, to showcase the compared performance measures of LIBLINEAR, LIBSVM, and the SVM-RBF. TP reflects the true positive rate, while FP reflects the false positive rate. Receiver operating characteristics (ROCs) had an area ranging from zero to one. When the ROC area [22] value was less than 0.500, the prediction was labeled as random/poor. On the other hand, it was considered a good, excellent, or perfect prediction as the value approached 1.000. Precision and recall were computed to confirm the accuracy rate with F-measure, which expressed the stability between them. Precision–recall curves (PRCs) highlighted the differences between models. Finally, Matthew’s correlation coefficient (MCC) was used as a geometric mean, which measured the quality of classification. All accuracy measures are explicitly represented in Figure 4, which showcases that the accuracy rating of the SVM-RBF outperformed the logistic regression classifier and other SVMs.

6. Conclusions and Future Work

In this paper, the importance of classifying the dataset for testing and training was made clear. The mapping with an RBF kernel in a grid search revealed more promising outcomes than those of traditional SVMs. The refinement of traditional SVMs, with a suitable choice of RBF-induced kernels in a grid search, minimized computation time and delivered a swift SVM. The performance of the SVM-RBF’s outcomes was noticeably superior to that of LIBSVM’s and LIBLINEAR’s. The SVM is a strong candidate in the field of machine learning, which, when tuned appropriately, can yield more promising results in the future. This strategy can be benchmarked in future prediction services using big datasets. In the near future, a bigger dataset can be used for a test run of the SVMs to reveal the outstanding scalability and efficiency of the SVM-RBF in comparison with other SVM combinations, such as the maximum likelihood classifier (SVM-MLC). Additionally, a routing protocol for HETVNETs will be developed, so as to use results of the proposed prediction model and overcome problems such as broadcasting storms and intermittent connectivity.

Author Contributions

H.E.-S., S.S. and M.P. conceived, designed the experiments and wrote the paper; Y.-A.D. and P.T. performed the experiments; E.R., M.M. and D.P. analyzed the data, contributed reagents/materials/analysis tools.

Acknowledgments

The datasets for this paper were used from CRAWDAD, a community resource for Archiving Wireless Data at Dartmouth. This research was supported by the Roadway, Transportation, and Traffic Safety Research Center (RTTSRC, Al Ain, United Arab Emirates) of the United Arab Emirates University (grant number 31R058). Authors are grateful to Ministry of Higher Education, Oman and United Arab Emirates University, UAE for their support to do this research work. The authors would like to thank the anonymous experts for their valuable comments and suggestion for improving the quality of this research paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Atallah, R.F.; Khabbaz, M.J.; Assi, C.M. Vehicular networking: A survey on spectrum access technologies and persisting challenges. Veh. Commun. 2015, 2, 125–149. [Google Scholar] [CrossRef]
  2. Lloret, J.; Canovas, A.; Catalá, A.; Garcia, M. Group-based protocol and mobility model for VANETs to offer internet access. J. Netw. Comput. Appl. 2013, 36, 1027–1038. [Google Scholar] [CrossRef]
  3. Daraghmi, Y.A.; Stojmenovic, I.; Yi, C.W. Forwarding Methods in Data Dissemination and Routing Protocols for Vehicular Ad Hoc Networks. IEEE Netw. 2013, 27, 74–79. [Google Scholar] [CrossRef]
  4. Amadeo, M.; Campolo, C.; Molinaro, A. Named Data Networking for Priority-based Content Dissemination in VANETs. In Proceedings of the Vehicular Networking and Intelligent Transportation Systems (IEEE PIMRC WKSHPS), Valencia, Spain, 4–7 September 2016; pp. 4–7. [Google Scholar]
  5. Daraghmi, Y.A.; Yi, C.W.; Chiang, T.C. Negative Binomial Additive Models for Short-Term Traffic Flow Forecasting in Urban Areas. IEEE Trans. Intell. Transp. Syst. 2014, 15, 784–793. [Google Scholar] [CrossRef]
  6. Andrews, S.; Tsochantaridis, I.; Hofmann, T. Support vector machines for multiple-instance learning. In Advances in Neural Information Processing Systems; MIT Press: Cambridge, MA, USA, 2002; pp. 561–568. [Google Scholar]
  7. Vapnik, V.; Chapelle, O. Bounds on error expectation for support vector machines. Neural Comput. 2000, 12, 2013–2036. [Google Scholar] [CrossRef] [PubMed]
  8. Daraghmi, Y.A.; Stojmenovic, I.; Yi, C.W. A Taxonomy of Data Communication Protocols for Vehicular Ad Hoc Networks. In Mobile Ad Hoc Networking: Cutting Edge Directions, 2nd ed.; Wiley-IEEE Press: Hoboken, NJ, USA, 2013. [Google Scholar]
  9. Valenti, S.; Rossi, D.; Dainotti, A.; Pescapè, A.; Finamore, A.; Mellia, M. Reviewing traffic classification. In Data Traffic Monitoring and Analysis; Springer: Berlin/Heidelberg, Germany, 2013; pp. 123–147. [Google Scholar]
  10. Wang, Y.; Xiang, Y.; Zhang, J.; Yu, S. A novel semi-supervised approach for network traffic clustering. In Proceedings of the 5th IEEE International Conference on Network and System Security (NSS), Milan, Italy, 6–8 September 2011; pp. 169–175. [Google Scholar]
  11. Zhang, J.; Xiang, Y.; Wang, Y.; Zhou, W.; Xiang, Y.; Guan, Y. Network traffic classification using correlation information. IEEE Trans. Parallel Distrib. Syst. 2013, 24, 104–117. [Google Scholar] [CrossRef]
  12. Sugiyama, M.; Kawanabe, M. Machine Learning in Non-Stationary Environments: Introduction to Covariate Shift Adaptation; MIT Press: Cambridge, MA, USA, 2012. [Google Scholar]
  13. Sahoo, G. Analysis of parametric & non parametric classifiers for classification technique using WEKA. Int. J. Inf. Technol. Comput. Sci. 2012, 4, 43. [Google Scholar]
  14. Chen, C.; Liu, Z.; Lin, W.-H.; Li, S.; Wang, K. Distributed modeling in a MapReduce framework for data-driven traffic flow forecasting. IEEE Trans. Intell. Transp. Syst. 2013, 14, 22–33. [Google Scholar] [CrossRef]
  15. Ghosh, B.; Basu, B.; OMahony, M. Multivariate short-term traffic flow forecasting using time-series analysis. IEEE Trans. Intell. Transp. Syst. 2009, 10, 246–254. [Google Scholar] [CrossRef]
  16. Min, W.; Wynter, L. Real-time road traffic prediction with spatiotemporal correlations. Transp. Res. C 2011, 19, 606–616. [Google Scholar] [CrossRef]
  17. Żbikowski, K. Time series forecasting with volume weighted support vector machines. In International Conference: Beyond Databases, Architectures and Structures; Springer International Publishing: Basel, Switzerland, 2014; pp. 250–258. [Google Scholar]
  18. Cao, H.; Naito, T.; Ninomiya, Y. Approximate RBF Kernel SVM and Its Applications in Pedestrian Classification. In Proceedings of the 1st International Workshop on Machine Learning for Vision-based Motion Analysis—MLVMA’08, Marseille, France, 1–5 October 2008. [Google Scholar]
  19. Chang, C.C.; Lin, C.J. LIBSVM: A library for support vector machines. ACM Trans. Intell. Syst. Technol. 2011, 2, 27. [Google Scholar] [CrossRef]
  20. Fan, R.E.; Chang, K.W.; Hsieh, C.J.; Wang, X.R.; Lin, C.J. LIBLINEAR: A library for large linear classification. J. Mach. Learn. Res. 2008, 9, 1871–1874. [Google Scholar]
  21. Harrell, F.E. Ordinal logistic regression. In Regression Modeling Strategies; Springer: New York, NY, USA, 2011; pp. 331–343. [Google Scholar]
  22. Bradley, A.P. The use of the area under the ROC curve in the evaluation of machine learning algorithms. Pattern Recognit. 1997, 30, 1145–1159. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Non-linearization (Source: Introduction to Statistical Machine Learning, MIT Press, Cambridge, MA, USA, 2012 [7]).
Figure 1. Non-linearization (Source: Introduction to Statistical Machine Learning, MIT Press, Cambridge, MA, USA, 2012 [7]).
Sensors 18 01696 g001
Figure 2. Action stream architecture for the vehicular ad hoc network (VANET) prediction.
Figure 2. Action stream architecture for the vehicular ad hoc network (VANET) prediction.
Sensors 18 01696 g002
Figure 3. Training and testing architecture.
Figure 3. Training and testing architecture.
Sensors 18 01696 g003
Figure 4. Accuracy rating (SVMs and LR).
Figure 4. Accuracy rating (SVMs and LR).
Sensors 18 01696 g004
Table 1. Kernel functions in support vector machines (SVMs).
Table 1. Kernel functions in support vector machines (SVMs).
SVM TypeKernel Function K ( x i , y )
Linear x i T y
Polynomial( γ x i T y + r ) d
Sigmoidtanh( γ x i T y + r )
Radial Basis Function (RBF)exp (- γ x i   x j 2, γ > 0
Table 2. Performance measures of SVM kernels.
Table 2. Performance measures of SVM kernels.
KernelComplexityOptimalityAccuracy
LinearHighHighMedium
PolynomialHighMediumMedium
RBFLowHighHigh
SigmoidalMediumLowMedium
Table 3. Attribute ranking score card.
Table 3. Attribute ranking score card.
Average-MeritAverage-Ranking ScoreAttribute #/Name
1 ± 01 ± 014 Bytes Received
0.999 ± 02 ± 015 Signal Strength
0.982 ± 03 ± 016 Noise Strength
0.474 ± 0.0034 ± 08 Sender Altitude (m)
0.468 ± 0.0025 ± 07 Sender Speed (km/h)
0.415 ± 0.0036 ± 012 Receiver Altitude (m)
0.336 ± 0.0017 ±01 Packet-Sequence-No #
0.335 ± 0.0048 ± 02 Time in Sec
0.104 ± 0.0019 ± 09 Receiver Latitude
0.091 ± 0.00210 ± 010 Receiver Longitude
0.078 ± 0.00111 ±06 Sender Longitude
0.078 ± 0.00112 ± 05 Sender Latitude
0.017 ± 0.00313 ± 03 Time in unit sec
0 ± 014 ± 04 Bytes Sent
0 ± 015 ± 011 Receiver Speed
Table 4. Confusion matrix. FN: false negative; false positive; TN: true negative; TP: true positive.
Table 4. Confusion matrix. FN: false negative; false positive; TN: true negative; TP: true positive.
Actual/PredictedNoYes
NoTNFP
YesFNTP
Table 5. Accuracy measures among SVMs. “N” and “S” in the Traffic Dataset column indicate northbound and southbound directions, respectively.
Table 5. Accuracy measures among SVMs. “N” and “S” in the Traffic Dataset column indicate northbound and southbound directions, respectively.
Traffic DatasetUsing Traditional Training SetUsing Cross-Validation Set
Accuracy (SVM-RBF) %Accuracy (LIBSVM) %Accuracy (LIBLINEAR) %Logistic Regression (LR) %Accuracy (SVM-RBF) %Accuracy (LIBSVM) %Accuracy (LIBLINEAR) %Logistic Regression (LR)%
Lap5 N99.894.744.262.310099.778.682.5
Lap4 N98.793.563.166.599.797.384.386.6
Lap3 N97.589.561.565.199.893.787.685.1
Lap2 N99.192.757.859.599.998.789.779.3
Lap1 N96.792.567.177.499.998.594.389.6
Lap5 S96.590.565.564.599.897.788.685.4
Lap4 S98.393.563.166.399.797.383.489.3
Lap3 S95.585.561.563.599.894.786.583.6
Lap2 S99.192.757.867.999.998.789.789.7
Lap1 S96.792.567.166.399.998.594.388.4
Table 6. Accuracy by class: packets received (yes (Y)/no (N)). LR: logistic regression; MCC: Matthew’s correlation coefficient; PRC: precision–recall curve; ROC: receiver operating characteristic.
Table 6. Accuracy by class: packets received (yes (Y)/no (N)). LR: logistic regression; MCC: Matthew’s correlation coefficient; PRC: precision–recall curve; ROC: receiver operating characteristic.
Classifier TypeTP RateFP RatePrecisionRecallF-MeasureMCCROC AreaPRC AreaClass
LIBLINEAR1.0001.000 0.7871.0000.8810.0000.5000.787Y
0.0000.0000.0000.0000.0000.0000.5000.213N
LIBSVM1.0000.0110.9971.000 0.999 0.993 0.9950.997Y
0.9890.0001.0000.9890.9950.9930.9950.991N
SVM-RBF1.0000.0001.0001.0001.0001.0001.0001.000Y
1.0000.0001.0001.0001.0001.0001.0001.000N
LR1.0000.9510.8221.0000.9240.0000.6500.822Y
0.0000.0000.0000.0000.0000.0000.5850.265N

Share and Cite

MDPI and ACS Style

El-Sayed, H.; Sankar, S.; Daraghmi, Y.-A.; Tiwari, P.; Rattagan, E.; Mohanty, M.; Puthal, D.; Prasad, M. Accurate Traffic Flow Prediction in Heterogeneous Vehicular Networks in an Intelligent Transport System Using a Supervised Non-Parametric Classifier. Sensors 2018, 18, 1696. https://doi.org/10.3390/s18061696

AMA Style

El-Sayed H, Sankar S, Daraghmi Y-A, Tiwari P, Rattagan E, Mohanty M, Puthal D, Prasad M. Accurate Traffic Flow Prediction in Heterogeneous Vehicular Networks in an Intelligent Transport System Using a Supervised Non-Parametric Classifier. Sensors. 2018; 18(6):1696. https://doi.org/10.3390/s18061696

Chicago/Turabian Style

El-Sayed, Hesham, Sharmi Sankar, Yousef-Awwad Daraghmi, Prayag Tiwari, Ekarat Rattagan, Manoranjan Mohanty, Deepak Puthal, and Mukesh Prasad. 2018. "Accurate Traffic Flow Prediction in Heterogeneous Vehicular Networks in an Intelligent Transport System Using a Supervised Non-Parametric Classifier" Sensors 18, no. 6: 1696. https://doi.org/10.3390/s18061696

APA Style

El-Sayed, H., Sankar, S., Daraghmi, Y. -A., Tiwari, P., Rattagan, E., Mohanty, M., Puthal, D., & Prasad, M. (2018). Accurate Traffic Flow Prediction in Heterogeneous Vehicular Networks in an Intelligent Transport System Using a Supervised Non-Parametric Classifier. Sensors, 18(6), 1696. https://doi.org/10.3390/s18061696

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop