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

fix bugs, add new metrics and tasks #169

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Open

Conversation

v1xerunt
Copy link
Collaborator

@v1xerunt v1xerunt commented Jun 6, 2023

  1. fix mismatch between actual output and document descriptions in adacare, concare, agent and stagenet
  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 and others added 9 commits May 9, 2023 20:51
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
@v1xerunt v1xerunt requested a review from ycq091044 June 6, 2023 20:21
- 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"]:
Copy link
Collaborator

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"]


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"]:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

@ycq091044 ycq091044 force-pushed the develop branch 2 times, most recently from d75d17c to 9301702 Compare September 1, 2023 16:55
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.

None yet

3 participants