cascade.plot.plot_adj_confusion
- cascade.plot.plot_adj_confusion(true, pred, mask=None, palette=None, cbar=True, **kwargs)[source]
Plot confusion categories of adjacency prediction
- Parameters:
true (
DataFrame) – True adjacency matrix (must be boolean)pred (
DataFrame) – Predicted adjacency matrix (must be boolean)cbar (
bool) – Whether to include a color bar**kwargs – Additional arguments are passed to
plot_adj()
- Return type:
- Returns:
Axes object
Note
Nodes are ordered according to
pred.