Classifying Driver Behavior Using Machine Learning: A Simple Approach to Detect Distracted and Aggressive Driving
DOI:
https://doi.org/10.47738/ijiis.v9i2.299Keywords:
Driver Behavior, Machine Learning, Random Forest, Support Vector Machine, Road SafetyAbstract
This study explores the use of ML models to classify driver behavior as either Distracted or Aggressive, using data derived from real-world driving scenarios. Two ML algorithms, Random Forest (RF) and Support Vector Machine (SVM), were applied to classify driver behavior based on key features such as brake_pressure, lane_deviation, and headway_distance. The RF model outperformed the SVM model, achieving an accuracy of 95% compared to 94% for SVM. The study demonstrates that brake_pressure and headway_distance are the most important features for detecting Aggressive driving, while lane_deviation is crucial for identifying Distracted driving. The findings suggest that RF is particularly effective in handling complex, high-dimensional data, providing accurate and reliable predictions. The results contribute to the advancement of road safety technologies by enhancing the detection of unsafe driving behaviors, which can be integrated into Advanced Driver Assistance Systems (ADAS) and autonomous vehicles. Future work should focus on expanding the dataset, integrating more diverse sensor data, and exploring more complex ML models, such as deep learning, to further improve classification accuracy and real-time performance in real-world applications.References
B. B. Gupta, A. Gaurav, K. Tai Chui, and V. Arya, “Deep Learning Model for Driver Behavior Detection in Cyber-Physical System-Based Intelligent Transport Systems,” IEEE Access, vol. 12, no. 1, pp. 62268–62278, 2024, doi: 10.1109/ACCESS.2024.3393909.
S. Fanai, E. Okyere, and K. Marfoh, “Behavior Change Interventions for Dangerous Driving Behavior in Low- and Middle-Income Countries: A Systematic Review of Interventions and Outcome Measurement Instruments,” Front. Public Heal., vol. 13, no. 1, pp. 1–15, 2025, doi: 10.3389/fpubh.2025.1597331.
K. Grinerud, “Work-Related Driving of Heavy Goods Vehicles: Factors That Influence Road Safety and the Development of a Framework for Safety Training,” Safety, vol. 8, no. 2, hal. 43, Jun 2022, doi: 10.3390/safety8020043.
S. Mittal, P. Korde, S. Palaniraja, N. Omase, P. Guchhait, and P. Mundra, “A Systematic Review on Recent Advancement in Electric Vehicle Technologies,” Int. Res. J. Eng. Appl. Sci., vol. 11, no. 4, pp. 37–44, 2023, doi: 10.55083/irjeas.2023.v11i04006.
B. Fu, Q. Shang, T. Sun, and S. Jia, “A Distracted Driving Detection Model Based on Driving Performance,” IEEE Access, vol. 11, no. 1, pp. 26624–26636, 2023, doi: 10.1109/ACCESS.2023.3257238.
D. Zhao, Y. Zhong, Z. Fu, J. Hou, and M. Zhao, “A Review for the Driving Behavior Recognition Methods Based on Vehicle Multisensor Information,” J. Adv. Transp., vol. 2022, no. 1, pp. 1–16, 2022, doi: 10.1155/2022/7287511.
M. M. Faisal, M. Varshini, and K. Muvedha, “YOLO-CNN Powered Real-Time Detection of Visual Distractions and Drowsiness in Drivers,” Int. J. Sci. Res. Comput. Sci. Eng. Inf. Technol., vol. 11, no. 4, pp. 94–101, 2025, doi: 10.32628/CSEIT2511150.
R. Saber, S. Ghoniemy, and M. Al-Qutt, “Driver Behavior Detection in Time Series Decade review,” Int. J. Intell. Comput. Inf. Sci., vol. 23, no. 3, pp. 114–140, 2023, doi: 10.21608/ijicis.2023.192999.1254.
T. Surapunt and S. Wang, “Ensemble Modeling with a Bayesian Maximal Information Coefficient-Based Model of Bayesian Predictions on Uncertainty Data,” Information, vol. 15, no. 4, pp. 228, 2024, doi: 10.3390/info15040228.
S. Yaqoob, G. Morabito, S. Cafiso, G. Pappalardo, and A. Ullah, “AI-Driven Driver Behavior Assessment Through Vehicle and Health Monitoring for Safe Driving—A Survey,” IEEE Access, vol. 12, no. 1, pp. 48044–48056, 2024, doi: 10.1109/ACCESS.2024.3383775.
M. Shariful Islam, M. Abu Tareq Rony, M. Safran, S. Alfarhood, and D. Che, “Elevating Driver Behavior Understanding with RKnD: A Novel Probabilistic Feature Engineering Approach,” IEEE Access, vol. 12, no. 1, pp. 65780–65798, 2024, doi: 10.1109/ACCESS.2024.3397725.
D. I. Tselentis and E. Papadimitriou, “Driver Profile and Driving Pattern Recognition for Road Safety Assessment: Main Challenges and Future Directions,” IEEE Open J. Intell. Transp. Syst., vol. 4, no. 1, pp. 83–100, 2023, doi: 10.1109/OJITS.2023.3237177.
X. Qiao, X. Li, W. Ma, and Y. Lu, “Longitudinal Motion Control Algorithm for Autonomous Vehicles Taking Decisions Based on the Preceding Vehicle Behavior Pattern,” Proc. Inst. Mech. Eng. Part D J. Automob. Eng., vol. 239, no. 12, pp. 5316–5335, 2025, doi: 10.1177/09544070251328792.
B. Mosleh, J. Hamdan, B. H. Sababha, and Y. A. Alqudah, “Embedded machine learning-based road conditions and driving behavior monitoring,” Int. J. Electr. Comput. Eng., vol. 14, no. 3, pp. 2571, 2024, doi: 10.11591/ijece.v14i3.pp2571-2582.
X. Wang, X. Tang, T. Fan, Y. Zhou, and X. Yang, “Commercial Truck Risk Assessment and Factor Analysis Based on Vehicle Trajectory and In-Vehicle Monitoring Data,” Transp. Res. Rec. J. Transp. Res. Board, vol. 2678, no. 12, pp. 1428–1443, 2024, doi: 10.1177/03611981241252148.
K. R. Reddy and A. Muralidhar, “Machine Learning-Based Road Safety Prediction Strategies for Internet of Vehicles (IoV) Enabled Vehicles: A Systematic Literature Review,” IEEE Access, vol. 11, no. 1, pp. 112108–112122, 2023, doi: 10.1109/ACCESS.2023.3315852.
M. Ganesan, S. Kandhasamy, B. Chokkalingam, and L. Mihet-Popa, “A Comprehensive Review on Deep Learning-Based Motion Planning and End-to-End Learning for Self-Driving Vehicle,” IEEE Access, vol. 12, no. 1, pp. 66031–66067, 2024, doi: 10.1109/ACCESS.2024.3394869.
A. Asperti and D. Filippini, “Deep Learning for Head Pose Estimation: A Survey,” SN Comput. Sci., vol. 4, no. 4, pp. 349, 2023, doi: 10.1007/s42979-023-01796-z.
E. A. Aldhahri, A. A. Almazroi, M. H. Alkinani, M. Alqarni, E. A. Alghamdi, and N. Ayub, “GNN-RMNet: Leveraging Graph Neural Networks and GPS Analytics for Driver Behavior and Route Optimization in Logistics,” PLoS One, vol. 20, no. 8, pp. e0328899, 2025, doi: 10.1371/journal.pone.0328899.
S. Hsieh, A. R. Wang, A. Madison, C. Tossell, and E. de Visser, “Adaptive Driving Assistant Model (ADAM) for Advising Drivers of Autonomous Vehicles,” ACM Trans. Interact. Intell. Syst., vol. 12, no. 3, pp. 1–28, 2022, doi: 10.1145/3545994.
J. Medarević, S. Tomažič, and J. Sodnik, “Simulation-Based Driver Scoring and Profiling System,” Heliyon, vol. 10, no. 22, pp. e40310, 2024, doi: 10.1016/j.heliyon.2024.e40310.
K. Kwakye, Y. Seong, S. Yi, and A. Aboah, “All You Need is Data: A Multimodal Approach in Understanding Driver Behavior,” Proc. Hum. Factors Ergon. Soc. Annu. Meet., vol. 68, no. 1, pp. 1298–1304, 2024, doi: 10.1177/10711813241275942.
G. Zhang, S. Wang, W. Feng, and W. Ouyang, “A novel major accidents evolution model and its application in Chinese industrial accident,” Heliyon, vol. 9, no. 9, pp. e19684, Sep 2023, doi: 10.1016/j.heliyon.2023.e19684.
N. Ashrafi, S. Yousefi, G. R. Aby, S. F. Issa, H. Darabi, K. Alaei, G. Placencia, and M. Pishgar, “AI-driven solutions to improve safety and health: Application of the REDECA framework for agricultural tractor drivers,” PLOS Glob. Public Heal., vol. 5, no. 6, hal. e0003543, Jun 2025, doi: 10.1371/journal.pgph.0003543.
C. Shen, B. Lei, C. Lu, and F. Zhou, “Research on the Effectiveness of Online Food Safety Supervision Under the Existence of Settled Enterprises’ Myopic Cognitive Bias,” Heliyon, vol. 9, no. 1, pp. e12784, 2023, doi: 10.1016/j.heliyon.2022.e12784.
W. Kao, Y. Fan, F.-R. Hsu, C.-Y. Shen, and L. Liao, “Next-Generation Swimming Pool Drowning Prevention Strategy Integrating AI and Iot Technologies,” Heliyon, vol. 10, no. 18, pp. e35484, 2024, doi: 10.1016/j.heliyon.2024.e35484.
S. Moshfeghi and J. Jang, “Pattern Mining of Older Drivers’ Driving Behavior Through Telematics-Data-Driven Unsupervised Learning,” IEEE Sens. J., vol. 25, no. 18, pp. 34894–34912, 2025, doi: 10.1109/JSEN.2025.3592817.
L. Pinals, F. Guo, K. Ahn, S. Madden, and H. Rakha, “Safe Driving Is Sustainable Driving: An Interpretable Telematics Methodology,” Transp. Res. Rec. J. Transp. Res. Board, vol. 2679, no. 11, pp. 221–233, 2025, doi: 10.1177/03611981251346774.
K. Strandberg, N. Nowdehi, and T. Olovsson, “A Systematic Literature Review on Automotive Digital Forensics: Challenges, Technical Solutions and Data Collection,” IEEE Trans. Intell. Veh., vol. 8, no. 2, pp. 1350–1367, 2023, doi: 10.1109/TIV.2022.3188340.
B. A. Manko, “Erie Insurance: Monitoring Technology in the Car Insurance Market and the Issue of Data Privacy,” J. Inf. Technol. Teach. Cases, vol. 13, no. 2, pp. 193–198, 2023, doi: 10.1177/20438869221117571.
Z. Elamrani Abou Elassad, M. Ameksa, D. Elamrani Abou Elassad, and H. Mousannif, “Efficient Fusion Decision System for Predicting Road Crash Events: A Comparative Simulator Study for Imbalance Class Handling,” Transp. Res. Rec. J. Transp. Res. Board, vol. 2678, no. 5, pp. 789–811, 2024, doi: 10.1177/03611981231192985.
V. M. Ampadu, M. T. Haq, and K. Ksaibati, “An Assessment of Machine Learning and Data Balancing Techniques for Evaluating Downgrade Truck Crash Severity Prediction in Wyoming,” J. Sustain. Dev. Transp. Logist., vol. 7, no. 2, pp. 6–24, 2022, doi: 10.14254/jsdtl.2022.7-2.1.
A. K. Mengistu, A. E. Gedefaw, N. D. Baykemagn, A. D. Walle, T. Z. Yehuala, M. A. Alemayehu, M. A. Messelu, and B. T. Assaye, “Predicting Car Accident Severity in Northwest Ethiopia: A Machine Learning Approach Leveraging Driver, Environmental, and Road Conditions,” Sci. Rep., vol. 15, no. 1, pp. 21913, 2025, doi: 10.1038/s41598-025-08005-2.
A. Das, M. N. Khan, and M. M. Ahmed, “Deep Learning Approach for Detecting Lane Change Maneuvers Using SHRP2 Naturalistic Driving Data,” Transp. Res. Rec. J. Transp. Res. Board, vol. 2677, no. 1, pp. 907–928, 2023, doi: 10.1177/03611981221103229.
W. Wang, L. Zhang, B. Yan, and Y. Cheng, “Development of a Surrogate Safety Measure for Evaluating Rear-End Collision Risk Perception,” Transp. Res. Rec. J. Transp. Res. Board, vol. 2679, no. 6, pp. 69–85, 2025, doi: 10.1177/03611981241311574.
S. Mukherjee, A. D. McDonald, S. Kesler, H. Cuevas, C. Swank, A. Stevens, T. K. Ferris, and V. Danesh, “Driving Among Individuals with Chronic Conditions: A Systematic Review of Applied Research Using Kinematic Driving Sensors,” J. Am. Geriatr. Soc., vol. 72, no. 4, pp. 1242–1251, 2024, doi: 10.1111/jgs.18738.
Z. Gao, M. Bao, T. Cui, F. Shi, X. Chen, W. Wen, F. Gao, and R. Zhao, “Collision Risk Assessment for Intelligent Vehicles Considering Multi-Dimensional Uncertainties,” IEEE Access, vol. 12, no. 1, pp. 57780–57795, 2024, doi: 10.1109/ACCESS.2024.3354383.
Y. Qu, Z. Li, Q. Liu, M. Pan, and Z. Zhang, “Crash/Near-Crash Analysis of Naturalistic Driving Data Using Association Rule Mining,” J. Adv. Transp., vol. 2022, no. 1, pp. 1–19, 2022, doi: 10.1155/2022/6562649.
Y. Liang, C. Chai, W. Yin, S. Weng, and Z. Yin, “Takeover Performance Prediction Based on Function-Based Causal Inference in Level-3 Autonomous Vehicles,” Transp. Res. Rec. J. Transp. Res. Board, vol. 2680, no. 1, pp. 396–415, 2026, doi: 10.1177/03611981251356997.
G. Xu, A. Saroj, C. (Ross) Wang, and Y. Shao, “Developing an Automated Microscopic Traffic Simulation Scenario Generation Tool,” Transp. Res. Rec. J. Transp. Res. Board, vol. 2679, no. 11, pp. 650–672, 2025, doi: 10.1177/03611981251349433.
S. Bouhsissin, N. Sael, and F. Benabbou, “Driver Behavior Classification: A Systematic Literature Review,” IEEE Access, vol. 11, no. 1, pp. 14128–14153, 2023, doi: 10.1109/ACCESS.2023.3243865.
J. Yarlagadda and D. S. Pawar, “Heterogeneity in the Driver Behavior: An Exploratory Study Using Real-Time Driving Data,” J. Adv. Transp., vol. 2022, no. 1, pp. 1–17, 2022, doi: 10.1155/2022/4509071.
P. Teixeira, S. Sargento, P. Rito, M. Luis, and F. Castro, “A Sensing, Communication and Computing Approach for Vulnerable Road Users Safety,” IEEE Access, vol. 11, no. 1, pp. 4914–4930, 2023, doi: 10.1109/ACCESS.2023.3235863.
Downloads
Published
Issue
Section
License
Authors who publish with IJIIS : International Journal on Informatics and Information Systems agree to the following terms: Authors retain copyright and grant the IJIIS : International Journal on Informatics and Information Systems right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (CC BY-SA 4.0) that allows others to share (copy and redistribute the material in any medium or format) and adapt (remix, transform, and build upon the material) the work for any purpose, even commercially with an acknowledgement of the work's authorship and initial publication in IJIIS : International Journal on Informatics and Information Systems. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in IJIIS : International Journal on Informatics and Information Systems. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).

