Skip to content
Discussion options

You must be logged in to vote

Hi! IMO it makes the most sense to have one row per subject and, therefore, define the features as follows:

features = Features(
    {
        "subject_name": Value("string"),
        "rest": Array2D(...),
        "motor_imagery_arrays": Array3D(shape=(None, ...), ...)}), # 3D to represent a list of 2D arrays; Sequence(Array2D(...)) is not supported at the moment 
        "motor_imagery_labels": Sequence(ClassLabel(...)),
    }
)

@lhoestq This is one instance where support for Sequence(ArrayXD(...)) would be handy

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gbrlfaria
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants