Invalid format specifier when normalize=True in plot_confusion_matrix
https://github.com/pralab/secml/pull/2
Reported by:When normalize=True
in plot_confusion_matrix
, the function returns ValueError: Invalid format specifier
, as the format specifier is wrongly set to %.2f
. This is the old print format, and should be abandoned.
It should be set to .2f
instead.
Edited by SecML-Bot