~/talk

Best Practices for Coding in ML/DS - Techniques to Construct your Project

Talkat PyData Yerevan 2022 · 2022-08-12..08-13· [developer-experience]
links:none on file
slides:none on file

Advice targets long‑lived ML projects: invest time upfront so future changes stay fast, enforce single responsibility principle and DRY, prefer descriptive names over one‑letter variables, minimize comments by using docstrings and type hints, and keep reproducible environments with pinned packages via requirements.txt or setup.py and virtualenvs. Move experiments out of notebooks into .py within 24 hours, use version control and structured commits, use logging not prints, and record experiments with tools like Neptune.ai, Weights & Biases or Aim for searchable, comparable results.

AI-written summary · about

  1. 0:00ML/DS project best practices
  2. 1:56Slow coding for long-term efficiency
  3. 3:24Poor code in ML consequences
  4. 8:43Clear variable names
  5. 10:35When to comment code
  6. 12:42Docstrings and type hints
  7. 15:55Jupyter notebooks problems
  8. 18:25IDE for ML development
  9. 21:56PyCharm Dataspell for coding
  10. 23:21Version control importance
  11. 24:26Reproducible experiments
  12. 25:51Debugging and logging
  13. 27:18Logging ML tools
  14. 28:40ML project design principles
  15. 31:48Iterative thinking in ML
  16. 32:11Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.