{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Summary and guide for calzone\n",
"\n",
"We provide a summary of the calibration metrics provides by calzone, including the pros and cons of each metrics. For a more detailed explanation of each metrics and how to calculate them using calzone, please refer to the specific notebook."
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"nbsphinx": "hidden"
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/home/kwoklung.fan/anaconda3/envs/uq/lib/python3.12/site-packages/dataframe_image/converter/matplotlib_table.py:147: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.\n",
" if not thead and not tbody:\n"
]
}
],
"source": [
"import pandas as pd\n",
"from IPython.display import display, HTML\n",
"data = {\n",
" 'Metrics': ['Expected calibration error
(ECE)', 'Maximum calibration error
(MCE)', 'Hosmer-Lemeshow test', \"Spiegelhalter's z test\", \"Cox's analysis\", 'Integrated calibration index
(ICI)'],\n",
" 'Description': [\n",
" '