Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Create vector for each column of a matrix and also construct the matrix but with that column removed
- predicted = zeros(size(data));
- for i = 1:size(data, 2)
- target = data(:, i);
- training_input = data;
- training_input(:, i) = [];
- // assuming the following function returns a column of 2500x1
- // given training_input of size 2500x49 and target 2500x1
- predicted(:, i) = pseudo_neural(training_input, target);
- out_colheaders{i} = ['Predicted_' colheaders{i}];
- end
Add Comment
Please, Sign In to add comment