Skip to content

Commit 499a910

Browse files
committed
improvements in exercises instructions
1 parent 14f7590 commit 499a910

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.*.swp
33
*.pyc
44
.DS_Store
5+
*.pdf
56

67
# folder to be used for working on the exercises
78
workspace

tutorial/exercises.rst

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ Exercises
22
=========
33

44
To do the exercises, copy the content of the 'skeletons' folder as
5-
a new folder named 'workspaces'.
5+
a new folder named 'workspace'.
66

77
Then fire an ipython shell and run the work-in-progress script with::
88

9-
>>> %run workspace/exercise_XX_script.py arg1 arg2 arg3
9+
[1] %run workspace/exercise_XX_script.py arg1 arg2 arg3
1010

1111
If an exception is triggered, use the ``%debug`` to fire-up a post
1212
mortem ipdb session.
@@ -24,6 +24,10 @@ Exercise 1: Sentiment Analysis on movie reviews
2424

2525
- Evaluate the performance on a held out test set.
2626

27+
ipython command line::
28+
29+
%run workspace/exercise_01_sentiment.py data/movie_reviews/txt_sentoken/
30+
2731

2832
Exercise 2: Language identification
2933
-----------------------------------
@@ -33,6 +37,10 @@ Exercise 2: Language identification
3337

3438
- Evaluate the performance on some held out test set.
3539

40+
ipython command line::
41+
42+
%run workspace/exercise_02_language_train_model.py data/languages/paragraphs/
43+
3644

3745
Exercise 3: CLI text classification utility
3846
-------------------------------------------
@@ -53,3 +61,6 @@ Exercise 4: Face recognition
5361
Build a classifier that recognize person on faces pictures from the
5462
Labeled Faces in the Wild dataset.
5563

64+
ipython command line::
65+
66+
%run workspace/exercise_04_face_recognition.py data/data/labeled_faces_wild/lfw_preprocessed/

0 commit comments

Comments
 (0)