Skip to content

Commit

Permalink
fix: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoMagnini committed May 3, 2023
1 parent 49086bb commit 9e62753
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM python:3.9
EXPOSE 8888
RUN apt update; apt install -y -q openjdk-17-jdk
RUN pip install jupyter
RUN pip install lime
COPY requirements.txt .
Expand Down
18 changes: 15 additions & 3 deletions demo-lime.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@
"Both tasks are performed on tabular data, so expect to see the LimeTabularExplainer class in action.\n",
"\n",
"The notebook is organised into two main parts (one for task) and each part is further divided into subsections:\n",
"1. Regression<br>\n",
" 1. [**imports and utility functions**](#imports)<br>\n",
"\n",
"0. [**imports**](#imports)<br>\n",
"1. [**Regression**](#regression)<br>\n",
" 2. [**dataset description and analysis**](#regression-dataset)<br>\n",
" 3. [**training and evaluation**](#regression-training)<br>\n",
" 4. [**explanation**](#regression-explanation)<br>\n",
"2. Classification<br>\n",
"2. [**Classification**](#classification)<br>\n",
" 1. [**dataset description and analysis**](#classification-dataset)<br>\n",
" 2. [**training and evaluation**](#classification-training)<br>\n",
" 3. [**explanation**](#classification-explanation)<br>\n",
Expand Down Expand Up @@ -74,6 +75,16 @@
"INDEX = 100"
]
},
{
"cell_type": "markdown",
"source": [
"<a id='regression'></a>\n",
"## Regression"
],
"metadata": {
"collapsed": false
}
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -1154,6 +1165,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<a id='classification'></a>\n",
"## Classification"
]
},
Expand Down
4 changes: 4 additions & 0 deletions requirements-demo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pandas>=1.5.3
numpy>=1.24.2
scikit-learn>=1.2.2
lime>=0.2.0.1

0 comments on commit 9e62753

Please sign in to comment.