'How to plot Acutal and predictions in python (While 0 and 1)

enter image description here

How to plot the Acutal vs Prediction graph in python. It's was 0 and 1 values so plot is not meaningful.



Solution 1:[1]

The library matplotlib is usually used for displaying tables and graphs. It is easy to use and well-developed. Here is a link to the table-module: https://matplotlib.org/3.5.0/api/_as_gen/matplotlib.pyplot.table.html

Otherwise, you may use tk and tkinter, although this might be kind of an overkill for your situation.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ductTapeIsMagic