Writing Code for Science and Data (Keynote)
summary
Argues that scientific code must let experiments run fast yet become reusable, so work organizes into functions moved to modules, simple estimator API objects, and fast unit tests checking mathematical properties (no global RNG side effects) to keep results reproducible; shows scikit-learn as a production-ready toolbox built on numpy arrays with pure functions where possible, automated interface tests, and practical hacks like memoize to disk for long runs and Sphinx-gallery examples.
AI-written summary · about
chapters (10)
- 0:00Introduction to coding for science
- 6:41Iterative workflow in science
- 10:30Reproducibility and reusability challenges
- 16:33Code organization and modularity
- 22:15Library design principles
- 30:46Testing and refactoring libraries
- 35:21Machine learning in Python
- 40:28Documentation and examples
- 41:54Summary and closing remarks
- 42:19Q&A session
