rsmtool icon indicating copy to clipboard operation
rsmtool copied to clipboard

Refactor compute_and_save predictions

Open aloukina opened this issue 4 years ago • 0 comments

We want to refactor compute_and_save_predictions into three separate steps:

(a) Read in model parameters from file into memory. (b) Apply preprocessing, generate predictions and post-process predictions using model parameters stored in memory and return a df with predictions. (c) Save predictions to disc.

This will allow us to generate predictions in production without writing and reading from disc for each response.

aloukina avatar Aug 09 '21 15:08 aloukina