ConfusionMatrixDisplay

Hi @AastaLLL,
thanks fior the prompt response.

I actually was wandering whether the library was already implemented but I did not invoked it correctly:
following is a snippet from code that fails:


from sklearn.metrics import confusion_matrix, ConfusionMatrixDisplay

oModel = KNeighborsClassifier(n_neighbors=maxK)
vHatY = cross_val_predict(oModel, mX, vY, cv=cv)
mConfusion = confusion_matrix(vY, vHatY)
accuracy = np.mean(vY == vHatY)
DisplayConfusionMatrix(mConfusion, accuracy) <= this one fails.

Though if you’re saying that I can recompile the code please advise how should I do it.
Regards.