Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.38 KB

File metadata and controls

32 lines (25 loc) · 1.38 KB

Welcome to Session 3

Learning goals

By the end of Session 3, you should be able to:

  • explain the difference between iterables, iterators, and generators
  • use iter(), next(), file iteration, and yield
  • choose when to stream data and when to load all data into memory
  • estimate time and space complexity for common text-processing tasks
  • use Gemini on a text dataset for structured character and event extraction
  • build a tiny RAG pipeline with chunking, retrieval, and Gemini
  • recognize algorithmic patterns that do not scale well

Recommended order

  1. Part 1
  2. Part 2
  3. Part 3
  4. Homework
  5. Write your own work in solutions.
  6. Review reference solutions only after attempting tasks yourself.
  7. Practice with quizzes when ready.

Notes

  • Keep your own solutions in separate files inside solutions/.
  • Use exercise-style names in solutions/ (for example exercise-03-01.py, exercise-03-02.py, exercise-03-03.py).
  • Reference answers are in session_solutions/.
  • Do not commit .venv/ to GitHub.
  • Use requirements.txt for Parts 1 and 2. Use requirements-homework.txt in a separate environment for Part 3 and the Gemini homework tasks.
  • Pull the latest repository changes before starting each session.