[ad_1]
In this video, part of my series on “Machine Learning”, I explain how to perform Linear Regression for a 2D dataset using the Ordinary Least Squares method. This is Part 2 where I demonstrate how to code the algorithm in JavaScript, using the p5.js library
Link to Part 1:
This video is part of session 3 of my Spring 2017 ITP “Intelligence and Learning” course (
Support this channel on Patreon:
To buy Coding Train merchandise:
Send me your questions and coding challenges!:
Contact:
Twitter:
The Coding Train website:
Links discussed in this video:
Session 3 of Intelligence and Learning:
Nature of Code:
kwichmann’s Linear Regression Diagnostics:
Linear Regression on Wikipedia:
Anscombe’s quartet on Wikipedia:
My video on the p5.js map() function:
Source Code for the all Video Lessons:
p5.js:
Processing:
For More Coding Challenges:
For More Intelligence and Learning:
Help us caption & translate this video!