Git Product home page Git Product logo

noma-ml-spectrum-detection-ciot's Introduction

๐ŸŒ Feature-Based Spectrum Sensing in NOMA for Cognitive IoT Networks with Optimal ML Classifiers

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.

๐Ÿ“š Libraries and Dependencies

  • 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 ๐Ÿค–.

๐Ÿ”ข Constants and Parameters

  • 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

๐Ÿ“ก Data Generation & Signal Detection

Utilizing the Monte Carlo simulation, we:

  1. Craft NOMA signals with random cyclic delays ๐Ÿ”„.
  2. Merge these to form our transmitted signal ๐Ÿ“ถ.
  3. Stir in Rayleigh distributed noise for realism ๐ŸŒช๏ธ.
  4. Detect NOMA signals with cyclic correlation ๐Ÿ”.

๐Ÿค– Machine Learning Insights

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.

๐Ÿ“Š Visual Mastery

We plot Detection Probability vs. Environmental SNR, showcasing:

  • Classic signal detection (sans ML) ๐Ÿšฆ
  • Logistic Regression (LR) ๐Ÿ“ˆ
  • Random Forest (RF) ๐ŸŒณ
  • Decision Tree (DT) ๐ŸŒฒ

๐Ÿš€ Running the Show

  1. Clone our repository using git clone https://github.com/suyashvsingh/NOMA-ML-Spectrum-Detection-CIoT.git ๐Ÿ“‚.
  2. Install the dependencies using pip install -r requirements.txt ๐Ÿ“ฆ.
  3. Fire up the notebook for an epic plot showdown: traditional vs ML-augmented detection under varied SNRs ๐Ÿ“‰.

๐Ÿ“ˆ The Results

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.

๐Ÿค Join the Mission

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 ๐Ÿ“˜.

noma-ml-spectrum-detection-ciot's People

Contributors

suyashvsingh avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.