Calibration curve of a multiclass logistic regression


I’m trying to plot a calibration curve for my logistic regression model. I have 8 classes. Is there any written algorithm in pytorch or in other python package to do that. The scikit-learn machine learning library seems to work for only binary models.

Assuming that the calibration curve is the same as a Reliability Diagram, you can use the implementation here. If this doesn’t work, searching for other implementations of Reliability Diagram should be helpful.

Thank you. It worked.