Skip to main content

Linear Regression With Least Squares Optimization (Tutorial 1)

Difficulty level

This is the first of a series of tutorials on fitting models to data. In this tutorial, we start with simple linear regression, using least squares optimization.

Topics covered in this lesson
  • Learn how to calculate the mean-squared error (MSE)
  • Explore how model parameters (slope) influence the MSE
  • Learn how to find the optimal model parameter using least-squares optimization

Experience with Python Programming Language

Back to the course