Skip to content

Commit ae6baf8

Browse files
committed
Added link to the repsective paper in notebook description
Signed-off-by: Nikolas Theologitis <[email protected]>
1 parent 3f4c854 commit ae6baf8

File tree

1 file changed

+53
-47
lines changed

1 file changed

+53
-47
lines changed

examples/glance/Adult.ipynb

Lines changed: 53 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"source": [
77
"## GLANCE: Global Actions In A Nutshell for Counterfactual Explainability\n",
88
"\n",
9-
"**GLANCE** is a versatile and adaptive framework for generating *global counterfactual explanations*. <br>\n",
9+
"**GLANCE** is a versatile and adaptive framework, introduced in our [respective paper](https://arxiv.org/abs/2405.18921), for generating *global counterfactual explanations*. <br>\n",
1010
"These explanations are expressed as actions that offer recourse to large population subgroups.<br> The framework aims to provide explanations and insights, ensuring that the actions benefit as many individuals as possible.\n",
1111
"\n",
1212
"GLANCE consists of two algorithms: \n",
@@ -336,48 +336,46 @@
336336
"name": "stderr",
337337
"output_type": "stream",
338338
"text": [
339-
"100%|██████████| 1/1 [00:00<00:00, 2.85it/s]\n",
340-
"100%|██████████| 1/1 [00:00<00:00, 2.88it/s]\n",
341-
"100%|██████████| 1/1 [00:00<00:00, 2.91it/s]\n",
342-
"100%|██████████| 1/1 [00:00<00:00, 2.64it/s]\n",
343-
"100%|██████████| 1/1 [00:00<00:00, 2.78it/s]\n",
344-
"100%|██████████| 1/1 [00:00<00:00, 2.91it/s]\n",
345-
"100%|██████████| 1/1 [00:00<00:00, 2.84it/s]\n",
346-
"100%|██████████| 1/1 [00:00<00:00, 2.86it/s]\n",
347-
"100%|██████████| 1/1 [00:00<00:00, 2.91it/s]\n",
348-
"100%|██████████| 1/1 [00:00<00:00, 3.06it/s]\n",
349-
"100%|██████████| 1/1 [00:00<00:00, 2.95it/s]\n",
339+
"100%|██████████| 1/1 [00:00<00:00, 2.76it/s]\n",
340+
"100%|██████████| 1/1 [00:00<00:00, 2.92it/s]\n",
341+
"100%|██████████| 1/1 [00:00<00:00, 2.61it/s]\n",
342+
"100%|██████████| 1/1 [00:00<00:00, 2.89it/s]\n",
343+
"100%|██████████| 1/1 [00:00<00:00, 2.79it/s]\n",
350344
"100%|██████████| 1/1 [00:00<00:00, 3.03it/s]\n",
351-
"100%|██████████| 1/1 [00:00<00:00, 2.88it/s]\n",
352-
"100%|██████████| 1/1 [00:00<00:00, 3.01it/s]\n",
353-
"100%|██████████| 1/1 [00:00<00:00, 3.01it/s]\n",
345+
"100%|██████████| 1/1 [00:00<00:00, 3.02it/s]\n",
354346
"100%|██████████| 1/1 [00:00<00:00, 3.06it/s]\n",
347+
"100%|██████████| 1/1 [00:00<00:00, 2.99it/s]\n",
348+
"100%|██████████| 1/1 [00:00<00:00, 3.01it/s]\n",
355349
"100%|██████████| 1/1 [00:00<00:00, 2.97it/s]\n",
356350
"100%|██████████| 1/1 [00:00<00:00, 3.00it/s]\n",
351+
"100%|██████████| 1/1 [00:00<00:00, 2.88it/s]\n",
352+
"100%|██████████| 1/1 [00:00<00:00, 3.04it/s]\n",
353+
"100%|██████████| 1/1 [00:00<00:00, 2.99it/s]\n",
354+
"100%|██████████| 1/1 [00:00<00:00, 2.01it/s]\n",
357355
"100%|██████████| 1/1 [00:00<00:00, 1.97it/s]\n",
358-
"100%|██████████| 1/1 [00:00<00:00, 2.00it/s]\n",
359356
"100%|██████████| 1/1 [00:00<00:00, 1.99it/s]\n",
360-
"100%|██████████| 1/1 [00:00<00:00, 2.03it/s]\n",
361-
"100%|██████████| 1/1 [00:00<00:00, 1.56it/s]\n",
362-
"100%|██████████| 1/1 [00:00<00:00, 2.10it/s]\n",
363-
"100%|██████████| 1/1 [00:00<00:00, 2.92it/s]\n",
364-
"100%|██████████| 1/1 [00:00<00:00, 2.86it/s]\n",
365-
"100%|██████████| 1/1 [00:00<00:00, 3.06it/s]\n",
366-
"100%|██████████| 1/1 [00:00<00:00, 3.03it/s]\n",
367-
"100%|██████████| 1/1 [00:00<00:00, 3.01it/s]\n",
368-
"100%|██████████| 1/1 [00:00<00:00, 2.93it/s]\n",
369-
"100%|██████████| 1/1 [00:00<00:00, 2.91it/s]\n",
370-
"100%|██████████| 1/1 [00:00<00:00, 2.94it/s]\n",
371-
"100%|██████████| 1/1 [00:00<00:00, 2.94it/s]\n",
372-
"100%|██████████| 1/1 [00:00<00:00, 2.98it/s]\n",
357+
"100%|██████████| 1/1 [00:00<00:00, 1.96it/s]\n",
358+
"100%|██████████| 1/1 [00:00<00:00, 1.92it/s]\n",
359+
"100%|██████████| 1/1 [00:00<00:00, 2.01it/s]\n",
360+
"100%|██████████| 1/1 [00:00<00:00, 3.16it/s]\n",
361+
"100%|██████████| 1/1 [00:00<00:00, 2.40it/s]\n",
362+
"100%|██████████| 1/1 [00:00<00:00, 3.17it/s]\n",
363+
"100%|██████████| 1/1 [00:00<00:00, 2.96it/s]\n",
364+
"100%|██████████| 1/1 [00:00<00:00, 3.02it/s]\n",
365+
"100%|██████████| 1/1 [00:00<00:00, 3.00it/s]\n",
373366
"100%|██████████| 1/1 [00:00<00:00, 3.08it/s]\n",
374-
"100%|██████████| 1/1 [00:00<00:00, 1.99it/s]\n",
375-
"100%|██████████| 1/1 [00:00<00:00, 1.75it/s]\n",
376-
"100%|██████████| 1/1 [00:00<00:00, 1.82it/s]\n",
377-
"100%|██████████| 1/1 [00:00<00:00, 1.55it/s]\n",
378-
"100%|██████████| 1/1 [00:00<00:00, 2.04it/s]\n",
379-
"c:\\users\\nikolastheol\\documents\\github\\aix360\\aix360\\algorithms\\glance\\iterative_merges\\iterative_merges.py:1032: FutureWarning: iteritems is deprecated and will be removed in a future version. Use .items instead.\n",
380-
" for column_name, value in row['action'].to_frame().T.reset_index(drop=True).iteritems():\n"
367+
"100%|██████████| 1/1 [00:00<00:00, 3.14it/s]\n",
368+
"100%|██████████| 1/1 [00:00<00:00, 2.98it/s]\n",
369+
"100%|██████████| 1/1 [00:00<00:00, 3.04it/s]\n",
370+
"100%|██████████| 1/1 [00:00<00:00, 3.00it/s]\n",
371+
"100%|██████████| 1/1 [00:00<00:00, 2.29it/s]\n",
372+
"100%|██████████| 1/1 [00:00<00:00, 1.92it/s]\n",
373+
"100%|██████████| 1/1 [00:00<00:00, 1.83it/s]\n",
374+
"100%|██████████| 1/1 [00:00<00:00, 1.94it/s]\n",
375+
"100%|██████████| 1/1 [00:00<00:00, 2.00it/s]\n",
376+
"100%|██████████| 1/1 [00:00<00:00, 2.02it/s]\n",
377+
"100%|██████████| 1/1 [00:00<00:00, 2.17it/s]\n",
378+
"100%|██████████| 1/1 [00:00<00:00, 3.02it/s]\n"
381379
]
382380
},
383381
{
@@ -409,6 +407,14 @@
409407
"\u001b[1mTOTAL EFFECTIVENESS:\u001b[0m \u001b[32m100.00%\u001b[39m\n",
410408
"\u001b[1mTOTAL COST:\u001b[0m \u001b[35m5.81\u001b[39m\n"
411409
]
410+
},
411+
{
412+
"name": "stderr",
413+
"output_type": "stream",
414+
"text": [
415+
"c:\\users\\nikolastheol\\documents\\github\\aix360\\aix360\\algorithms\\glance\\iterative_merges\\iterative_merges.py:1032: FutureWarning: iteritems is deprecated and will be removed in a future version. Use .items instead.\n",
416+
" for column_name, value in row['action'].to_frame().T.reset_index(drop=True).iteritems():\n"
417+
]
412418
}
413419
],
414420
"source": [
@@ -508,7 +514,7 @@
508514
{
509515
"data": {
510516
"text/plain": [
511-
"<aix360.algorithms.glance.iterative_merges.iterative_merges.C_GLANCE at 0x1ff9ffd8be0>"
517+
"<aix360.algorithms.glance.iterative_merges.iterative_merges.C_GLANCE at 0x1c4c57704f0>"
512518
]
513519
},
514520
"execution_count": 7,
@@ -601,20 +607,20 @@
601607
},
602608
{
603609
"cell_type": "code",
604-
"execution_count": 13,
610+
"execution_count": 9,
605611
"metadata": {},
606612
"outputs": [
607613
{
608614
"name": "stderr",
609615
"output_type": "stream",
610616
"text": [
611-
"100%|██████████| 1/1 [00:00<00:00, 1.90it/s]\n",
612-
"100%|██████████| 1/1 [00:00<00:00, 1.21it/s]\n",
613-
"100%|██████████| 1/1 [00:00<00:00, 1.91it/s]\n",
614-
"100%|██████████| 1/1 [00:00<00:00, 1.84it/s]\n",
615-
"100%|██████████| 1/1 [00:00<00:00, 1.47it/s]\n",
616-
"100%|██████████| 1/1 [00:00<00:00, 1.47it/s]\n",
617-
"100%|██████████| 1/1 [00:00<00:00, 1.15it/s]\n"
617+
"100%|██████████| 1/1 [00:00<00:00, 1.94it/s]\n",
618+
"100%|██████████| 1/1 [00:00<00:00, 1.28it/s]\n",
619+
"100%|██████████| 1/1 [00:00<00:00, 1.99it/s]\n",
620+
"100%|██████████| 1/1 [00:00<00:00, 2.42it/s]\n",
621+
"100%|██████████| 1/1 [00:00<00:00, 1.54it/s]\n",
622+
"100%|██████████| 1/1 [00:00<00:00, 1.55it/s]\n",
623+
"100%|██████████| 1/1 [00:00<00:00, 1.28it/s]\n"
618624
]
619625
},
620626
{
@@ -639,7 +645,7 @@
639645
},
640646
{
641647
"cell_type": "code",
642-
"execution_count": 20,
648+
"execution_count": 10,
643649
"metadata": {},
644650
"outputs": [
645651
{
@@ -662,7 +668,7 @@
662668
},
663669
{
664670
"cell_type": "code",
665-
"execution_count": 21,
671+
"execution_count": 11,
666672
"metadata": {},
667673
"outputs": [
668674
{

0 commit comments

Comments
 (0)