Skip to content

Commit e9486b0

Browse files
committed
Merge branch 'master' of https://github.com/lukas/ml-class
2 parents b05848a + 0dc274f commit e9486b0

File tree

1 file changed

+19
-76
lines changed

1 file changed

+19
-76
lines changed

README.md

Lines changed: 19 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -2,56 +2,23 @@
22

33
These are materials I use for various classes on deep learning. Each file is a self contained unit that demonstrates a specific thing. Downloading or cloning this repository before class is a great way to follow along.
44

5-
# Reusing the materials
6-
7-
Please feel free to use these materials for your own classes/projects etc. If you do that, I would love it if you sent me a message and let me know what you're up to.
8-
95
# Videos
106

11-
You can find video overviews of a lot of the material at https://youtu.be/Zxrk88rA7fA.
12-
13-
## Prerequisites
14-
15-
These classes are intended for people who are comfortable wirth python.
16-
17-
### Reading material for people who haven't done a lot of programming
18-
19-
If you are uncomfortable opening up a terminal, I strongly recommend doing a quick tutorial before you take this class. Setting up your machine can be painful but once you're setup you can get a ton out of the class. I recommend getting started ahead of time.
20-
21-
If you're on Windows I recommend checking out http://thepythonguru.com/.
22-
23-
If you're on a Mac check out http://www.macworld.co.uk/how-to/mac/coding-with-python-on-mac-3635912/
7+
You can find short, free video classes at https://youtu.be/Zxrk88rA7fA. The code for all of the videos is in the directory *videos*.
248

25-
If you're on linux, you're probably already reasonably well setup :).
9+
# Examples
2610

27-
If you run into trouble, the book Learn Python the Hard Way has installation steps in great detail: https://learnpythonthehardway.org/book/ex0.html. It also has a refresher on using a terminal in the appendix.
11+
In my in-person classes, I typically use a lot of the examples in the directory *examples*. This code is liable to change as I update things.
2812

29-
### Reading material for people who are comfortable with programming, but haven't done a lot of python
30-
31-
If you are comfortable opening up a terminal but want a python intro/refresher check out https://www.learnpython.org/ for a really nice introduction to Python.
32-
33-
### Suggestions for people who have done a lot of programming in python
34-
35-
A lot of people like to follow along with ipython or jupyter notebooks and I think that's great! It makes data exploration easier. I also really appreciate pull requests to make the code clearer.
36-
37-
If you've never used pandas or numpy - they are great tools and I use them heavily in my work and for this class. I assume no knlowedge of pandas and numpy but you may want to do some learning on your own. You can get a quick overview of pandas at http://pandas.pydata.org/pandas-docs/stable/10min.html. There is a great overview of numpy at https://docs.scipy.org/doc/numpy/user/quickstart.html.
38-
39-
## Installation
40-
I recommend running this code in a pre-configured environment. You can rent an AWS EC2 node with any of the "Deep Learning" AMIs from aws.amazon.com or a GCP instance.
41-
42-
Once you have a cloud machine setup run:
43-
44-
```
45-
pip install -r requirements.txt
46-
```
13+
# Reusing the materials
4714

48-
You can also install this class locally, but it may be trickier.
15+
Please feel free to use these materials for your own classes/projects etc. If you do that, I would love it if you sent me a message and let me know what you're up to.
4916

5017
### Windows
5118

5219
#### Git
5320

54-
Install git: https://git-scm.com/download/win
21+
Install git if you don't have it: https://git-scm.com/download/win
5522

5623
#### Anaconda
5724

@@ -78,19 +45,6 @@ activate ml-class
7845

7946
Whenever you start a new terminal, you will need to call `activate ml-class`.
8047

81-
#### Common problems
82-
83-
The most common problem is an old version of python. Its easy to have multiple versions of python installed at once and Macs in particular come with a default version of python that is too old to install tensorflow.
84-
85-
Try running:
86-
87-
```
88-
python --version
89-
```
90-
91-
If your version is less than 2.7.12, you have a version issue. Try reinstalling python 2.
92-
93-
9448
#### Clone this github repository
9549
```
9650
git clone https://github.com/lukas/ml-class.git
@@ -125,39 +79,28 @@ If you get an error message here, most likely you don't have git installed. Go
12579
```
12680
pip install -r requirements.txt
12781
```
128-
## Check installation
12982

130-
To make sure your installation works go to the directory where this file is and run
131-
```
132-
python test-scikit.py
133-
```
13483

135-
You should see the output "Scikit is installed!"
84+
### Reading material for people who haven't done a lot of programming
13685

137-
```
138-
python test-keras.py
139-
```
86+
If you are uncomfortable opening up a terminal, I strongly recommend doing a quick tutorial before you take this class. Setting up your machine can be painful but once you're setup you can get a ton out of the class. I recommend getting started ahead of time.
14087

141-
You should see the output "Using TensorFlow backend. Keras is installed!"
88+
If you're on Windows I recommend checking out http://thepythonguru.com/.
14289

143-
##Troubleshooting on Ubuntu
90+
If you're on a Mac check out http://www.macworld.co.uk/how-to/mac/coding-with-python-on-mac-3635912/
14491

145-
If the above 2 commands fail and you see an error "ImportError no module named".. verify if you have multiple versions of python installed, specially if you are on Ubuntu version 16 or higher.
92+
If you're on linux, you're probably already reasonably well setup :).
14693

147-
Run python --version
148-
-- may be you have v2.7?
149-
Run python3 --version
150-
-- may be you have python 3.5+?
94+
If you run into trouble, the book Learn Python the Hard Way has installation steps in great detail: https://learnpythonthehardway.org/book/ex0.html. It also has a refresher on using a terminal in the appendix.
15195

152-
If you have python3 installed, verify your ml-class installation by running below commands
153-
python3 test-scikit.py
154-
```
96+
### Reading material for people who are comfortable with programming, but haven't done a lot of python
15597

156-
You should see the output "Scikit is installed!"
98+
If you are comfortable opening up a terminal but want a python intro/refresher check out https://www.learnpython.org/ for a really nice introduction to Python.
15799

158-
```
159-
python3 test-keras.py
160-
```
100+
### Suggestions for people who have done a lot of programming in python
101+
102+
A lot of people like to follow along with ipython or jupyter notebooks and I think that's great! It makes data exploration easier. I also really appreciate pull requests to make the code clearer.
103+
104+
If you've never used pandas or numpy - they are great tools and I use them heavily in my work and for this class. I assume no knlowedge of pandas and numpy but you may want to do some learning on your own. You can get a quick overview of pandas at http://pandas.pydata.org/pandas-docs/stable/10min.html. There is a great overview of numpy at https://docs.scipy.org/doc/numpy/user/quickstart.html.
161105

162-
You should see the output "Using TensorFlow backend. Keras is installed!"
163106

0 commit comments

Comments
 (0)