Skip to content

All the ML algorithms, ML models are coded from scratch by pure Python/Numpy with the Math under the hood. It works well on CPU.

License

Notifications You must be signed in to change notification settings

giangtranml/ml-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8606746 · May 8, 2023

History

18 Commits
Jul 26, 2022
Jul 26, 2022
Apr 14, 2021
Mar 25, 2020
Apr 5, 2020
Mar 25, 2020
Apr 5, 2020
May 8, 2023
Apr 14, 2021
Jul 26, 2022
Apr 5, 2020
Apr 4, 2020
Mar 25, 2020
Jul 26, 2022
Mar 25, 2020
Jul 26, 2022
Mar 25, 2020
Apr 20, 2020
Jun 25, 2021
Mar 25, 2020
Mar 25, 2020

Repository files navigation

Machine Learning from scratch

About

This ML repository is all about coding Machine Learning algorithms from scratch by Numpy with the math under the hood without Auto-Differentiation frameworks like Tensorflow, Pytorch, etc. Some advanced models in Computer Vision, NLP require Tensorflow to quickly get the idea written in paper.

Repository structure

As a software engineer, I follow the principle of OOP to construct the repository. You can see that NeuralNetwork class will use FCLayer, BatchNormLayer, ActivationLayer class and CNN class will use ConvLayer, PoolingLayer, FCLayer, ActivationLayer,... This helps me easily reuse every piece of code I wrote as well as for readable code.

Dependencies:

  • tqdm, numpy, sklearn, matplotlib

Table of contents

About

All the ML algorithms, ML models are coded from scratch by pure Python/Numpy with the Math under the hood. It works well on CPU.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published