Skip to content

r1shbh/models-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ML/AI Algorithms from scratch in Python (numpy)

My practice playground for implementing the algorithms I come across while studying ML/AI.

Logistic Regression

LogisticRegression.py Binary classification (1 layer) model which predicts probability if a sample belongs to a given class or not. Hyperparametrs used:

  • eta: Learning rate
  • epochs: Number of iterations of learning
  • random_state: Seed for random generator

Cost/Loss function: Log-likelihood

Optimizer: Batch gradient descent

linear_models:

Consists of codes for LinearRegression, LogisticRegression, Adaline, Perceptron

LeNet 5 Architecture (CNN)

  • Implemented Forward propogation
  • User can specify model hyperparameters like: Number of layers, number of nodes, type of layer(dense/conv/pool), learning rate, etc. --- Still in progress ---

About

Implementing different Machine Learning/ Deep Learning models from scratch.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages