Skip to content

Commit d0b11c6

Browse files
committed
Merge branch 'development' of github.com:gjbex/Python-for-machine-learning into development
2 parents 60cfc8c + 56ac17a commit d0b11c6

File tree

6 files changed

+191748
-171
lines changed

6 files changed

+191748
-171
lines changed

environment.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: python_for_machine_learning
22
channels:
3-
- defaults
3+
- conda-forge
44
dependencies:
55
- keras
66
- scikit-learn
@@ -11,6 +11,8 @@ dependencies:
1111
- seaborn
1212
- holoviews
1313
- ipywidgets
14-
# - hyperopt
15-
prefix: /home/gjb/miniconda3/envs/python_for_machine_learning
16-
14+
- lime
15+
- ca-certificates
16+
- certifi
17+
- openssl
18+
prefix: /home/gjb/mambaforge/envs/python_for_machine_learning

python_for_machine_learning_linux64_conda_specs.txt

Lines changed: 217 additions & 167 deletions
Large diffs are not rendered by default.

source-code/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@ to create it. There is some material not covered in the presentation as well.
3030
the Kullback-Leibler divergence for probability distributions.
3131
* [`curse_of_dimensionality.ipynb`](curse_of_dimensionality.ipynb): illustration of
3232
the curse of dimensionality.
33+
* [`lime`](lime/): illustration of using LIME to explain machine learning
34+
models.

source-code/lime/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# LIME
2+
3+
LIME is a tool to make machine learning models explainable. It is a blackbox
4+
algorithm that simply requires a function that will generate the output of the
5+
model for given input.
6+
7+
8+
## What is it?
9+
10+
1. `wine_and_lime.ipynb`: application of LIME to a random forest classification
11+
model for a Kaggle dataset on the quality of white wine.
12+
1. `data`: directory containing the data.

0 commit comments

Comments
 (0)