Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluation mode is slow for many files #11

Open
DavidHuebner opened this issue Jun 29, 2021 · 0 comments
Open

Evaluation mode is slow for many files #11

DavidHuebner opened this issue Jun 29, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@DavidHuebner
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
In the ncbi_annotated.zip, there are around 900 files containing gold-standard diagnoses and predicted diagnoses. The following IRuta notebook cell uses this information to run an evaluation.

%displayMode EVALUATION
%evalTypes TrueDiagnosis
%loadTypeSystem data/typesystem/typesystem.xml
%inputDir data/gold_test/
PredictedDiagnosis{->TrueDiagnosis};

This quickly iterates over the files, but when generating the evaluation results it may take up to 30 seconds which is slightly annoying when quick iterations are the goal.

Describe the solution you'd like
I would the evaluation module to be faster.

Describe alternatives you've considered
In some use-cases, I am not interested in the results per document. If this is the cause for the slow performance, then a flag to disable those results may be useful.

Additional context
IRuta Version 0.2.0

@DavidHuebner DavidHuebner added the enhancement New feature or request label Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant