Implementing multilabel confusion matrix - Issue #3452

I'm not sure about the use of struct arrays for return values, but in any case, `list(map(tuple, ...))` is much more than needed. You should just be able to use `view` on the existing array and provide your struct dtype.