Skip to content

ValueError: Found input variables with inconsistent numbers of samples: [964, 2650] #60

Closed Answered by raphaelvallat
PhD-GOAT asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @PhD-GOAT,

The hypno_pred variable has a 30-sec resolution, i.e. one value per 30-sec of data. I think that the resolution of your hypno variable is probably not 30-seconds, but shorter (5, 10 or 15-seconds) which explains why the sizes of the two arrays are not the same.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@PhD-GOAT
Comment options

Answer selected by remrama
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants