时序预测 | MATLAB实现SA-ELM模拟退火算法优化极限学习机时间序列预测
目录
- 时序预测 | MATLAB实现SA-ELM模拟退火算法优化极限学习机时间序列预测
- 预测效果
- 基本介绍
- 程序设计
- 参考资料
预测效果
基本介绍
MATLAB实现SA-ELM模拟退火算法优化极限学习机时间序列预测
程序设计
- 完整程序和数据获取方式:私信博主回复 MATLAB实现SA-ELM模拟退火算法优化极限学习机时间序列预测。
%-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
clc;clear;
warning off;
load data
nwhole=length(data); %计算数据长度
train_ratio=0.9;
ntrain=round(nwhole*train_ratio);
ntest =nwhole-ntrain+4;
nntest =nwhole-ntrain;
%% ----------------------------------------------------------------------------------------------------------------------------