-
Notifications
You must be signed in to change notification settings - Fork 212
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
fix bugs, add new metrics and tasks #169
Open
v1xerunt
wants to merge
9
commits into
develop
Choose a base branch
from
early_prediction
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
v1xerunt
commented
Jun 6, 2023
•
edited
Loading
edited
- fix mismatch between actual output and document descriptions in adacare, concare, agent and stagenet
- add new metrics: outcome-specific mean absolute error, early prediction score from paper "A Comprehensive Benchmark for COVID-19 Predictive Modeling Using Electronic Health Records in Intensive Care"
- add regression related metrics
- add new task: outcome-specific length of stay prediction
- change base_model to support new tasks
1. fix mismatch between actual output and document descriptions in adacare 2. add new metrics: outcome-specific mean absolute error, early prediction score from paper "A Comprehensive Benchmark for COVID-19 Predictive Modeling Using Electronic Health Records in Intensive Care" 3. add regression related metrics 4. add new task: outcome-specific length of stay prediction 5. change base_model to support new tasks
ycq091044
reviewed
Jul 16, 2023
- a list of list of str for multilabel classification | ||
label_tokenizer: the label tokenizer. | ||
|
||
Returns: | ||
labels: the processed labels. | ||
""" | ||
if self.mode in ["binary"]: | ||
if self.mode in ["binary"] or self.mode in ["early_mortality"]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self.mode in ["binary", "early_mortality"]
ycq091044
reviewed
Jul 16, 2023
|
||
Args: | ||
logits: the predicted logit tensor. | ||
|
||
Returns: | ||
y_prob: the predicted probability tensor. | ||
""" | ||
if self.mode in ["binary"]: | ||
if self.mode in ["binary"] or self.mode in ["early_mortality"]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
ycq091044
force-pushed
the
develop
branch
2 times, most recently
from
September 1, 2023 16:55
d75d17c
to
9301702
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.