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

Modes, what do we do with them? #11

Open
hayesall opened this issue Aug 25, 2021 · 0 comments
Open

Modes, what do we do with them? #11

hayesall opened this issue Aug 25, 2021 · 0 comments

Comments

@hayesall
Copy link
Member

Modes files (background.txt) are stored alongside all datasets.

How do we want to refer to these?

  • Recommended modes?
  • Default modes?

What I actually want is to store a schema listing

  1. type information
  2. the variables

The actual way modes should be set depends on the problem being solved.


How might they be accessed?

Assuming we're already in a workflow like:

from relational_datasets import load

train, test = load("toy_cancer")

# Maybe?
modes = load_default_modes("toy_cancer")
modes = load_modes("toy_cancer")

Some part of them should be implied by the data itself. For example, when implementing the conversion from vector-based datasets this felt like a natural way to implement things:

from relational_datasets.convert import from_numpy
import numpy as np

data, modes = from_numpy(
  # ...
)
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