Squawk Box Europe - 15-May-26

CNBC International Live
CNBC International LiveMay 15, 2026

Why It Matters

The tutorial shows business analysts how to rapidly prototype predictive models, speeding up data‑driven decisions and lowering reliance on specialized data‑science resources.

Key Takeaways

  • Python’s scikit-learn simplifies linear regression model building quickly.
  • Import NumPy and Matplotlib for data handling and visualization.
  • Generate synthetic dataset to demonstrate regression fitting process.
  • Plot shows regression line closely aligns with data points.
  • R‑squared metric quantifies model’s explanatory power and fit quality.

Summary

The video walks viewers through building a simple linear regression model in Python using scikit‑learn, targeting analysts who need a quick, reproducible method for predictive modeling.

It begins by importing NumPy for numerical operations and Matplotlib for charting, then creates a synthetic dataset of X and y values. The scikit‑learn LinearRegression class is fitted to the training data, and the resulting line is plotted alongside the points, illustrating a close visual fit.

The presenter highlights that “the regression line fits the data points quite well,” and demonstrates extracting the R‑squared score, which in the example exceeds 0.9, confirming strong explanatory power.

By showcasing a minimal end‑to‑end workflow, the tutorial underscores how finance and business teams can prototype models without deep statistical expertise, accelerating data‑driven decision‑making and reducing reliance on external data‑science resources.

Original Description

CNBC's Steve Sedgwick, Karen Tso and Julianna Tatelbaum co-anchor Squawk Box Europe live from London. The trio dive into the biggest stories shaping both public markets and traditional asset classes. Please note this livestream is only available in Europe and India.

Comments

Want to join the conversation?

Loading comments...