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


Remembering Grace Hopper On Her 114th Anniversary
09/12/2024

Today sees the start of Computer Science Education Week and  the 2024 Hour of Code. These educational event are timed to coincide with Grace Hopper's birthday on January 9th, 1906 due to her conc [ ... ]



Swimm Releases Copilot Extension For Documentation
03/12/2024

Swimm, best known for its AI-driven software documentation tools, has announced an extension for GitHub Copilot. The Swimm team says the extension means developers using GitHub Copilot Chat can turn C [ ... ]


More News

espbook

 

Comments




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