Skip to content

RY18coder/5g_QoS_Prediction_System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

24 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ก Intelligent QoS Prediction for 5G Network Slices using Machine Learning

๐Ÿš€ Overview

This project presents an AI-powered system for predicting and optimizing Quality of Service (QoS) in 5G network slices. It leverages machine learning models to forecast network performance metrics and provide actionable recommendations for improving QoS in real-time. The system is deployed as an interactive web application using Streamlit, enabling users to simulate network conditions and analyze their impact on QoS.

๐ŸŽฏ Problem Statement Traditional network management systems are reactive and fail to detect subtle performance degradations (e.g., jitter, latency spikes) in dynamic 5G environments. This project addresses: Lack of predictive QoS monitoring Inability to detect โ€œgrey failuresโ€ No intelligent decision-support system

๐Ÿ’ก Solution We propose a predictive + advisory system that: Predicts QoS using machine learning Classifies network performance (High / Medium / Low) Identifies 5G slice types (eMBB, URLLC, mMTC) Provides optimization recommendations Enables real-time simulation via web app

๐Ÿง  Machine Learning Models Used Linear Regression Random Forest (Best performing) Gradient Boosting ๐Ÿ“Š Model Performance

Model Rยฒ Score Linear Regression: 0.7587 Random Forest: 0.9460 Gradient Boosting: 0.9398 Random Forest achieved the highest accuracy and was selected for deployment.

โš™๏ธ Features ๐Ÿ”ฎ QoS Prediction Predicts network QoS based on input parameters: Speed SNR (Signal-to-Noise Ratio) MCS (Modulation Coding Scheme) Resource Blocks ๐Ÿ“ก 5G Slice Classification Automatically identifies slice type: eMBB โ†’ High throughput URLLC โ†’ Low latency mMTC โ†’ IoT devices โšก QoS Categorization HIGH โ†’ Optimal performance MEDIUM โ†’ Acceptable performance LOW โ†’ Needs improvement ๐Ÿ’ก AI-Based Recommendations Provides actionable suggestions such as: Increase signal strength (SNR) Allocate more resource blocks Improve modulation scheme ๐Ÿ“ˆ Real-Time Simulation Interactive dashboard allows: Parameter tuning via sliders Live QoS updates Sensitivity analysis graphs ๐Ÿ” What-If Simulator Simulates improvements: Compare current vs improved QoS Visualize performance gain Decision-support system

๐ŸŒ Web Application The system is deployed using: Streamlit Run Locally Bash pip install -r requirements.txt python -m streamlit run app.py ๐Ÿ“ Project Structure

5g_qos_prediction_system/ โ”‚ โ”œโ”€โ”€ app.py # Streamlit web app โ”œโ”€โ”€ rf_model.pkl # Trained ML model โ”œโ”€โ”€ requirements.txt # Dependencies โ”œโ”€โ”€ train.csv # Dataset (optional) โ””โ”€โ”€ README.md # Project documentation

๐Ÿ› ๏ธ Tech Stack Python Pandas NumPy scikit-learn Matplotlib Joblib Streamlit

๐Ÿ“Š Key Insights QoS is highly influenced by: Signal strength (SNR) Resource allocation (RBs) Modulation scheme (MCS) Tree-based models outperform linear models due to non-linear network behavior Different 5G slices exhibit distinct QoS characteristics

๐Ÿ† Results Achieved Rยฒ score of 0.94 using Random Forest Successfully built a real-time QoS prediction system Implemented interactive AI dashboard Enabled proactive network optimization

๐Ÿ”ฎ Future Scope Integration with real-time telecom data Deployment in edge computing environments Advanced explainability using SHAP Integration with network orchestration systems

๐Ÿ“Œ Conclusion This project demonstrates how AI can transform 5G network management from reactive to proactive by predicting QoS and enabling intelligent decision-making.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages