From 4096e75532d24c23154319989d5069aef22538e6 Mon Sep 17 00:00:00 2001 From: joaquintb Date: Mon, 15 Jul 2024 17:58:49 +0200 Subject: [PATCH] tight_layout updated --- 04-explainability/shap_plots.ipynb | 43 ++++++++---------------------- 1 file changed, 11 insertions(+), 32 deletions(-) diff --git a/04-explainability/shap_plots.ipynb b/04-explainability/shap_plots.ipynb index ec3cc72..276c38d 100644 --- a/04-explainability/shap_plots.ipynb +++ b/04-explainability/shap_plots.ipynb @@ -17,18 +17,9 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "c:\\Users\\JoaquĆ­n Torres\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\site-packages\\tqdm\\auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n", - " from .autonotebook import tqdm as notebook_tqdm\n" - ] - } - ], + "outputs": [], "source": [ "import pandas as pd\n", "import numpy as np\n", @@ -73,7 +64,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -286,16 +277,16 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ - "method_name = 'OVER'" + "method_name = 'ORIG_CW'" ] }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -306,7 +297,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -331,7 +322,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -344,7 +335,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -385,21 +376,9 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "ename": "NameError", - "evalue": "name 'attribute_names' is not defined", - "output_type": "error", - "traceback": [ - "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[1;31mNameError\u001b[0m Traceback (most recent call last)", - "Cell \u001b[1;32mIn[8], line 1\u001b[0m\n\u001b[1;32m----> 1\u001b[0m plot_distance_heatmap(dist_matrix, \u001b[43mattribute_names\u001b[49m, soc_var_names, method_name)\n", - "\u001b[1;31mNameError\u001b[0m: name 'attribute_names' is not defined" - ] - } - ], + "outputs": [], "source": [ "plot_distance_heatmap(dist_matrix, attribute_names, soc_var_names, method_name)" ] -- 2.24.1