| Literature DB >> 35494874 |
Imen Ferjani1, Suleiman Ali Alsaif1.
Abstract
Road condition monitoring is essential for improving traffic safety and reducing accidents. Machine learning methods have recently gained prominence in the practically important task of controlling road surface quality. Several systems have been proposed using sensors, especially accelerometers present in smartphones due to their availability and low cost. However, these methods require practitioners to specify an exact set of features from all the sensors to provide more accurate results, including the time, frequency, and wavelet-domain signal features. It is important to know the effect of these features change on machine learning model performance in handling road anomalies classification tasks. Thus, we address such a problem by conducting a sensitivity analysis of three machine learning models which are Support Vector Machine, Decision Tree, and Multi-Layer Perceptron to test the effectiveness of the model by selecting features. We built a feature vector from all three axes of the sensors that boosts classification performance. Our proposed approach achieved an overall accuracy of 94% on four types of road anomalies. To allow an objective analysis of different features, we used available accelerometer datasets. Our objective is to achieve a good classification performance of road anomalies by distinguishing between significant and relatively insignificant features. Our chosen baseline machine learning models are based on their comparative simplicity and powerful empirical performance. The extensive analysis results of our study provide practical advice for practitioners wishing to select features effectively in real-world settings for road anomalies detection. ©2022 Ferjani et al.Entities:
Keywords: Decision tree; Features selection; Frequency domain; Machine learning; Multi layer perceptron; Road anomalies detection; Support vector machine; Time domain; Wavelet
Year: 2022 PMID: 35494874 PMCID: PMC9044339 DOI: 10.7717/peerj-cs.941
Source DB: PubMed Journal: PeerJ Comput Sci ISSN: 2376-5992
Figure 1A general flow of machine learning based approach for road anomalies detection.
Features summary.
| Domain | Feature name | Symbol |
|---|---|---|
| Time | Mean | µ |
| Integral square | IS | |
| Variance | Var | |
| Standard deviation |
| |
| Median | 30 Med | |
| Range | Rg | |
| Root Mean Square | RMS | |
| Entropy | Ent | |
| Frequency | Spectrum Energy | SE |
| Median Frequency | MF | |
| Mean Power | MP | |
| Peak Magnitude | PM | |
| Minimum Magnitude | MM | |
| Total Power | TP | |
| Discrete Cosine | DC | |
| Wavelet | Five levels - Daubechies 2 | cD |
The dataset generated with Pothole Lab (Carlos et al., 2018).
| Anomaly | Training set | Testing set |
|---|---|---|
| Potholes | 362 | 155 |
| Metal speed bumps | 324 | 139 |
| Asphalt speed bumps | 427 | 184 |
The real dataset used (Gonzlez et al., 2017).
| Anomaly | Training set | Testing set |
|---|---|---|
| Potholes | 70 | 30 |
| Metal bumps | 70 | 30 |
| Asphalt bumps | 70 | 30 |
| Worn out road | 70 | 30 |
| Regular road | 70 | 30 |
Accuracy (%) of our machine learning models according to accelerometer axes used.
| Model | (X-Y) axis | (X-Z) axis | (Y-Z) axis | (X-Y-Z) axis | |||
|---|---|---|---|---|---|---|---|
| SVM | 87% | 93% | 93% | ||||
| DT | 81% | 83% | 87% | 83% | 80% | 93% | |
| MLP | 84% | 85% | 82% | 85% | 93% |
Figure 2Effect of the overlapping window size using only Z-axis for: (A) DB1, (B) DB2.
Performance evaluation of our machine learning models according to domain feature used (without domain combination).
| Simulated data | Real data | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Model | Accuracy | Precision | Recall | F1 | Accuracy | Precision | Recall | F1 | |
| Time | SVM |
| 0.77 | 0.30 | 0.33 | 0.43 | 0.38 | 0.32 | 0.28 |
| DT | 0.87 | 0.56 | 0.55 | 0.55 | 0.36 | 0.33 | 0.33 | 0.33 | |
| MLP |
| 0.43 | 0.35 | 0.38 |
| 0.42 | 0.37 | 0.35 | |
| Frequency | SVM |
| 0.74 | 0.26 | 0.26 | 0.29 | 0.21 | 0.20 | 0.16 |
| DT | 0.83 | 0.42 | 0.42 | 0.42 |
| 0.30 | 0.30 | 0.30 | |
| MLP |
| 0.27 | 0.25 | 0.24 | 0.24 | 0.04 | 0.2 | 0.07 | |
| Wavelet | SVM | 0.89 | 0.59 | 0.39 | 0.41 | 0.48 | 0.46 | 0.38 | 0.36 |
| DT | 0.85 | 0.49 | 0.51 | 0.49 | 0.38 | 0.34 | 0.34 | 0.34 | |
| MLP |
| 0.69 | 0.42 | 0.45 |
| 044 | 0.39 | 0.37 | |
Performance evaluation of our machine learning models according to domain feature used (with domain combination).
| Simulated data | Real data | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Model | Accuracy | Precision | Recall | F1 | Accuracy | Precision | Recall | F1 | |
| T + F | SVM | 0.86 | 0.75 | 0.26 | 0.26 | 0.29 | 0.21 | 0.20 | 0.16 |
| DT | 0.86 | 0.51 | 0.51 | 0.51 | 0.36 | 0.33 | 0.33 | 0.33 | |
| MLP | 0.86 | 0.33 | 0.25 | 0.24 | 0.24 | 0.04 | 0.2 | 0.07 | |
| T + W | SVM | 0.89 | 0.59 | 0.39 | 0.41 | 0.49 | 0.48 | 0.40 | 0.38 |
| DT | 0.88 | 0.55 | 0.57 | 0.56 | 0.42 | 0.39 | 0.39 | 0.39 | |
| MLP |
| 0.67 | 0.42 | 0.47 |
| 0.54 | 0.44 | 0.44 | |
| F + W | SVM | 0.87 | 0.94 | 0.28 | 0.30 | 0.30 | 0.22 | 0.20 | 0.14 |
| DT | 0.86 | 0.49 | 0.50 | 0.49 | 0.40 | 0.36 | 0.35 | 0.35 | |
| MLP | 0.87 | 0.54 | 0.27 | 0.27 | 0.34 | 0.34 | 0.28 | 0.21 | |
| T + F + W | SVM | 0.87 | 0.94 | 0.28 | 0.30 | 0.30 | 0.22 | 0.20 | 0.14 |
| DT | 0.87 | 0.53 | 0.56 | 0.54 | 0.42 | 0.39 | 0.39 | 0.39 | |
| MLP | 0.87 | 0.57 | 0.47 | 0.47 | 0.42 | 0.30 | 0.30 | 0.25 | |
Figure 3Averaged Confusion matrices of MLP with wavelet and time features (using only Z-axis) for: (A) DB1, (B) DB2.
Accuracy comparison between the best classifier reported in this work and works from the literature.
| Reference | Anomalies detected | Technique | Accuracy average |
|---|---|---|---|
|
| Potholes | Threshold | 92.4% |
|
| Pothole, Bumps, Rough, Smooth uneven | Threshold | 85.6% |
|
| potholes, speed bumps, metal humps, rough roads | ANN, Logistic regression | 86% |
|
| Potholes, Metal bumps, Asphalt bumps, Regular road, Worn out road | ANN, SVM, DT, RF, NB, KR, KNN | 93.8% |
|
| speed-breakers, potholes, broken road patches | Decision tree | 93% |
|
| Potholes, Metal speed bumps, Asphalt speed bumps | MLP, DT, SVM |
|