Learn To Build ML Algorithms From Scratch With Python
Written by Nikos Vaggalis   
Thursday, 16 February 2023

A free course about implementing the most popular machine learning algorithms using only pure Python and Numpy.

First of all why you would want to learn to implement those algorithms than let a library like Pytorch handle them for you?
While a library hides the implementation details, if you're really looking to understand how things work you have to go behind the covers. That is true especial useful if you are into Data Science.

As such the algorithms that are going to be implemented in the course are :

  • KNN
  • Linear Regression
  • Logistic Regression
  • Naive Bayes
  • Perceptron
    SVM
  • Decision Tree
  • Random Forest
  • Principal Component Analysis (PCA)
  • K-Means
  • AdaBoost
  • Linear Discriminant Analysis (LDA)

The course is made by Python Engineer Patrick Loeber who constantly releases high quality courses and tutorials
on Python and ML, and you can expect the same sort of quality on this on too.

It is offered as a multi-part Youtube playlist or as a single piece full course. In any case the showcase of the 12 Algorithms it is comprised of spans up to 5 hours in length.

The accompanying code can be found on the project's Github repo. The project has the following dependencies:

  • numpy for the maths implementation and writing the algorithms
  • Scikit-learn for the data generation and testing.
  • Matplotlib for the plotting.
  • Pandas for loading data.

Note, however, that only numpy is used for the implementations. The others help in the testing of code and making it easy - instead of having to write that from scratch too. To follow along you just need basic Python, object-oriented programming and the basics of NumPy.

All in all, this is a very useful and excellent course on the fundamentals building blocks of Machine Learning. Totally recommended.

 

More Information

ML algorithms from Scratch on Github

Youtube playlist

Single piece full course

Related Articles

Triple Treat Machine Learning

The Year of AI Breakthroughs 2022

Take Google's Machine Learning Crash Course

 

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


GR00T Could Be The Robot You Have Always Wanted
27/03/2024

We may not have flying cars, but we could well soon have robots that match up to predictions for the 21st century. Nvidia has announced GR00T, a cleverly named project to build robots using foundation [ ... ]



Rust Twice As Productive As C++
03/04/2024

Google director of engineering, Lars Bergstrom, gave a talk at the recent Rust Nation UK conference and claimed that Rust was twice as productive as C++. Given how good Google is at C++, this is quite [ ... ]


More News

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info