This project dives into Rayleigh fading channels for Non-Orthogonal Multiple Access (NOMA) users. ๐ก Leveraging Monte Carlo simulations, it explores signal detection across different Signal-to-Noise Ratios (SNRs). ๐ Plus, we harness the power of Machine Learning to boost signal detection capabilities.
- numpy: For number crunching ๐ข.
- pandas: Expert at data handling and manipulation ๐.
- matplotlib: Our go-to for stunning visualizations and plots ๐.
- scipy: A powerhouse for scientific computing, essential for interpolation ๐ฌ.
- scikit-learn: The brain behind our Machine Learning models ๐ค.
- Monte Carlo iterations:
num_iter = 10000
- NOMA users:
N = 2
- Power allocations:
a1, a2 = 0.8, 0.2
- Sampled length:
S = 4096
- False-alarm probability:
Pf = 0.1
- Environmental SNR range: -25dB to 5dB ๐.
- Transmitter power:
transmitter_power = 1
Utilizing the Monte Carlo simulation, we:
- Craft NOMA signals with random cyclic delays ๐.
- Merge these to form our transmitted signal ๐ถ.
- Stir in Rayleigh distributed noise for realism ๐ช๏ธ.
- Detect NOMA signals with cyclic correlation ๐.
We train three ML champions:
- Logistic Regression (LR)
- Random Forest (RF)
- Decision Tree (DT)
They're on a mission to spot NOMA signals. We assess their prowess using the ROC curve, eyeing the True Positive Rate (TPR) against a False Positive Rate (FPR) of 0.1.
We plot Detection Probability vs. Environmental SNR, showcasing:
- Classic signal detection (sans ML) ๐ฆ
- Logistic Regression (LR) ๐
- Random Forest (RF) ๐ณ
- Decision Tree (DT) ๐ฒ
- Clone our repository using
git clone https://github.com/suyashvsingh/NOMA-ML-Spectrum-Detection-CIoT.git
๐. - Install the dependencies using
pip install -r requirements.txt
๐ฆ. - Fire up the notebook for an epic plot showdown: traditional vs ML-augmented detection under varied SNRs ๐.
A stunning graph, "Probability of Detection vs. Environmental SNR," awaits you. It pits traditional detection against our ML trio, LR, RF, and DT, focusing on TPR at a steady FPR of 0.1.
Jump into:
- Turbocharge the Monte Carlo simulation โ๏ธ.
- Bring in cutting-edge ML algorithms ๐ง .
- Elevate our visualization game ๐จ.
Note: For the whole story and deep insights, explore the notebook ๐.