Python Forum
How to plot confusion matrix of multiclass classification
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to plot confusion matrix of multiclass classification
#1
y_pred.shape = (91,48)
y_true.shape = (91,48)

I want confusion matrix of (48X48)
When I print confusion matrix using argmax, It gives matrix of (43X43)
without argmax it gives me error: " Classification metrics can't handle a mix of multilabel-indicator and continuous-multioutput targets"
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Check if two matrix are equal and of not add the matrix to the list quest 3 840 Jul-10-2023, 02:41 AM
Last Post: deanhystad
  Print confusion matrix MrSonoa 1 924 Apr-20-2023, 04:17 PM
Last Post: farshid
  How to multiply a matrix with herself, until the zero matrix results peanutbutterandjelly 3 3,386 May-03-2021, 06:30 AM
Last Post: Gribouillis
  [split] Kera Getting errors when following code example Image classification from scratch hobbyist 3 4,650 Apr-13-2021, 01:26 PM
Last Post: amirian
  How to plot intraday data of several days in one plot mistermister 3 2,933 Dec-15-2020, 07:43 PM
Last Post: deanhystad
  Applying Multi-Class Classification instead of binary classification alex80 1 1,511 Sep-18-2020, 07:39 AM
Last Post: alex80
  How to plot vertically stacked plot with same x-axis and SriMekala 0 1,941 Jun-12-2019, 03:31 PM
Last Post: SriMekala
  Text classification Casper 2 3,491 Apr-11-2017, 11:06 AM
Last Post: zivoni
  matrix from matrix python numpy array shei7141 1 3,719 Jan-16-2017, 06:10 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020