Skip to content

Raise Error when split dataset #1

@NoobAnA

Description

@NoobAnA

I have get an error when running the code:

splits_all = biolab_utilities.data_per_id_and_date(records_filtered_by_subject, n_splits=3)

raise ValueError("Wrong train size: train_size={:d},test_size={:d} out of {:d}".
ValueError: Wrong train size: train_size=1,test_size=0 out of 1

i think the feature data is not sent to the split function. How can i fix this problem?
Thanks for helping.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions