Skip to content

[FEATURE] Support for Multi-label classificationΒ #25

Description

@gafaua

✨ Feature Description

The framwork is mostly hardcoded for binary classification tasks. It would be very useful to support a multi-class / multi-label classification setting (for lesion classification tasks).

🎯 Problem Statement

All models are implemented with a single-value output. ABMIL can be easily adapted for multiple classes, but for other models, substantial modifications are required.

πŸ“Œ Use Case

In computational pathology, lots of tasks (regarding lesion detection) require a multi-label/multi-class classification setting.

πŸ’‘ Proposed Solution

Add support for a "num_classes" parameter in the implemented MIL models to indicate the number of outputs of the model.

Activity

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions