joaopalotti / trectools

A simple toolkit to process TREC files in Python.
https://pypi.python.org/pypi/trectools
BSD 3-Clause "New" or "Revised" License
163 stars 32 forks source link

Add labels parameter to sklearn confusion matrix function #46

Closed hscells closed 8 months ago

hscells commented 8 months ago

It looks like sklearn was updated and now the labels argument needs to be passed as a keyword argument rather than a positional argument.

joaopalotti commented 8 months ago

Thank you very much for the update, Harry!