【信号处理】使用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())
相关推荐
MARIN_shen4 小时前
Marin说PCB之电容物料的替换经验总计--03
嵌入式硬件·硬件工程·信号处理·pcb工艺
MARIN_shen5 小时前
Marin说PCB之电容物料的替换经验总计--01
单片机·嵌入式硬件·硬件工程·信号处理·pcb工艺
m0_462605226 小时前
第N8周:使用Word2vec实现文本分类
人工智能·分类·word2vec
XINVRY-FPGA8 小时前
EP4CE30F23I7N Altera Cyclone IV E SRAM FPGA
嵌入式硬件·fpga开发·云计算·硬件工程·信息与通信·信号处理·fpga
碧海银沙音频科技研究院10 小时前
CLIP(对比语言-图像预训练)在长尾图像分类应用
python·深度学习·分类
lanbo_ai11 小时前
基于深度学习的宠物猫品种识别系统,resnet50,alexnet,mobilenet【pytorch框架,python代码】
人工智能·pytorch·python·深度学习·cnn
极客BIM工作室12 小时前
详解 KL 散度的反向传播计算:以三分类神经网络为例
神经网络·机器学习·分类
自然语12 小时前
数字生已经进化到一个分水岭面临选择?先实现“动态识别“还是先实现“特征信息归纳分类“,文中给出以给出答案,大家选哪个方向?
人工智能·分类·数据挖掘
田里的水稻13 小时前
DL_神经网络在MLP、CNN和RNN(LSTM)之后(至2025)的发展
rnn·神经网络·cnn
R-G-B14 小时前
【P19 机器学习-分类算法及应用实践】手写数字识别(KNN)
python·机器学习·分类·手写数字识别·knn算法