{ "cells": [ { "cell_type": "markdown", "id": "6fd9d930", "metadata": {}, "source": [ "# Explainability Report" ] }, { "cell_type": "markdown", "id": "87da435e", "metadata": {}, "source": [ "# Global dataset report" ] }, { "cell_type": "markdown", "id": "e7e84194", "metadata": {}, "source": [ "We report the following SageMaker analysis." ] }, { "cell_type": "markdown", "id": "e0453fb2", "metadata": {}, "source": [ "#### Explanations for \"label0\"" ] }, { "cell_type": "markdown", "id": "2615cecb", "metadata": {}, "source": [ "The Model has `10` input features. We computed KernelShap on the dataset `dataset` and display the `10` features with the greatest feature attribution.\n", "

" ] }, { "cell_type": "markdown", "id": "fce2b1a8", "metadata": {}, "source": [ "## Analysis Configuration Parameters" ] }, { "cell_type": "markdown", "id": "1334f2d5", "metadata": {}, "source": [ "```\n", "{\n", " \"label\": \"CAR_HCPS_PMT_AMT\",\n", " \"headers\": [\n", " \"CAR_HCPS_PMT_AMT\",\n", " \"BENE_SEX_IDENT_CD\",\n", " \"BENE_AGE_CAT_CD\",\n", " \"CAR_LINE_ICD9_DGNS_CD\",\n", " \"CAR_LINE_HCPCS_CD\",\n", " \"CAR_LINE_BETOS_CD\",\n", " \"CAR_LINE_SRVC_CNT\",\n", " \"CAR_LINE_PRVDR_TYPE_CD\",\n", " \"CAR_LINE_CMS_TYPE_SRVC_CD\",\n", " \"CAR_LINE_PLACE_OF_SRVC_CD\",\n", " \"CAR_LINE_CNT\"\n", " ],\n", " \"dataset_type\": \"text/csv\",\n", " \"methods\": {\n", " \"shap\": {\n", " \"baseline\": [\n", " [\n", " \"\",\n", " \"\",\n", " \"\",\n", " \"\",\n", " \"\",\n", " \"\",\n", " \"\",\n", " \"\",\n", " \"\",\n", " \"\"\n", " ]\n", " ],\n", " \"num_samples\": 2048,\n", " \"agg_method\": \"mean_abs\",\n", " \"save_local_shap_values\": true,\n", " \"use_logit\": false\n", " },\n", " \"report\": {\n", " \"name\": \"explainability-report\",\n", " \"title\": \"Explainability Report\"\n", " }\n", " }\n", "}\n", "```" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "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.13" } }, "nbformat": 4, "nbformat_minor": 5 }