Skip to content

Commit d252557

Browse files
committed
ENH Add AWS code from the book
1 parent ba4e379 commit d252557

File tree

4 files changed

+40
-0
lines changed

4 files changed

+40
-0
lines changed

‎ch12/README.rst‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
==========
2+
Chapter 12
3+
==========
4+
5+
Support code for *Chapter 12: Big(ger) Data*
6+
7+
Data
8+
----
9+
10+
This chapter relies only on the image dataset that is packaged with the
11+
repository at ``../SimpleImageDataset/``.
12+
13+
Scripts
14+
-------
15+
16+
jugfile.py
17+
Example jugfile
18+
image-classification.py
19+
Jugfile implementation of image classification from Chapter 10
20+
21+
setup-aws.txt
22+
Commands to setup Amazon WebServices machine
23+
run-jugfile.sh
24+
Wrapper script to run jug file on jugfile.py
25+
run-image-classification.sh
26+
Wrapper script to run jug file on image-classification.py

‎ch12/run-image-classification.sh‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env bash
2+
3+
jug execute image-classification.py

‎ch12/run-jugfile.sh‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
jug execute
4+

‎ch12/setup-aws.txt‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
sudo yum update
2+
sudo yum -y install python-devel python-pip numpy scipy python-matplotlib
3+
sudo yum -y install gcc-c++
4+
sudo yum -y install git
5+
sudo pip-python install -U pip
6+
sudo pip install scikit-learn jug mahotas
7+

0 commit comments

Comments
(0)