Skip to content

Commit

Permalink
fix : minor import bug in plot_error_test.py fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sepandhaghighi committed Dec 31, 2023
1 parent 448520a commit 6defbec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Test/plot_error_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
"""
>>> from pycm import *
>>> import numpy as np
>>> y_act = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2]
>>> y_pre = [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 2, 0, 1, 2, 2, 2, 2]
>>> cm = ConfusionMatrix(y_act, y_pre)
Expand Down

0 comments on commit 6defbec

Please sign in to comment.