Machine Learning Recipes for Large Scale problems
summary
Compares concrete Python tools for scaling ML: uses multiprocessing pool and joblib with memmapping for multi-core work, and ipython-cluster load balancing for distributed runs (ipcluster -n N). Shows a sentiment case splitting ~50,000 tweets per partition and averaging four perceptron fits, and a grid search over SVC C and gamma in logspace run in parallel. Demonstrates out‑of‑core training with scikit‑learn partial_fit on the digits dataset and notes where methods actually benefit from parallelism.
AI-written summary · about
chapters (10)
- 0:00Introduction to large scale ML
- 2:55Single machine parallelization
- 6:54Joblib for parallel tasks
- 12:01Multi-machine parallelization
- 18:25MapReduce approaches
- 19:29Embarrassingly parallel ML
- 21:52Inter-process communication ML
- 26:51Model selection with cross-validation
- 29:21Handling out-of-memory data
- 33:57Q&A on resource usage
