Skip to main content

xinyan yang

First Name
xinyan
Last Name
yang

Dataset Entries from this Author

clc; Clear Close all LSTM prediction tic Load origin_data.mat Load emd_data.mat Load KPCA_data.mat disp(‘⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯’) disp(‘Single LSTM prediction’) disp(‘⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯’) num_samples = length(X); % number of samples kim = 5; % delay step (kim historical data as independent variable) zim = 1; % Predict across zim time points or_dim = size(X,2); % Reconstruct the dataset i = 1: num_samples - kim - zim + 1 res(i, :) = [reshape(X(i: i + kim - 1, :), 1, kim*or_dim), X(i + kim + zim - 1, :)]; End. % Training and test se
Categories: