GithubHelp home page GithubHelp logo

gracebaoxp / automatic-modulation-classification Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jiefangd/automatic-modulation-classification

0.0 1.0 0.0 87.9 MB

Accumulated Polar Feature-based Deep Learning for Automatic Modulation Classification

MATLAB 32.38% Python 67.62%

automatic-modulation-classification's Introduction

Deep Learning for Automatic Modulation Classification

We propose an efficient and lightweight convolutional neural network (CNN) for the task of automatic modulation classification (AMC). Before sending the received signal into our CNN model, we transform the signal to image domain with the proposed accumulated polar feature. It significantly improves the prediction accuracy and makes it more robust under fading channel. We provide the source code for the implementation of conventional approaches (Maximum Likelihood and Cumulant) and our deep learning based approaches. Hope this code is useful for peer researchers. If you use this code or parts of it in your research, please kindly cite our paper:


Required Packages

  • python 3.6.5
  • numpy 1.16.4
  • tensorflow 1.14.0
  • keras 2.2.5
  • Matlab R2017a

Source Code

Matlab

  • Test_ML.m: test the conventional likelohood-based approach of maximum likelihood (ML) and hybrid likelihood ratio test (HLRT)

    • Adjust the use of ML or HLRT
    • MaximunLikelihood.m
    • HybridLRT.m: set the preferred searching space for amplitude and phase
  • Test_Cumu.m: test the conventional feature-based approach of cumulant

    • Cumulant.m: adjust the feature used for the classification
  • AMC_raw.m: generate the training data for NN model and visualize the figure used in our paper

    • sig2pic.m: transform the received signal to image
    • sig2pic_accu.m: transform the received signal to image with historical information
    • sig2pic_gaussian.m: transform the received signal to image by Gaussian distribution

Python

  • classify_cnn_pic.py: transform the received signal to image in I/Q domain and train CNN model

    • python3 classify_cnn_pic.py [training data] [testing data] [model size]
      • e.g.: python3 classify_cnn_pic.py ../Data/raw1000_1000_8.mat ../Data/raw500_1000_8.mat 2
  • classify_cnnpolar_pic.py: transform the received signal to image in polar domain and train CNN model

    • Adjust whether using Gaussian distribution to generate image
    • python3 classify_cnnpolar_pic.py [training data] [testing data] [model size]
      • e.g.: python3 classify_cnnpolar_pic.py ../Data/raw1000_1000_8.mat ../Data/raw500_1000_8.mat 2
  • util.py

    • Adjust the generated image with accumulated information or not

Contact Information

automatic-modulation-classification's People

Contributors

jiefangd 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.