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)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!