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

Support multi-dimensional TMAPs in output #384

Open
3 tasks
paolodi opened this issue Aug 28, 2020 · 1 comment
Open
3 tasks

Support multi-dimensional TMAPs in output #384

paolodi opened this issue Aug 28, 2020 · 1 comment
Assignees

Comments

@paolodi
Copy link
Contributor

paolodi commented Aug 28, 2020

What
Multi-dimensional TMAPs (e.g., operations on raw data) are currently second-class citizens for execution modes that are expected to produce outputs. For example, inference of segmentation models either produces summary stats of goodness of segmentation (via infer_with_pixels), or PNGs stripped down of the metadata required for interpretation and reuse (via plot_predictions). explore mode bypasses multi-dimensional TMAPs altogether.

Why
The capability of easily re-using evaluated TMAPs (via inference or explore) is one of the key features of ML4H, and has already allowed us to perform "extrapolation" tasks where ML is used to infer a learned "rare" feature on an extended dataset (e.g., liver fat from standard MRI, LV mass and HRR from resting ECGs etc.). So far, we have fully supported only scalar features by exchanging CSV files, while ongoing work on segmentation and parameterization would require extensions to more complex multidimensional data.

How
Allowing outputs in more sophisticated file formats (e.g., HDF5 as a start) that can handle multidimensional (semi-)structured data. TMAPs contain enough information to interpret the data and guide the storage. As producing multi-dimensional outputs is not always needed (and potentially slow), the behavior should be activated only by optional command line flags.

Acceptance Criteria

  • Multidimensional TMAPs are accounted for in inference and explore modes
  • Users can produce files containing evaluated multi-dimensional TMAPs preserving metadata
  • Users can re-use the output files and the same TMAPs as model inputs
@paolodi paolodi self-assigned this Oct 9, 2020
@paolodi
Copy link
Contributor Author

paolodi commented Oct 9, 2020

@lucidtronix @ndiamant, this is the structured TMAP issue I mentioned before. Please feel free to comment if you have any ideas or suggestions!

I will for sure ask for your help along the way, especially if we want to let this work with autoencoders...

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

No branches or pull requests

1 participant