This code is to apply conformal risk control to the ordinal classification problems. For more detailed information about this work, please refer to our paper:
Yunpeng Xu, Wenge Guo, Zhi Wei, Conformal Risk Control for Ordinal Classification, UAI 2023.