Skip to content

Dataset Module #8

Description

@kshen3778
  1. Splitting data (train/val/test, k-fold): could be done via column in csv
    What would be the best way for the WorkbenchDataset class to switch between different splits. We could have a set_split(splitname) function that can be called:
dataset = WorkbenchDataset(...)
dataset.set_split("train")
# Train Model here (get_item will only return from train portion)
dataset.set_split("test")
# Test model here (get_item will only return from test portion)

Or alternatively, define the splits as an individual Dataset class itself that can be returned

dataset = WorkbenchDataset(...)
train_loader = Dataloader(dataset.get_split("train"),......)
# Train Model here
test_loader = Dataloader(dataset.get_split("test"),......)
# Test model here

Note: This means WorktableDataset won't be a subclass of Pytorch's Dataset since get_item will no longer be used. dataset.get_split will return an instance of a Pytorch Dataset class that will be iterable.

Other
2. getting/querying subset: could be part of create_new_version (not sure if it makes sense to make a separate get_subset function)
3. EDA tools & visualizations (?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions