Skip to content

Conversation

jaypat7828
Copy link

Thank you much for guiding through the Tensorflow course very systematically. I have learned a good deal.

I found the 'make_confusion_matrix' function very useful.

here is the scenario:

`y_true = ["countryman rambo", "neighboring man jumbo", "countryman rambo", "countryman rambo", "neighboring man jumbo", "birdman", "superman", "logicalman"]
y_pred = ["neighboring man jumbo", "neighboring man jumbo", "countryman rambo", "countryman rambo", "neighboring man jumbo", "countryman rambo", "superman", "logicalman"]
labels = ["countryman rambo", "neighboring man jumbo", "birdman", "superman", "logicalman"]

make_confusion_matrix_old(
y_true,
y_pred,
labels,
figsize=(8, 8),
)`

image

when the confusion matrix comes out nicely but the Xlabes needs some help.

I have updated the code and here is the new version.

image

Thanks,

Jaydip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant