GitHunt
ZE

zenwor/pytorch-algo-impl

Implementations and explanations of various algorithms in PyTorch

PyTorch Algorithm Implementation

About pytorch-algo-impl

Repository created as a collection of various algorithm implementations in PyTorch - to be updated as I am learning, in hopes of helping other people who struggled with similar problems.

Main idea, that may be contrary to popular preference, is to comment code thoroughly (and sometimes even "obviously"), so that beginners may benefit from explanations as much as possible.

⚠️ Commenting practice is not the best compared to industry standards and should be taken with lots of consideration!

Table of Contents

  1. Linear Regression
    1. Linear Regression with 1 variable   (weight)
    2. Linear Regression with 2 variables (weight, bias)
    3. Linear Regression with 2 variables (weight, bias) - PyTorch nn.Module implementation
  2. Logistic Regression
    1. Logistic regression - standard binary classification problem
    2. Logistic regression - standard multiclass classification problem

TODO

  • Linear Regression - separate explanation (either LaTeX or in Jupyter Notebook)

Languages

Jupyter Notebook95.7%Python4.3%

Contributors

GNU General Public License v3.0
Created July 9, 2023
Updated November 27, 2024
zenwor/pytorch-algo-impl | GitHunt