文件名称:ELM
介绍说明--下载内容均来自于网络,请自行研究使用
训练集/测试集产生
load spectra_data.mat
随机产生训练集和测试集
temp = randperm(size(NIR,1))
训练集——50个样本
P_train = NIR(temp(1:50),:)
T_train = octane(temp(1:50),:)
测试集——10个样本
P_test = NIR(temp(51:end),:)
T_test = octane(temp(51:end),:)
N = size(P_test,2)
数据归一化
- Training set/test set generation load spectra_data.mat randomly generated training set and test set temp = randperm (size (NIR, 1)) training set- 50 samples P_train = NIR (temp (1:50) ,:)' T_train = octane (temp (1:50 ),:)' test set- 10 samples P_test = NIR (temp (51: end ),:)' T_test = octane (temp (51 : end ),:)' N = size (P_test, 2) Data Normalization
load spectra_data.mat
随机产生训练集和测试集
temp = randperm(size(NIR,1))
训练集——50个样本
P_train = NIR(temp(1:50),:)
T_train = octane(temp(1:50),:)
测试集——10个样本
P_test = NIR(temp(51:end),:)
T_test = octane(temp(51:end),:)
N = size(P_test,2)
数据归一化
- Training set/test set generation load spectra_data.mat randomly generated training set and test set temp = randperm (size (NIR, 1)) training set- 50 samples P_train = NIR (temp (1:50) ,:)' T_train = octane (temp (1:50 ),:)' test set- 10 samples P_test = NIR (temp (51: end ),:)' T_test = octane (temp (51 : end ),:)' N = size (P_test, 2) Data Normalization
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ELM.txt