Skip to content

Commit

Permalink
set verbose to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
erdogant committed Jan 19, 2021
1 parent b4ca47a commit b9e98c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classeval/confmatrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# %%
def _normalize_confmat(confmat, verbose=3):
if verbose>=3: print("Normalize confusion matrix")
if verbose>=4: print("[classeval] >Normalize confusion matrix")
return confmat.astype('float') / confmat.sum(axis=1)[:, np.newaxis]

# %% Class evaluation
Expand Down

0 comments on commit b9e98c7

Please sign in to comment.