Skip to content

Meta Dataset - #200

Merged
pesser merged 9 commits into
pesser:masterfrom
jhaux:metadset
Dec 2, 2019
Merged

pesser merged 9 commits into
pesser:masterfrom
jhaux:metadset

Conversation

@jhaux

@jhaux jhaux commented Dec 1, 2019

Copy link
Copy Markdown
Collaborator

The Meta Dataset allows for easy loading of data! See the documentation for more info.

Features include:

  • Standardized Loading routines for labels
  • Standardized Loading routines for get_example calls via predefined functions applied to labels as defined in the datasets meta.yaml file or even easier via the label array's name
  • Custom label to loaded thing routines are also possible, by referencing custom functions in the meta.yaml
  • It has a nice show method, which probably should be part of the DatasetMixin class, but for now it is here. Try it in a jupyter notebook and be amazed.

Things, that should be done in the near future:

  • Port the EvalDatafolder and the whole eval pipeline to this new dataset class (This should be relatively easy, as large parts of this class are derived from the EvalDatafolder)
  • Once the eval pipeline is ported, package the data writing routines, such that we can easily reuse them to export arbitrary datasets.
  • Write a test for the MetaDataset, which uses a custom function as loader

Comment thread edflow/util.py
__COULD_HAVE_IPYTHON__ = False


def get_obj_from_str(string):

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

this is also in edflow.main

@pesser pesser left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Awesome! This will make working with datasets, as inputs and outputs, so much better. Thanks!

@pesser
pesser merged commit 47597fb into pesser:master Dec 2, 2019
pesser added a commit that referenced this pull request Dec 2, 2019
This reverts commit 0534c4a.
Apparently, we already require py>=3.6 and #200 introduced more format
strings anyway.
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.

2 participants