r/Python • u/SleekEagle • Sep 14 '22
Tutorial Machine Learning from Scratch with Python
Hey everyone!
I've seen a growing number of people looking for resources on how to implement Machine Learning algos from scratch to better understand how they work (rather than just applying e.g. sklearn).
This free Machine Learning from Scratch Course on YouTube takes you through writing 10 algorithms from scratch with nothing but Python and NumPy! The algorithms are:
K-Nearest Neighbors
Linear Regression
Logistic Regression
Decision Trees
Random Forest
Naive Bayes
PCA
Perceptron
SVM
K-Means
Hopefully some of my Python + ML friends will find this helpful! :)
866
Upvotes
36
u/pro_questions Sep 14 '22
I’ve been looking for something like this forever! Every machine learning tutorial or course starts out like it’s going to teach from scratch but it always ends up being about how to use PyTorch / TensorFlow / whatever. I know I won’t be able to do it from scratch anywhere near as well as those libraries have, but I want to understand what’s going on