Perhaps not exactly the right link, but Andrew Ng's Machine Learning course (also from Stanford) teaches exactly the required things in the first three weeks: https://www.coursera.org/learn/machine-learning
https://cs.brown.edu/video/channels/coding-matrix-fall-2014/
And this one on Machine Learning: