基于径向基函数 (RBF) 神经网络的麦基格拉斯时间序列预测(Matlab代码实现)

本文涉及的产品
云原生网关 MSE Higress,422元/月
注册配置 MSE Nacos/ZooKeeper,182元/月
MSE Nacos/ZooKeeper 企业版试用,1600元额度,限量50份
简介: 基于径向基函数 (RBF) 神经网络的麦基格拉斯时间序列预测(Matlab代码实现)

💥1 概述

在本文中,实现了一个径向基函数(RBF)神经网络,用于预测混沌时间序列预测。特别是设计了一种麦基格拉斯时间序列预测模型,该模型可以使用过去的时间样本预测前进几步的值。RBF 使用传统的梯度下降学习算法进行训练,核函数是从 K 均值聚类算法获得的中心和扩散的高斯核。


📚2 运行结果


部分代码:

%%  Results
% Input and output signals (training phase)
figure
plot(indt,f_train,'k','linewidth',lw);
hold on;
plot(indt,y_train,'.:b','linewidth',lw);
xlim([start_of_series_tr+time_steps end_of_series_tr]);
h=legend('Actual Value (Training)','RBF Predicted (Training)','Location','Best');
grid minor
xlabel('Sample #','FontSize',fsize);
ylabel('Magnitude','FontSize',fsize);
set(h,'FontSize',12)
set(gca,'FontSize',13)
saveas(gcf,strcat('Time_SeriesTraining.png'),'png')
% Input and output signals (test phase)
figure
plot(indts,f_test,'k','linewidth',lw);
hold on;
plot(indts,y_test,'.:b','linewidth',lw);
xlim([start_of_series_ts+time_steps end_of_series_ts]);
h=legend('Actual Value (Testing)','RBF Predicted (Testing)','Location','Best');
grid minor
xlabel('Sample #','FontSize',fsize);
ylabel('Magnitude','FontSize',fsize);
set(h,'FontSize',12)
set(gca,'FontSize',13)
saveas(gcf,strcat('Time_SeriesTesting.png'),'png')
% Objective function (MSE) (training phase)
figure
plot(start_of_series_tr:end_of_series_tr-1,10*log10(I(1:end_of_series_tr-start_of_series_tr)),'+-b','linewidth',lw)
h=legend('RBF (Training)','Location','North');
grid minor
xlabel('Sample #','FontSize',fsize);
ylabel('MSE (dB)','FontSize',fsize);
set(h,'FontSize',12)
set(gca,'FontSize',13)
saveas(gcf,strcat('Time_SeriesTrainingMSE.png'),'png')
% Objective function (MSE) (test phase)
figure
plot(start_of_series_ts+time_steps:end_of_series_ts,10*log10(I(end_of_series_tr-start_of_series_tr+1:end)),'.:b','linewidth',lw+1)
h=legend('RBF (Testing)','Location','South');
grid minor
xlabel('Sample #','FontSize',fsize);
ylabel('MSE (dB)','FontSize',fsize);
set(h,'FontSize',12)
set(gca,'FontSize',13)
saveas(gcf,strcat('Time_SeriesTestingMSE.png'),'png')
% Mean square error
10*log10(((f_train'-y_train)*(f_train'-y_train)')/length(y_train))
10*log10(((f_test'-y_test)*(f_test'-y_test)')/length(y_test))

🎉3 参考文献

[1]Shujaat Khan (2022). Mackey Glass Time Series Prediction using Radial Basis Function (RBF) Neural Network.

🌈4 Matlab代码实现

回复:基于径向基函数 (RBF) 神经网络的麦基格拉斯时间序列预测

相关文章
|
2月前
|
算法 定位技术 计算机视觉
【水下图像增强】基于波长补偿与去雾的水下图像增强研究(Matlab代码实现)
【水下图像增强】基于波长补偿与去雾的水下图像增强研究(Matlab代码实现)
110 0
|
2月前
|
机器学习/深度学习 算法 机器人
使用哈里斯角Harris和SIFT算法来实现局部特征匹配(Matlab代码实现)
使用哈里斯角Harris和SIFT算法来实现局部特征匹配(Matlab代码实现)
143 8
|
2月前
|
机器学习/深度学习 编解码 算法
基于OFDM技术的水下声学通信多径信道图像传输研究(Matlab代码实现)
基于OFDM技术的水下声学通信多径信道图像传输研究(Matlab代码实现)
136 8
|
3月前
|
机器学习/深度学习 算法 调度
14种智能算法优化BP神经网络(14种方法)实现数据预测分类研究(Matlab代码实现)
14种智能算法优化BP神经网络(14种方法)实现数据预测分类研究(Matlab代码实现)
338 0
|
3月前
|
机器学习/深度学习 传感器 算法
【无人车路径跟踪】基于神经网络的数据驱动迭代学习控制(ILC)算法,用于具有未知模型和重复任务的非线性单输入单输出(SISO)离散时间系统的无人车的路径跟踪(Matlab代码实现)
【无人车路径跟踪】基于神经网络的数据驱动迭代学习控制(ILC)算法,用于具有未知模型和重复任务的非线性单输入单输出(SISO)离散时间系统的无人车的路径跟踪(Matlab代码实现)
208 2
|
2月前
|
机器学习/深度学习 数据采集 存储
概率神经网络的分类预测--基于PNN的变压器故障诊断(Matlab代码实现)
概率神经网络的分类预测--基于PNN的变压器故障诊断(Matlab代码实现)
273 0
|
3月前
|
机器学习/深度学习 并行计算 算法
【CPOBP-NSWOA】基于豪冠猪优化BP神经网络模型的多目标鲸鱼寻优算法研究(Matlab代码实现)
【CPOBP-NSWOA】基于豪冠猪优化BP神经网络模型的多目标鲸鱼寻优算法研究(Matlab代码实现)
|
3月前
|
机器学习/深度学习 缓存 算法
2025年华为杯A题|通用神经网络处理器下的核内调度问题研究生数学建模|思路、代码、论文|持续更新中....
2025年华为杯A题|通用神经网络处理器下的核内调度问题研究生数学建模|思路、代码、论文|持续更新中....
400 1
|
3月前
|
机器学习/深度学习 传感器 算法
【表面粗糙度】基于粒子群PSO算法优化-BP神经网络的表面粗糙度研究(Matlab代码实现)
【表面粗糙度】基于粒子群PSO算法优化-BP神经网络的表面粗糙度研究(Matlab代码实现)
223 7
|
3月前
|
机器学习/深度学习 传感器 分布式计算
基于模糊RBF神经网络轨迹跟踪研究(Matlab代码实现)
基于模糊RBF神经网络轨迹跟踪研究(Matlab代码实现)
187 1