Skip to content

Store Metadata as Values #99

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

Draft
wants to merge 100 commits into
base: latest
Choose a base branch
from
Draft

Store Metadata as Values #99

wants to merge 100 commits into from

Conversation

cbmorrell
Copy link
Collaborator

Up to this point we have stored metadata as the index in the list of potential values that the user passes in. This was done to reduce memory usage for things like strings. This can lead to confusing behaviour, particularly when isolating data (e.g., you want to isolate rep 2, but its index is 1 due to Python indexing).

These changes allow the user to store metadata as the values themselves instead of the indices. To avoid breaking previous code, the option to store as indices is still supported (and enabled by default).

eeddy and others added 30 commits September 13, 2024 12:17
Added in OneSubjectEMaGerDataset for regression tasks.

Updated for new Dataset format.
Return value of prepare_data was changed to a dictionary, which would be a breaking change.

Modified this so users can pass in a flag that will determine if it is returned as a dictionary or a data handler.
Started working on Hyser dataset. Created parent class and started 1DOF class. Both classes still need to be tested.
Parameter passed to scipy zoom created a value for each column instead of one for each axis. This didn't throw an error in the past because most data that had been tested was also 2 DOF.

Modified to proper zoom factor.
@eeddy eeddy force-pushed the dataset_updates branch 29 times, most recently from ceab009 to 371ea73 Compare November 22, 2024 17:19
Base automatically changed from dataset_updates to latest November 29, 2024 19:43
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.

3 participants