internalsGet Pro

Module 02 · Lesson 5 of 8Pro

Notebooks or scripts: when to use each

Level
Beginner
Topic
Python for machine learning
Reading time
12 min

When you finish this page you can

  1. Explain why a notebook can show a result that its own cells no longer produce.
  2. Choose between a notebook, an executed notebook and a script for a piece of ML work, and say what would change the choice.
  3. Move a weekly notebook task into a script with functions, arguments and a clear exit code.
  4. Keep exploring in a notebook while it shares one copy of the code with the weekly job.
  1. The ML lifecycle: from problem to production12 min
  2. The ML toolkit: a map of libraries and platforms13 min

Run all stopped at cell 23

is our example online store. Its ML team works on a sample that fits in a free : about 1 million orders from 200,000 customers, across 50,000 products. Every Monday, Joseph’s growth team emails a ₹100 voucher to 20,000 customers who seem about to , or stop buying. That is ₹20 lakh of vouchers a week.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan