From 928c8e956a2f8a63410651c5397128be930211e2 Mon Sep 17 00:00:00 2001 From: Amit Sharma Date: Wed, 28 Apr 2021 17:18:37 +0530 Subject: [PATCH] updated for version update (#128) --- docs/source/conf.py | 2 +- docs/source/dice_ml.rst | 8 ++++++++ docs/source/notebooks/DiCE_with_private_data.ipynb | 3 ++- docs/source/notebooks/nb_index.rst | 3 +++ setup.py | 6 +++--- 5 files changed, 17 insertions(+), 5 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 827f8a6a..b86fe6eb 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -22,7 +22,7 @@ author = 'Ramaravind, Amit, Chenhao' # The full version, including alpha/beta/rc tags -release = '0.5' +release = '0.6' # -- General configuration --------------------------------------------------- diff --git a/docs/source/dice_ml.rst b/docs/source/dice_ml.rst index 9d68361b..298b2c22 100644 --- a/docs/source/dice_ml.rst +++ b/docs/source/dice_ml.rst @@ -15,6 +15,14 @@ Subpackages Submodules ---------- +dice\_ml.constants module +------------------------- + +.. automodule:: dice_ml.constants + :members: + :undoc-members: + :show-inheritance: + dice\_ml.counterfactual\_explanations module -------------------------------------------- diff --git a/docs/source/notebooks/DiCE_with_private_data.ipynb b/docs/source/notebooks/DiCE_with_private_data.ipynb index db9d233d..3b3037cb 100644 --- a/docs/source/notebooks/DiCE_with_private_data.ipynb +++ b/docs/source/notebooks/DiCE_with_private_data.ipynb @@ -4,6 +4,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ + "# Generating Counterfactual Explanations without access to training data\n", "If only the trained model is available but not the training data, DiCE can still be used to generate counterfactual explanations. Below we show an example where DiCE uses only basic metadata about each feature used in the ML model. " ] }, @@ -376,7 +377,7 @@ "toc": { "base_numbering": 1, "nav_menu": {}, - "number_sections": true, + "number_sections": false, "sideBar": true, "skip_h1_title": false, "title_cell": "Table of Contents", diff --git a/docs/source/notebooks/nb_index.rst b/docs/source/notebooks/nb_index.rst index 63afde5b..41ac6e4c 100644 --- a/docs/source/notebooks/nb_index.rst +++ b/docs/source/notebooks/nb_index.rst @@ -7,6 +7,9 @@ Example notebooks :caption: Notebooks: DiCE_getting_started + DiCE_feature_importances.ipynb + DiCE_multiclass_classification_and_regression.ipynb + DiCE_model_agnostic_CFs.ipynb DiCE_with_private_data DiCE_with_advanced_options DiCE_getting_started_feasible diff --git a/setup.py b/setup.py index 191841a6..fcc87c71 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setuptools.setup( name="dice_ml", - version="0.5", + version="0.6", license="MIT", author="Ramaravind Mothilal, Amit Sharma, Chenhao Tan", author_email="raam.arvind93@gmail.com", @@ -25,8 +25,8 @@ long_description=long_description, long_description_content_type="text/x-rst", url="https://github.com/interpretml/DiCE", - download_url="https://github.com/interpretml/DiCE/archive/v0.5.tar.gz", - python_requires='>=3.4', + download_url="https://github.com/interpretml/DiCE/archive/v0.6.tar.gz", + python_requires='>=3.5', packages=setuptools.find_packages(), classifiers=[ "Programming Language :: Python :: 3",