4751 lines (4750 with data), 106.8 kB
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import plotly.express as px\n",
"import matplotlib.pyplot as plt\n",
"import pandas as pd"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"def boxplot(output_name, network, y_min=None, y_max=None):\n",
" df_dice = pd.read_csv(f\"outputs/{network}/{output_name}/infer_dice_class.csv\")\n",
" df_iou = pd.read_csv(f\"outputs/{network}/{output_name}/infer_iou_class.csv\")\n",
"\n",
" df_dice['type'] = 'dice'\n",
" df_iou['type'] = 'iou'\n",
"\n",
" df_combined = pd.concat([df_dice, df_iou])\n",
" df_combined.reset_index(drop=True, inplace=True)\n",
" df_final = pd.melt(df_combined, id_vars=['type'], var_name='classes', value_name='scores')\n",
" df_final.sort_values(['type', 'classes'], inplace=True)\n",
" df_final.reset_index(drop=True, inplace=True)\n",
"\n",
" fig = px.box(df_final, x=\"classes\", y=\"scores\", color=\"type\")\n",
" fig.update_traces(quartilemethod=\"exclusive\")\n",
" fig.update_layout(\n",
" width=1000, \n",
" height=500,\n",
" font=dict(\n",
" size=18 \n",
" )\n",
" )\n",
" if y_min is not None and y_max is not None:\n",
" fig.update_yaxes(range=[y_min, y_max])\n",
" fig.show()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### VHSCDD $(256 \\times 256)$"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"alignmentgroup": "True",
"hovertemplate": "type=dice<br>classes=%{x}<br>scores=%{y}<extra></extra>",
"legendgroup": "dice",
"marker": {
"color": "#636efa"
},
"name": "dice",
"notched": false,
"offsetgroup": "dice",
"orientation": "v",
"quartilemethod": "exclusive",
"showlegend": true,
"type": "box",
"x": [
"AA",
"AA",
"AA",
"AA",
"AA",
"AA",
"Au",
"Au",
"Au",
"Au",
"Au",
"Au",
"CA",
"CA",
"CA",
"CA",
"CA",
"CA",
"DA",
"DA",
"DA",
"DA",
"DA",
"DA",
"LA",
"LA",
"LA",
"LA",
"LA",
"LA",
"LV",
"LV",
"LV",
"LV",
"LV",
"LV",
"Myo",
"Myo",
"Myo",
"Myo",
"Myo",
"Myo",
"PA",
"PA",
"PA",
"PA",
"PA",
"PA",
"RA",
"RA",
"RA",
"RA",
"RA",
"RA",
"RV",
"RV",
"RV",
"RV",
"RV",
"RV",
"SVC",
"SVC",
"SVC",
"SVC",
"SVC",
"SVC"
],
"x0": " ",
"xaxis": "x",
"y": [
0.9701196158476524,
0.973420050353962,
0.9406380401244856,
0.9809408436298572,
0.9550802235645914,
0.9261300378740454,
0.9639751285101916,
0.962669714042028,
0.949619141509164,
0.9539904853940616,
0.9391797781946918,
0.9435783439282872,
0.8963356585435522,
0.8703311044359303,
0.8218577483992068,
0.8963909975386929,
0.7991622066577562,
0.8563843270772166,
0.955897417861924,
0.9665518590517436,
0.9384891440930836,
0.969732389532224,
0.951203316726398,
0.9423267722927946,
0.9526186800934868,
0.949492640325746,
0.9313922472041736,
0.945764342721065,
0.9308238961523062,
0.87774173472466,
0.946832853260464,
0.9527499491230518,
0.947196119077361,
0.9566698714332365,
0.9286251083953836,
0.9287217365615374,
0.8960298019484504,
0.9260213161873078,
0.8982013239442517,
0.9469387113222472,
0.9289654595478471,
0.9134547314956027,
0.9315052488726868,
0.9336232953844266,
0.9031876428557812,
0.9161720054216184,
0.8879105855763675,
0.913336479127516,
0.9680040041537296,
0.972203495038973,
0.9645305803270956,
0.974550560633944,
0.9678594664942988,
0.9658210363738718,
0.8967422309001372,
0.96090087631166,
0.9418671032679226,
0.9278820024386634,
0.910394400128858,
0.9467108294026372,
0.9722057703756228,
0.9460341157355292,
0.9323123382372062,
0.9633318183938104,
0.9410582917419392,
0.9237949139157368
],
"y0": " ",
"yaxis": "y"
},
{
"alignmentgroup": "True",
"hovertemplate": "type=iou<br>classes=%{x}<br>scores=%{y}<extra></extra>",
"legendgroup": "iou",
"marker": {
"color": "#EF553B"
},
"name": "iou",
"notched": false,
"offsetgroup": "iou",
"orientation": "v",
"quartilemethod": "exclusive",
"showlegend": true,
"type": "box",
"x": [
"AA",
"AA",
"AA",
"AA",
"AA",
"AA",
"Au",
"Au",
"Au",
"Au",
"Au",
"Au",
"CA",
"CA",
"CA",
"CA",
"CA",
"CA",
"DA",
"DA",
"DA",
"DA",
"DA",
"DA",
"LA",
"LA",
"LA",
"LA",
"LA",
"LA",
"LV",
"LV",
"LV",
"LV",
"LV",
"LV",
"Myo",
"Myo",
"Myo",
"Myo",
"Myo",
"Myo",
"PA",
"PA",
"PA",
"PA",
"PA",
"PA",
"RA",
"RA",
"RA",
"RA",
"RA",
"RA",
"RV",
"RV",
"RV",
"RV",
"RV",
"RV",
"SVC",
"SVC",
"SVC",
"SVC",
"SVC",
"SVC"
],
"x0": " ",
"xaxis": "x",
"y": [
0.941973090171814,
0.9482164978981018,
0.88792884349823,
0.9625946283340454,
0.9140225648880004,
0.8624228835105896,
0.9304555654525756,
0.9280262589454652,
0.9040712714195251,
0.9120284914970398,
0.8853335976600647,
0.8931834697723389,
0.8121451735496521,
0.7704302668571472,
0.7284758448600769,
0.8122360110282898,
0.7655038595199585,
0.7956593036651611,
0.9155206084251404,
0.9352688789367676,
0.8841069936752319,
0.9412432312965392,
0.9069473147392272,
0.8909432291984558,
0.9095242023468018,
0.9038419723510742,
0.8715941309928894,
0.8971090316772461,
0.8705992102622986,
0.7821210026741028,
0.899033784866333,
0.9097635746002196,
0.8996890187263489,
0.9169387817382812,
0.8667601943016052,
0.8669285774230957,
0.811643123626709,
0.862234354019165,
0.815213680267334,
0.8992246985435486,
0.8673533797264099,
0.8406964540481567,
0.8717920780181885,
0.8755098581314087,
0.8234659433364868,
0.8453112840652466,
0.7984165549278259,
0.8404961228370667,
0.9379920363426208,
0.9459105134010316,
0.9314911365509032,
0.9503642916679382,
0.9377205967903136,
0.9339012503623962,
0.8128129839897156,
0.924744188785553,
0.8901217579841614,
0.865466296672821,
0.8355265259742737,
0.898813784122467,
0.9459148049354552,
0.8975946307182312,
0.8732069730758667,
0.92925763130188,
0.8886780738830566,
0.8583818674087524
],
"y0": " ",
"yaxis": "y"
}
],
"layout": {
"boxmode": "group",
"font": {
"size": 18
},
"height": 500,
"legend": {
"title": {
"text": "type"
},
"tracegroupgap": 0
},
"margin": {
"t": 60
},
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"sequentialminus": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"width": 1000,
"xaxis": {
"anchor": "y",
"domain": [
0,
1
],
"title": {
"text": "classes"
}
},
"yaxis": {
"anchor": "x",
"domain": [
0,
1
],
"range": [
0.65,
1
],
"title": {
"text": "scores"
}
}
}
}
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"network = 'RotCAtt_TransUNet_plusplus'\n",
"output_name = 'VHSCDD_RotCAtt_TransUNet_plusplus_bs24_ps16_epo600_hw256_ly4'\n",
"boxplot(output_name, network, y_min=0.65, y_max=1)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### MMWHS $(256 \\times 256)$"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"alignmentgroup": "True",
"hovertemplate": "type=dice<br>classes=%{x}<br>scores=%{y}<extra></extra>",
"legendgroup": "dice",
"marker": {
"color": "#636efa"
},
"name": "dice",
"notched": false,
"offsetgroup": "dice",
"orientation": "v",
"quartilemethod": "exclusive",
"showlegend": true,
"type": "box",
"x": [
"AA",
"AA",
"AA",
"AA",
"AA",
"AA",
"LA",
"LA",
"LA",
"LA",
"LA",
"LA",
"LV",
"LV",
"LV",
"LV",
"LV",
"LV",
"LV-Myo",
"LV-Myo",
"LV-Myo",
"LV-Myo",
"LV-Myo",
"LV-Myo",
"PA",
"PA",
"PA",
"PA",
"PA",
"PA",
"RA",
"RA",
"RA",
"RA",
"RA",
"RA",
"RV",
"RV",
"RV",
"RV",
"RV",
"RV"
],
"x0": " ",
"xaxis": "x",
"y": [
0.9841239848456,
0.967664573630329,
0.9770455155331254,
0.9786166333140792,
0.9695780824833176,
0.9618960735004056,
0.9710993889234284,
0.9641364225015172,
0.9818008866236536,
0.9826034225202614,
0.965324933517579,
0.9285113249997976,
0.9637018616221096,
0.9485332966180317,
0.9552880831416424,
0.9400400801614132,
0.9263914435603926,
0.911237033692378,
0.960670995573272,
0.8915483886776087,
0.962171745443122,
0.9440259616935592,
0.8623080162352157,
0.9025782427790484,
0.9701432552749462,
0.9374288173518376,
0.967819012443992,
0.9447061166481548,
0.9420240670269486,
0.9368862954018994,
0.971085263736767,
0.8685832118428725,
0.9611977153201152,
0.963277561276796,
0.9177844646228036,
0.9445261345921098,
0.9857544222034804,
0.9683218628990196,
0.97875949498964,
0.9591433517333648,
0.973352313076635,
0.9662841998964876
],
"y0": " ",
"yaxis": "y"
},
{
"alignmentgroup": "True",
"hovertemplate": "type=iou<br>classes=%{x}<br>scores=%{y}<extra></extra>",
"legendgroup": "iou",
"marker": {
"color": "#EF553B"
},
"name": "iou",
"notched": false,
"offsetgroup": "iou",
"orientation": "v",
"quartilemethod": "exclusive",
"showlegend": true,
"type": "box",
"x": [
"AA",
"AA",
"AA",
"AA",
"AA",
"AA",
"LA",
"LA",
"LA",
"LA",
"LA",
"LA",
"LV",
"LV",
"LV",
"LV",
"LV",
"LV",
"LV-Myo",
"LV-Myo",
"LV-Myo",
"LV-Myo",
"LV-Myo",
"LV-Myo",
"PA",
"PA",
"PA",
"PA",
"PA",
"PA",
"RA",
"RA",
"RA",
"RA",
"RA",
"RA",
"RV",
"RV",
"RV",
"RV",
"RV",
"RV"
],
"x0": " ",
"xaxis": "x",
"y": [
0.968744158744812,
0.9373548030853271,
0.9551212191581726,
0.9581286311149596,
0.940952479839325,
0.9265893697738647,
0.9438223242759703,
0.930756151676178,
0.9642523527145386,
0.9658017754554749,
0.9329739809036256,
0.8665619492530823,
0.9299465417861938,
0.902104914188385,
0.9144033789634703,
0.8868638277053833,
0.8628763556480408,
0.8369471430778503,
0.9243184924125672,
0.8043187260627747,
0.9271011352539062,
0.8939859867095947,
0.7579450607299805,
0.8224533796310425,
0.942017674446106,
0.882226824760437,
0.93764466047287,
0.8952066898345947,
0.8904021978378296,
0.8812662959098816,
0.943795680999756,
0.7676951885223389,
0.9252941608428956,
0.9291566610336304,
0.8480607271194458,
0.8948835134506226,
0.9719090461730956,
0.938589096069336,
0.9584025144577026,
0.92149418592453,
0.948087990283966,
0.9347677826881408
],
"y0": " ",
"yaxis": "y"
}
],
"layout": {
"boxmode": "group",
"font": {
"size": 18
},
"height": 500,
"legend": {
"title": {
"text": "type"
},
"tracegroupgap": 0
},
"margin": {
"t": 60
},
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"sequentialminus": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"width": 1000,
"xaxis": {
"anchor": "y",
"domain": [
0,
1
],
"title": {
"text": "classes"
}
},
"yaxis": {
"anchor": "x",
"domain": [
0,
1
],
"range": [
0.65,
1
],
"title": {
"text": "scores"
}
}
}
}
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"network = 'RotCAtt_TransUNet_plusplus'\n",
"output_name = 'MMWHS_RotCAtt_TransUNet_plusplus_bs24_ps16_epo600_hw256_ly4'\n",
"boxplot(output_name, network, y_min=0.65, y_max=1)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### ImageCHD $(256 \\times 256)$"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"alignmentgroup": "True",
"hovertemplate": "type=dice<br>classes=%{x}<br>scores=%{y}<extra></extra>",
"legendgroup": "dice",
"marker": {
"color": "#636efa"
},
"name": "dice",
"notched": false,
"offsetgroup": "dice",
"orientation": "v",
"quartilemethod": "exclusive",
"showlegend": true,
"type": "box",
"x": [
"AD",
"AD",
"AD",
"AD",
"AD",
"AD",
"LA",
"LA",
"LA",
"LA",
"LA",
"LA",
"LV",
"LV",
"LV",
"LV",
"LV",
"LV",
"Myo",
"Myo",
"Myo",
"Myo",
"Myo",
"Myo",
"PA",
"PA",
"PA",
"PA",
"PA",
"PA",
"RA",
"RA",
"RA",
"RA",
"RA",
"RA",
"RV",
"RV",
"RV",
"RV",
"RV",
"RV"
],
"x0": " ",
"xaxis": "x",
"y": [
0.9670622658547178,
0.9471652198391132,
0.9412570615238416,
0.941239268721032,
0.961642376044139,
0.9545625706050984,
0.9632271756036808,
0.9720937586473748,
0.9551261302845204,
0.9551500793712696,
0.9554799279443486,
0.9457877123561068,
0.9718613326484168,
0.9609660207844596,
0.960749222928704,
0.9608019915278474,
0.9717524954482304,
0.9507062571391866,
0.9528014210753564,
0.960238001400593,
0.9587946252548076,
0.9587954063786214,
0.9417495140103048,
0.9467348712835452,
0.9547356566018382,
0.9748871147196776,
0.9469590683857826,
0.9469787093326338,
0.94292547980108,
0.9361732318398884,
0.9750316394606884,
0.9726432596624642,
0.9569603649588913,
0.9569922549428046,
0.9429595335434608,
0.9460615620552508,
0.9741195555203466,
0.9703617269564686,
0.9489511623525582,
0.9489961378653564,
0.9539468513908036,
0.930368791036163
],
"y0": " ",
"yaxis": "y"
},
{
"alignmentgroup": "True",
"hovertemplate": "type=iou<br>classes=%{x}<br>scores=%{y}<extra></extra>",
"legendgroup": "iou",
"marker": {
"color": "#EF553B"
},
"name": "iou",
"notched": false,
"offsetgroup": "iou",
"orientation": "v",
"quartilemethod": "exclusive",
"showlegend": true,
"type": "box",
"x": [
"AD",
"AD",
"AD",
"AD",
"AD",
"AD",
"LA",
"LA",
"LA",
"LA",
"LA",
"LA",
"LV",
"LV",
"LV",
"LV",
"LV",
"LV",
"Myo",
"Myo",
"Myo",
"Myo",
"Myo",
"Myo",
"PA",
"PA",
"PA",
"PA",
"PA",
"PA",
"RA",
"RA",
"RA",
"RA",
"RA",
"RA",
"RV",
"RV",
"RV",
"RV",
"RV",
"RV"
],
"x0": " ",
"xaxis": "x",
"y": [
0.9362251162528992,
0.8996332883834839,
0.8890326619148254,
0.8890009522438049,
0.9261186718940736,
0.913074791431427,
0.9290629029273988,
0.9457027316093444,
0.9141066074371338,
0.9141504764556884,
0.9147549867630004,
0.8971511125564575,
0.9452629089355468,
0.9248648881912231,
0.9244633316993712,
0.9245610237121582,
0.945056974887848,
0.9060439467430116,
0.909857451915741,
0.923517107963562,
0.92085063457489,
0.9208520650863647,
0.8899117112159729,
0.8988571166992188,
0.9133915901184082,
0.9510046243667604,
0.8992614150047302,
0.8992968201637268,
0.89201420545578,
0.8800053596496582,
0.9512797594070436,
0.9467434287071228,
0.9174726605415344,
0.9175313115119934,
0.8920751214027405,
0.89764404296875,
0.9495449066162108,
0.9424297213554382,
0.9028611779212952,
0.9029425978660583,
0.9119487404823304,
0.8698033094406128
],
"y0": " ",
"yaxis": "y"
}
],
"layout": {
"boxmode": "group",
"font": {
"size": 18
},
"height": 500,
"legend": {
"title": {
"text": "type"
},
"tracegroupgap": 0
},
"margin": {
"t": 60
},
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"sequentialminus": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"width": 1000,
"xaxis": {
"anchor": "y",
"domain": [
0,
1
],
"title": {
"text": "classes"
}
},
"yaxis": {
"anchor": "x",
"domain": [
0,
1
],
"range": [
0.8,
1
],
"title": {
"text": "scores"
}
}
}
}
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"network = 'RotCAtt_TransUNet_plusplus'\n",
"output_name = 'Imagechd_RotCAtt_TransUNet_plusplus_bs24_ps16_epo600_hw256_ly4'\n",
"boxplot(output_name, network, y_min=0.8, y_max=1)"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"alignmentgroup": "True",
"hovertemplate": "type=dice<br>classes=%{x}<br>scores=%{y}<extra></extra>",
"legendgroup": "dice",
"marker": {
"color": "#636efa"
},
"name": "dice",
"notched": false,
"offsetgroup": "dice",
"orientation": "v",
"quartilemethod": "exclusive",
"showlegend": true,
"type": "box",
"x": [
"Aorta",
"Aorta",
"Aorta",
"Aorta",
"Aorta",
"Aorta",
"Aorta",
"Aorta",
"Aorta",
"Aorta",
"Aorta",
"Gallbladder",
"Gallbladder",
"Gallbladder",
"Gallbladder",
"Gallbladder",
"Gallbladder",
"Gallbladder",
"Gallbladder",
"Gallbladder",
"Gallbladder",
"Gallbladder",
"Kidney(L)",
"Kidney(L)",
"Kidney(L)",
"Kidney(L)",
"Kidney(L)",
"Kidney(L)",
"Kidney(L)",
"Kidney(L)",
"Kidney(L)",
"Kidney(L)",
"Kidney(L)",
"Kidney(R)",
"Kidney(R)",
"Kidney(R)",
"Kidney(R)",
"Kidney(R)",
"Kidney(R)",
"Kidney(R)",
"Kidney(R)",
"Kidney(R)",
"Kidney(R)",
"Kidney(R)",
"Liver",
"Liver",
"Liver",
"Liver",
"Liver",
"Liver",
"Liver",
"Liver",
"Liver",
"Liver",
"Liver",
"Pancreas",
"Pancreas",
"Pancreas",
"Pancreas",
"Pancreas",
"Pancreas",
"Pancreas",
"Pancreas",
"Pancreas",
"Pancreas",
"Pancreas",
"Spleen",
"Spleen",
"Spleen",
"Spleen",
"Spleen",
"Spleen",
"Spleen",
"Spleen",
"Spleen",
"Spleen",
"Spleen",
"Stomach",
"Stomach",
"Stomach",
"Stomach",
"Stomach",
"Stomach",
"Stomach",
"Stomach",
"Stomach",
"Stomach",
"Stomach"
],
"x0": " ",
"xaxis": "x",
"y": [
0.1450987015816613,
0.6959646214778125,
0.7556476685625922,
0.783338794322027,
0.8235927821564789,
0.7731501844662346,
0.7588814559856065,
0.7972392761938769,
0.7144380879195098,
0.8028537729631328,
0.6357745929356228,
0.9001371287502996,
0.7178982864317248,
0.3978260878915744,
0.5321273520028021,
0.79566026051106,
0.7491419046047162,
0.4380952393693986,
0.6540766303721144,
0.7853482636312884,
0.5771217722580031,
0.0219435889977493,
0.6757135382929577,
0.8732696897677161,
0.8285949424552616,
0.8381834945182896,
0.8828938802321586,
0.8080248282213817,
0.8415109714526685,
0.8453502241917183,
0.7200084707373013,
0.8384323568251284,
0.8358420548572564,
0.853877556734277,
0.6302223591481795,
0.816038352662437,
0.8632518074442939,
0.7582793377073705,
0.7691856027583251,
0.8002849532923605,
0.7579754780179047,
0.7659303825069308,
0.8496390512461948,
0.7479530871055803,
0.2870971852989755,
0.7713656427662908,
0.8523090359660375,
0.8897109117272444,
0.748561158453103,
0.7537204956079021,
0.8183659334244039,
0.8555962243893958,
0.767563284613317,
0.8651188975992097,
0.8670868379498505,
0.778094282870803,
0.4899093499041161,
0.5165842549493949,
0.3719689170620874,
0.3731741398620766,
0.2504996006941948,
0.545336437208176,
0.5054733430440537,
0.4969195977942293,
0.6181072227984118,
0.5537442693549463,
0.7411542088473003,
0.8790846137526821,
0.8506289031839864,
0.7520884972569337,
0.8061634979399738,
0.7853468273813714,
0.933939698930567,
0.7401200318045823,
0.7594290642638151,
0.8679800002061895,
0.7444257339884304,
null,
0.1853553664983231,
0.8075654108985302,
0.5973206975595944,
0.78615892747264,
0.5725611949050998,
0.689329031756497,
0.7531312206143916,
0.569513291965289,
0.6767583770704951,
0.5110956644937601
],
"y0": " ",
"yaxis": "y"
},
{
"alignmentgroup": "True",
"hovertemplate": "type=iou<br>classes=%{x}<br>scores=%{y}<extra></extra>",
"legendgroup": "iou",
"marker": {
"color": "#EF553B"
},
"name": "iou",
"notched": false,
"offsetgroup": "iou",
"orientation": "v",
"quartilemethod": "exclusive",
"showlegend": true,
"type": "box",
"x": [
"Aorta",
"Aorta",
"Aorta",
"Aorta",
"Aorta",
"Aorta",
"Aorta",
"Aorta",
"Aorta",
"Aorta",
"Aorta",
"Gallbladder",
"Gallbladder",
"Gallbladder",
"Gallbladder",
"Gallbladder",
"Gallbladder",
"Gallbladder",
"Gallbladder",
"Gallbladder",
"Gallbladder",
"Gallbladder",
"Kidney(L)",
"Kidney(L)",
"Kidney(L)",
"Kidney(L)",
"Kidney(L)",
"Kidney(L)",
"Kidney(L)",
"Kidney(L)",
"Kidney(L)",
"Kidney(L)",
"Kidney(L)",
"Kidney(R)",
"Kidney(R)",
"Kidney(R)",
"Kidney(R)",
"Kidney(R)",
"Kidney(R)",
"Kidney(R)",
"Kidney(R)",
"Kidney(R)",
"Kidney(R)",
"Kidney(R)",
"Liver",
"Liver",
"Liver",
"Liver",
"Liver",
"Liver",
"Liver",
"Liver",
"Liver",
"Liver",
"Liver",
"Pancreas",
"Pancreas",
"Pancreas",
"Pancreas",
"Pancreas",
"Pancreas",
"Pancreas",
"Pancreas",
"Pancreas",
"Pancreas",
"Pancreas",
"Spleen",
"Spleen",
"Spleen",
"Spleen",
"Spleen",
"Spleen",
"Spleen",
"Spleen",
"Spleen",
"Spleen",
"Spleen",
"Stomach",
"Stomach",
"Stomach",
"Stomach",
"Stomach",
"Stomach",
"Stomach",
"Stomach",
"Stomach",
"Stomach",
"Stomach"
],
"x0": " ",
"xaxis": "x",
"y": [
0.5940728783607483,
0.533700704574585,
0.6072618365287781,
0.6438429951667786,
0.7000916004180908,
0.6301913857460022,
0.6114495992660522,
0.6628411412239075,
0.5557399392127991,
0.67063969373703,
0.466033399105072,
0.0782244876027107,
0.5599386096000671,
0.248303934931755,
0.3625160157680511,
0.660660982131958,
0.5989024043083191,
0.2804878056049347,
0.4859687089920044,
0.6465625166893005,
0.4056016504764557,
0.011093501932919,
0.8184084892272949,
0.7750476598739624,
0.7073513269424438,
0.7214422225952148,
0.7903401851654053,
0.6778873205184937,
0.7263866662979126,
0.7321269512176514,
0.5625103116035461,
0.721811056137085,
0.7179799675941467,
0.5102472305297852,
0.4600909948348999,
0.6892439126968384,
0.7594045996665955,
0.6106682419776917,
0.6249403953552246,
0.667062520980835,
0.6102741360664368,
0.6206541061401367,
0.7385847568511963,
0.5973842144012451,
0.7450142502784729,
0.6278235912322998,
0.7426294088363647,
0.8013326525688171,
0.5981603860855103,
0.6047764420509338,
0.6925714015960693,
0.7476349472999573,
0.6228013634681702,
0.762299120426178,
0.7653603553771973,
0.1676085591316223,
0.3244237899780273,
0.3482396900653839,
0.2284777760505676,
0.229387879371643,
0.1431834995746612,
0.3748883605003357,
0.3382163345813751,
0.3306007981300354,
0.447290301322937,
0.3828812837600708,
0.636787474155426,
0.7842559814453125,
0.7400820255279541,
0.6026777625083923,
0.6752712726593018,
0.646560549736023,
0.8760665059089661,
0.5874528288841248,
0.6121609210968018,
0.7667532563209534,
0.5928966403007507,
0.5887569785118103,
0.1021441668272018,
0.6772408485412598,
0.425842672586441,
0.6476621627807617,
0.4011108577251434,
0.5259360074996948,
0.6040180325508118,
0.3981255292892456,
0.5114397406578064,
0.3432696461677551
],
"y0": " ",
"yaxis": "y"
}
],
"layout": {
"boxmode": "group",
"font": {
"size": 18
},
"height": 500,
"legend": {
"title": {
"text": "type"
},
"tracegroupgap": 0
},
"margin": {
"t": 60
},
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
],
"sequentialminus": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"width": 1000,
"xaxis": {
"anchor": "y",
"domain": [
0,
1
],
"title": {
"text": "classes"
}
},
"yaxis": {
"anchor": "x",
"domain": [
0,
1
],
"title": {
"text": "scores"
}
}
}
}
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"network = 'RotCAtt_TransUNet_plusplus'\n",
"output_name = 'Synapse_RotCAtt_TransUNet_plusplus_bs24_ps16_epo600_hw256_ly4'\n",
"boxplot(output_name, network)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "tor",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.19"
}
},
"nbformat": 4,
"nbformat_minor": 2
}