-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
I was using for the first time you're module and I got this error:
"zip object not subscriptable" in cross_validation.py at line 108
I just replace :
return [list(zip(*g)[0])
for _, g in it.groupby(enumerate(labels), op.itemgetter(1))]
By :
return [list(zip(*g))[0]
for _, g in it.groupby(enumerate(labels), op.itemgetter(1))]
As zip is not accessible by index so from list that's OK.
I'm not sure of my solution, so I let you modify it if it seems acceptable,
Best regards
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels