Guest User

Untitled

a guest
Aug 16th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. Create vector for each column of a matrix and also construct the matrix but with that column removed
  2. predicted = zeros(size(data));
  3. for i = 1:size(data, 2)
  4. target = data(:, i);
  5. training_input = data;
  6. training_input(:, i) = [];
  7. // assuming the following function returns a column of 2500x1
  8. // given training_input of size 2500x49 and target 2500x1
  9. predicted(:, i) = pseudo_neural(training_input, target);
  10. out_colheaders{i} = ['Predicted_' colheaders{i}];
  11. end
Add Comment
Please, Sign In to add comment