Community Conundrums are live! Learn more

Export Confusion matrix data

Level 3
Export Confusion matrix data
Jump to solution

When a model is trained there is a way to investigate its performance and some specific metrics, such as the ROC curve and Confusion matrix.



In the case of the ROC curve there is a way to export the underlying data – the “EXPORT DATA” button (see below).



But for Confusion matrix I can’t find a way to export the underlying data, no "EXPORT DATA" button or anything like that.



Is there a simple way to export the Confusion matrix data? 



4 Replies
Level 2

Hi David,



I am not sure what you mean by exporting the data of confusion matrix.



If it means printing it in jupyter notebook , please have a look at below post.



https://botbark.com/2019/12/26/what-is-confusion-matrix-in-machine-learning/

0 Kudos
Level 3
Hi David,

I think that the only way is by publishing to a dashboard ("Publish" blue button at top bar).
0 Kudos
Level 3
Hi,
In 5.1 you can export to PDF or image: https://doc.dataiku.com/dss/latest/dashboards/exports.html.

You can create a scenario an set as step the train of the model and in a second step the export of the dashboard, with that you can execute once and get training and export of the confusion matrix 🙂
0 Kudos
Level 3
Author
Hi Alan,

Thank you for the quick response. I published (well, first deployed and then published) to a dashboard. I don't see any obvious ways to export data here, either. Now even the ROC curve doesn't have an "EXPORT DATA" button.
0 Kudos
Labels (2)