Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 05a7bf6

Browse files
intermediate commit
1 parent 5a74704 commit 05a7bf6

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

‎README.md‎

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ The notebooks highlight techniques such as:
1717

1818
The notebooks can be accessed through:
1919
* [H2O Aquarium (Recommended)](https://github.com/jphall663/interpretable_machine_learning_with_python#h2o-aquarium-recommended)
20+
* [Virtualenv (Advanced)]()
2021
* [Docker container (Advanced)](https://github.com/jphall663/interpretable_machine_learning_with_python#docker-installation)
2122
* [Manual installation (Advanced)](https://github.com/jphall663/interpretable_machine_learning_with_python#manual-installation)
2223

@@ -106,12 +107,36 @@ H2O Aquarium is a free educational environment that hosts these notebooks among
106107

107108
11. Click `End Lab` when you are finished.
108109

110+
### Virtualenv Installation
111+
112+
1. Install [Git](https://git-scm.com/downloads).
113+
114+
2. Clone this repository with the examples.</br>
115+
`$ git clone https://github.com/jphall663/interpretable_machine_learning_with_python.git`
116+
117+
3. Install Anaconda Python 5.1.0 from the [Anaconda archives](https://repo.continuum.io/archive/) and add it to your system path.
118+
119+
4. Change directories into the cloned repository.</br>
120+
`$ cd interpretable_machine_learning_with_python`
121+
122+
5. Create a Python 3.6 virtual environment.</br>
123+
`$ virtualenv -p /path/to/anaconda3/bin/python3.6 env_iml`.
124+
125+
6. Activate the virtual environment.</br>
126+
`$ source env_iml/bin/activate`
127+
128+
7. Install the correct packages for the example notebooks.</br>
129+
`$ pip install -r requirements.txt`
130+
131+
8. Start Jupyter.</br>
132+
`$ jupyter notebook`
109133

110134
### Docker Installation
111135

112136
A Dockerfile is provided to build a docker container with all necessary packages and dependencies. This is a way to use these examples if you are on Mac OS X, \*nix, or Windows 10. To do so:
113137

114-
1. Install and start [docker](https://www.docker.com/).
138+
1. Clone the example notebooks
139+
2. Install and start [docker](https://www.docker.com/).
115140

116141
From a terminal:
117142

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /