internalsGet Pro

Module 02 · Lesson 4 of 8Pro

Plotting data to understand it

Level
Beginner
Topic
Python for machine learning
Reading time
13 min

When you finish this page you can

  1. Pick the plot that answers your question about a dataset, for one column, a feature against the label, or two columns.
  2. Read a histogram for peaks, spikes, long tails and impossible values, and say what each means for the model.
  3. Compare a feature across label classes, and spot separation that is too good to be true.
  4. Plot 200,000 points without hiding where most of them are.
  1. Data, features and labels14 min
  2. pandas for preparing ML data14 min

The average gap is 36 days. Most customers aren’t average

is our example online store. Farah, an ML engineer, is building its model: it predicts which customers will stop buying, so Joseph’s growth team can send them a voucher. The model’s label says a customer has left after 60 days with no order.

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