Skip to content

Commit

Permalink
Added status messages
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewreyna committed Jul 3, 2019
1 parent 25e015f commit 64ba0b5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions driver.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,15 @@ function driver(input_directory, output_directory)
end

% Load model.
disp('Loading sepsis model...')
model = load_sepsis_model();

% Iterate over files.
disp('Predicting sepsis labels...')
num_files = length(files);
for i = 1:num_files
disp([' ', num2str(i), '/', num2str(num_files), '...'])

% Load data.
input_file = fullfile(input_directory, files{i});
data = load_challenge_data(input_file);
Expand All @@ -36,6 +40,8 @@ function driver(input_directory, output_directory)
output_file = fullfile(output_directory, files{i});
save_challenge_predictions(output_file, scores, labels);
end

disp('Done.')
end

function data = load_challenge_data(file)
Expand Down

0 comments on commit 64ba0b5

Please sign in to comment.