Skip to content

REFACTOR PLAN #248

@Hendrik-code

Description

@Hendrik-code

Refactor ideas in order:

  • Need a module between end of instance evaluation and Panoptica Result, that actually handles metric computation -> PanopticaResult object becomes a purely result-keeping object.

  • refactor result objects for each metric type (global, instance, region-wise, autc), to be easily expandable and still understandable by the user (something like result.global.dice vs. result.autc.dice)

  • refactor whole codebase in terms of folder/file structure, make folders for each pipeline phase, sort utils better, ...

  • Large refactor of the whole pipeline, switching to a metric-focused approach (e.g. we loop over each metric the user wants, compute it, save all intermediate steps so that other metrics can still utilize the intermediate steps instead of computing everything anew).

  • Speed improvements?

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