Skip to content

saurav-thakur/Machine-Learning-Algorithms-From-Scratch

Repository files navigation

Machine Learning Algorithms from Scratch

Welcome to the Machine Learning Algorithms from Scratch repository! This project is aimed at implementing various machine learning algorithms from the ground up, without relying on high-level libraries like Scikit-learn, TensorFlow, or PyTorch. The goal is to gain a deeper understanding of the underlying mathematics, logic, and mechanics of these algorithms.

Table of Contents

  1. Project Overview
  2. Algorithms Implemented
  1. Acknowledgments

Project Overview

This repository contains Python implementations of popular machine learning algorithms, written entirely from scratch. Each algorithm is implemented with a focus on clarity, simplicity, and educational value. The code is well-documented, and mathematical explanations are provided where necessary.

This project is ideal for:

  • Students learning machine learning.
  • Developers looking to understand the inner workings of ML algorithms.
  • Anyone interested in implementing ML algorithms without relying on pre-built libraries.

Algorithms

Here is a list of the algorithms currently being implemented in this repository:

Supervised Learning

  1. Linear Regression
  2. Logistic Regression
  3. Decision Trees
  4. Random Forest
  5. Support Vector Machines (SVM)
  6. k-Nearest Neighbors (k-NN)
  7. Naive Bayes
  8. Gradient Boosting (XGBoost, LightGBM)

Unsupervised Learning

  1. K-Means Clustering
  2. Hierarchical Clustering
  3. Principal Component Analysis (PCA)
  4. Gaussian Mixture Models (GMM)
  5. t-SNE (t-Distributed Stochastic Neighbor Embedding)

Neural Networks

  1. Perceptron
  2. Multi-Layer Perceptron (MLP)
  3. Convolutional Neural Networks (CNN)
  4. Recurrent Neural Networks (RNN)

Optimization Algorithms

  1. Gradient Descent
  2. Stochastic Gradient Descent (SGD)
  3. Adam Optimizer
  4. Genetic Algorithms


Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published