Fix print() for ConfusionMatrix for Classify task (#19169)
Signed-off-by: Mohammed Yasin <32206511+Y-T-G@users.noreply.github.com>
This commit is contained in:
parent
d6a07ee78a
commit
710b40dcb1
1 changed files with 1 additions and 1 deletions
|
|
@ -440,7 +440,7 @@ class ConfusionMatrix:
|
||||||
|
|
||||||
def print(self):
|
def print(self):
|
||||||
"""Print the confusion matrix to the console."""
|
"""Print the confusion matrix to the console."""
|
||||||
for i in range(self.nc + 1):
|
for i in range(self.matrix.shape[0]):
|
||||||
LOGGER.info(" ".join(map(str, self.matrix[i])))
|
LOGGER.info(" ".join(map(str, self.matrix[i])))
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue