Skip to content

Fix lagging during metrics computation#20

Open
RagnhildHolden wants to merge 3 commits into
masterfrom
multiclass
Open

Fix lagging during metrics computation#20
RagnhildHolden wants to merge 3 commits into
masterfrom
multiclass

Conversation

@RagnhildHolden
Copy link
Copy Markdown
Collaborator

  • Added a config parameter results_save_frequency to select whether results should be stored for every patient or epoch, to avoid file writing and dataframe concats for each patient and speed up processing in large datasets.
  • Added lookup dicts for checking which patients were already computed to reduce dataframe scanning.
  • Option to init PatientMetrics from a passed dataframe to avoid reading the file once for each patient for each resume check + is_complete() check moved before __identify_patient_files(), this speeds up the checking of already computed patients / cases.

@codecov-commenter
Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants