We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Control the number of decimal points in normalized mode.
normalized
print_normalized_matrix
plot
>>> from pycm import * >>> cm = ConfusionMatrix(matrix={"Class1": {"Class1": 1, "Class2":2}, "Class2": {"Class1": 0, "Class2": 5}}, digit=2) >>> cm.print_normalized_matrix()
Predict Class1 Class2 Actual Class1 0.33 0.66 Class2 0.0 1.0
Predict Class1 Class2 Actual Class1 0.33333 0.66667 Class2 0.0 1.0
Windows 10
Python 3.8.0
pycm.__version__
3.4
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Control the number of decimal points in
normalized
mode.print_normalized_matrix
andplot
methodsSteps/Code to Reproduce
Expected Behavior
Actual Behavior
Operating System
Windows 10
Python Version
Python 3.8.0
PyCM Version (Use :
pycm.__version__
)3.4
The text was updated successfully, but these errors were encountered: