Rank-preserving calibration of multiclass probabilities via Dykstra's projections and ADMM.
pip install rank-preserving-calibration