How to mimic regression with a constrained least squares optimization Get the code for this video at https://github.com/jamesdvance/video_code
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.