0% found this document useful (0 votes)
11 views4 pages

Basics of ML

Uploaded by

ah19022004
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views4 pages

Basics of ML

Uploaded by

ah19022004
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

DIY Projects

Implement ML
Algorithms from
Scratch
Difficulty - Beginner
Expected time to finish 7-9 Days​

Introduction
In this project, our aim is to learn and implement ML algorithms from scratch. We will
understand the mechanics of ML algorithms and how to transform mathematical
functions into functional code. We will cover the following ML algorithms:-

● K-Nearest Neighbours (KNN) - Classification & Regression

● Naive Bayes - Classification

● Decision Trees - Classification and Regression

Tech Stack
2

● Python
● PyTorch
● Matplotlib ( for visualization)

Resources

● If you are not already comfortable with Python :


○ Learn the Basics of Python with a focus on Data Science
■ Python for Data Science - Course for Beginners (Learn Python, P…
○ Use the following timestamps:
■ (1:37:25) How to Launch a Jupyter Notebook
■ ️(1:46:28) How to Code in the iPython Shell
■ ️(1:53:33) Variables and Operators in Python
■ ️(2:27:45) Booleans and Comparisons in Python
■ ️(2:55:37) Other Useful Python Functions
■ ️(3:20:04) Control Flow in Python
■ ️(5:11:52) Functions in Python
■ ️(6:41:47) Modules in Python

● Learn Basic OOP in Python

https://www.youtube.com/playlist?list=PL-osiE80TeTsqhIuOqKhwlXsIBIdSeYtc (videos
1-4 will be sufficient for our purpose )
3

● Learn NumPy and Matplotlib


○ Overview of essential NumPy operations
■ Complete Python NumPy Tutorial (Creating Arrays, Indexing, M…
○ Reading material on NumPy-
■ https://cs231n.github.io/python-numpy-tutorial/
○ Go through Kaggle Notebook, identifying the syntax for various types of
data representations
■ https://www.kaggle.com/code/prashant111/matplotlib-tutorial-for-b
eginners/notebook

● Learn and Implement KNN Algorithm-


○ Basic Idea of KNN -
■ StatQuest: K-nearest neighbors, Clearly Explained
○ Implementation -
■ KNN Classification & Regression in Python (See the tutorial until
13:24, then try implementing on your own first)
○ Blog Post -
■ https://towardsdatascience.com/how-to-build-knn-from-scratch-in-p
ython-5e22b8920bd2

● Learn and Implement Naive-Bayes.


○ Basic Idea of Naive-Bayes
■ Naive Bayes, Clearly Explained!!!
4

■ Reading Material -
https://cs229.stanford.edu/summer2020/cs229-notes5.pdf ( pages 8 - 14)
○ Implementation
■ Naive Bayes Classifier in Python (from scratch!)
■ Blog Post -
https://towardsdatascience.com/implementing-naive-bayes-algorithm-fro
m-scratch-python-c6880cfc9c41

● Learn and Implement Decision Tree.


○ Basic Idea in Decision Tree -
■ Decision and Classification Trees, Clearly Explained!!!
○ Ideas Before Starting to Implement
■ Classification
● Decision Tree Classification Clearly Explained!
■ Regression
● Decision Tree Regression Clearly Explained!
○ Implementation
■ Classification
● Decision Tree Classification in Python (from scratch!)
■ Regression
● Decision Tree Regression in Python (from scratch!)

Submission
Form Link - https://forms.gle/sHmvzS1gT4LBxXa28

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy