Railway ticket confirmation prediction: a machine learning–based railway ticket confirmation prediction system with a React and FastAPI web interface
Author(s): Richa Tiwari, A. Manoj Kumar, J. Gowtham, K. Ravi Kiran, G. Ganesh
Authors Affiliations:
- Assistant Professor, Department of CSD, Hyderabad Institute of Technology and Management, Telangana, India.
- Undergraduate Student, Department of CSD, Hyderabad Institute of Technology and Management, Telangana, India.
- Undergraduate Student, Department of CSD, Hyderabad Institute of Technology and Management, Telangana, India.
- Undergraduate Student, Department of CSD, Hyderabad Institute of Technology and Management, Telangana, India.
- Undergraduate Student, Department of CSD, Hyderabad Institute of Technology and Management, Telangana, India.
Railway ticket confirmation is a major concern for passengers, especially when tickets are booked on the waiting list. Existing booking systems mainly display the current ticket status and offer little help in judging whether a ticket will eventually be confirmed. This paper presents RailPredict, a Machine Learning system that predicts whether a railway ticket is likely to be Confirmed or Not Confirmed from booking and journey details such as source and destination, class, quota, booking and journey dates, number and age of passengers, booking channel, and travel distance. The system has two pipelines: a model training pipeline, which covers data collection, preprocessing, feature engineering, model training with a Random Forest classifier, and model persistence; and a prediction pipeline, in which a React frontend sends user input through a REST API to a FastAPI backend that preprocesses the input, loads the trained model, and returns the predicted status together with a confirmation probability. The system is intended to reduce uncertainty for passengers and to support better travel and booking decisions.
Richa Tiwari, A. Manoj Kumar, J. Gowtham, K. Ravi Kiran, G. Ganesh (2026); Railway ticket confirmation prediction: a machine learning–based railway ticket confirmation prediction system with a React and FastAPI web interface, International Journal for Innovative Research in Multidisciplinary Field, ISSN(O): 2455-0620, Vol-12, Issue-11, Available on – https://www.ijirmf.com/
1. Khan, R. F., Kumar, H., Singh, K., & Yadav, S. (2024). Train waitlisted ticket confirmation prediction using machine learning. IEEE. https://ieeexplore.ieee.org/document/10918548
2. Parihar, M., & Dasari, N. (2019). Using intelligent communication system (ICT) to solve a problem of enroute confirmation of wait listed tickets in Indian Railways. IEEE. https://ieeexplore.ieee.org/document/8969018
3. Deo, A., Raythatha, D., Butaney, I., Syed, K., Aggarwal, P., & Parihar, M. (2025). Implementation of a deep learning-based ICT model to solve the problem of enroute confirmation of waitlisted tickets in Indian Railways. Springer. https://doi.org/10.1007/978-981-96-3352-4_23
4. Tarani, M., & Gurrala, D. (2026). Railway reservation system using machine learning. International Scientific Journal of Engineering and Management. https://doi.org/10.55041/ISJEM08073
5. Boltaikhanova, T., Dael, F. A., Shayea, I., & Rzayeva, L. (2024). Data-driven strategies for improving railway ticket demand forecasting accuracy. IEEE. https://ieeexplore.ieee.org/document/10847408
6. Varshavskiy, I. E., Stavinova, E., & Chunaev, P. (2022). Forecasting railway ticket demand with search query open data. Procedia Computer Science. https://doi.org/10.1016/j.procs.2022.10.215
7. Cao, W., Li, C., Tao, H., Lv, L., Chen, Z., & Xu, Y. (2024). Forecast analysis of railway passenger flow based on time series analysis and LSTM. IEEE. https://ieeexplore.ieee.org/document/10874310

