| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repository demonstrates the implementation of various deep learning models using PyTorch, focusing on regression and classification tasks.
This project implements three main types of models:
A simple linear regression model implementing y = Wx + b
L1(y, ŷ) = |y - ŷ|
w = w - learning_rate * gradient
Implementation of binary classification using a neural network on the make_moons dataset.
Sequential(
Linear(2 → 10)
ReLU()
Linear(10 → 10)
ReLU()
Linear(10 → 10)
ReLU()
Linear(10 → 1)
)BCE(x, y) = -[y * log(σ(x)) + (1 - y) * log(1 - σ(x))]
Implementation of multi-class classification on a spiral dataset.
Sequential(
Linear(2 → 10)
ReLU()
Linear(10 → 10)
ReLU()
Linear(10 → 10)
ReLU()
Linear(10 → 3)
)CE(x, y) = -Σ y_i * log(softmax(x_i))
m_t = β_1 * m_{t-1} + (1 - β_1) * g_t
v_t = β_2 * v_{t-1} + (1 - β_2) * g_t^2
git clone https://github.com/yourusername/pytorch-regression-classification.git
cd pytorch-regression-classification
pip install -r requirements.txtjupyter notebook notebook.ipynbThis project is licensed under the MIT License - see the LICENSE.md file for details
Contributions, issues, and feature requests are welcome! Feel free to check issues page.
| Back | FazBrowse Home | New Git URL |