What Textbooks Don't Tell You About Curve Fitting

Artem Kirsanov March 31, 2025
Video Thumbnail
Artem Kirsanov Logo

Artem Kirsanov

@artemkirsanov

About

Exploring how neural systems learn and compute — at the intersection of neuroscience, computer science, and mathematics. Created by a Harvard neuroscience researcher.

Video Description

Head to https://squarespace.com/artem to save 10% off your first purchase of a website or domain using code ARTEMKIRSANOV Socials: X/Twitter: https://x.com/ArtemKRSV Patreon: https://patreon.com/artemkirsanov My name is Artem, I'm a graduate student at NYU Center for Neural Science and researcher at Flatiron Institute. In this video we dive deep into a probabilistic interpretation behind the core linear regression algorithm from the ground up. We talk about how the least squares objective naturally arises when we try to maximize the probability of observed data under the model, and how the square is a result of assuming Gaussian distribution of the noise in the samples. We also explore how incorporating prior beliefs about the distribution of model parameters leads to different kinds of regularization in objective functions. Outline: 00:00 Introduction 01:16 What is Regression 02:11 Fitting noise in a linear model 06:02 Deriving Least Squares 07:46 Sponsor: Squarespace 09:04 Incorporating Priors 12:06 L2 regularization as Gaussian Prior 14:30 L1 regularization as Laplace Prior 16:16 Putting all together

Master Curve Fitting Today

AI-recommended products based on this video

Loading...
75 FT Garden Hose – 2025 Upgarded Expandable Garden Hose w/10 Pattern Spray Nozzle, 650psi Pure Brass 3/4” Fittings – Lightweight, Durable, and Kink-Free, Retractable Water Hoses for Gardening(Black)

75 FT Garden Hose – 2025 Upgarded Expandable Garden Hose w/10 Pattern Spray Nozzle, 650psi Pure Brass 3/4” Fittings – Lightweight, Durable, and Kink-Free, Retractable Water Hoses for Gardening(Black)

(62)
$31.95$29.00
FREE delivery Sat, Jun 28 on your first order
1K+ bought in past month
Loading...
100 FT Garden Hose – 2025 Upgarded Expandable Garden Hose w/10 Pattern Spray Nozzle, 650psi Pure Brass 3/4” Fittings – Lightweight, Durable, and Kink-Free, Retractable Water Hoses for Gardening(Black)

100 FT Garden Hose – 2025 Upgarded Expandable Garden Hose w/10 Pattern Spray Nozzle, 650psi Pure Brass 3/4” Fittings – Lightweight, Durable, and Kink-Free, Retractable Water Hoses for Gardening(Black)

(51)
$45.95
FREE delivery Mon, Jun 23
2K+ bought in past month
Loading...
Zhjvihx Indoor Air Quality Meter, 18 in 1 CO2 TVOC HCHO PM2.5 PM10 Temp Humidity Data Storage Black, with 2.8in HD Screen 7h Battery, Highly Sensitive Sensors, Data Curve Display

Zhjvihx Indoor Air Quality Meter, 18 in 1 CO2 TVOC HCHO PM2.5 PM10 Temp Humidity Data Storage Black, with 2.8in HD Screen 7h Battery, Highly Sensitive Sensors, Data Curve Display

(0)
$42.21
FREE delivery Aug 19 - 29
Loading...
Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

(55)
$199.99
FREE delivery Sat, Feb 7
Loading...
Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

(56)
$149.99
FREE delivery Tue, Nov 11
Loading...
Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

(57)
$139.99
FREE delivery Wed, Sep 24
Loading...
Laplink PCmover Ultimate 11 - Migration of your Applications, Files and Settings from an Old PC to a New PC - Data Transfer Software - With Optional High Speed Ethernet Cable - 1 License

Laplink PCmover Ultimate 11 - Migration of your Applications, Files and Settings from an Old PC to a New PC - Data Transfer Software - With Optional High Speed Ethernet Cable - 1 License

(4,609)
$54.95
PrimeFREE delivery Sat, Jun 14
Loading...
Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

(55)
$199.99
FREE delivery Sat, Feb 7
Loading...
Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

(56)
$149.99
FREE delivery Tue, Nov 11
Loading...
Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

(57)
$139.99
FREE delivery Wed, Sep 24
Loading...
Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

(55)
$199.99
FREE delivery Sat, Feb 7
Loading...
Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

(56)
$149.99
FREE delivery Tue, Nov 11
Loading...
Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

(57)
$139.99
FREE delivery Wed, Sep 24
Loading...
Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

(55)
$199.99
FREE delivery Sat, Feb 7
Loading...
Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

(56)
$149.99
FREE delivery Tue, Nov 11
Loading...
Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

Curve Smart Watch for Men Women, 1.91" Smartwatches with 120+ Sport Modes, Fitness Tracker with Bluetooth Call, Waterproof Activity Tracker Smartwatch for iOS Android Phones

(57)
$139.99
FREE delivery Wed, Sep 24