Skip to content

Label in CheXpert dataset. #47

Open

Description

@mxadorable

Hi, thank you for share your great work.
Could you please explain why the labels of 'Edema', 'Atelectasis' are replaced in this way?
if col in ['Edema', 'Atelectasis']:
self.df[col].replace(-1, 1, inplace=True)

As far as I know, in the chexpert labels, -1 represents negative, and 1 represent positive. I see that some diseases replace -1 with 0, but why the two diseases are different?

Thank you so much!

Activity

  1. optmai commented on Dec 15, 2023

    @optmai
    Collaborator

    Thank you for your interest! Please let us know if you have additional questions.

  2. reopened this on Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions