confusion_matrix method returns matrices for other metrics

Description

When we specify multiple metrics for confusion_matrix method in Python API we receive duplicates int the printout. Probably lookup of the computed confusion matrixes is being done by value( but those are not unique in the map)
https://slack-files.com/T0329MHH6-FGS2AMX0B-2e209e0d34

Assignee

Sebastien Poirier

Fix versions

Reporter

Andrey Spiridonov

Support ticket URL

None

Labels

None

Affected Spark version

None

Customer Request Type

None

Task progress

None

ReleaseNotesHidden

None

CustomerVisible

No

Priority

Major
Configure