【信号处理】使用CNN对RF调制信号进行分类

Modulation Classification

Using CNN to classify RF modulation data.

Dataset is from: DATA LINK

paper: Over the Air Deep Learning Based Radio Signal Classification

Data Preprocessing

Data is processed. Column data are a two variable label composed of the Modulation and SNR, Row 0 is the binary encoded version of the Modulation and SNR, Row 1 is the actual data, each column is a 2, 128 array of I and Q data for the specified Modulation and SNR in the column label.

Build the CNN

python 复制代码
from keras.models import Sequential
from keras.layers import Dense, Activation, Dropout, Conv1D, MaxPooling1D, GlobalAveragePooling1D, Flatten

verbose, epochs, batch_size = 1, 256, 1024
n_timesteps, n_features, n_outputs = xTrain.shape[1], xTrain.shape[2], yTrain.shape[1]
print('timesteps=', n_timesteps, 'features=', n_features, 'outputs=', n_outputs)
model = Sequential()
model.add(Conv1D(filters=64, kernel_size=3, activation='relu', input_shape=(n_timesteps, n_features)))
model.add(Conv1D(filters=64, kernel_size=3, activation='relu'))
model.add(Dropout(0.5))
model.add(MaxPooling1D(pool_size=2))
model.add(Flatten())
model.add(Dense(100, activation='relu'))
model.add(Dense(n_outputs, activation='softmax'))
model.compile(loss='categorical_crossentropy', optimizer='adam', metrics=['accuracy'])
#model.compile(RAdam(), loss='categorical_crossentropy', metrics=['accuracy'])
print(model.summary())
相关推荐
tongxianchao8 小时前
UPDP: A Unified Progressive Depth Pruner for CNN and Vision Transformer
人工智能·cnn·transformer
AndrewHZ21 小时前
【图像处理基石】什么是神经渲染?
图像处理·人工智能·神经网络·算法·cnn·计算机图形学·神经渲染
yy_xzz21 小时前
003 卷积神经网络(CNN)-- 原理到实践
人工智能·神经网络·cnn
玖日大大1 天前
基于卷积神经网络的图像分类实践与原理解析
人工智能·分类·cnn
2501_941333101 天前
基于YOLO11-CA-HSFPN的人体姿态识别与姿势分类改进方法详解
人工智能·分类·数据挖掘
hweiyu001 天前
查找算法:分类及特点
算法·分类
Loacnasfhia91 天前
珊瑚形态识别与分类:基于YOLOv8-EfficientHead的14种珊瑚生长形态自动检测系统
yolo·分类·数据挖掘
Das11 天前
【计算机视觉】08_识别分类
人工智能·计算机视觉·分类
后端小张1 天前
【AI 学习】深入解析卷积神经网络(CNN):理论、实现与应用
人工智能·深度学习·神经网络·opencv·学习·自然语言处理·cnn
Salt_07282 天前
DAY44 简单 CNN
python·深度学习·神经网络·算法·机器学习·计算机视觉·cnn