🌐
GitHub
github.com › KhaledAshrafH › Logistic-Regression
GitHub - KhaledAshrafH/Logistic-Regression: This program implements logistic regression from scratch using the gradient descent algorithm in Python to predict whether customers will purchase a new car based on their age and salary.
This program implements logistic regression from scratch using the gradient descent algorithm in Python to predict whether customers will purchase a new car based on their age and salary. - KhaledAshrafH/Logistic-Regression
Starred by 8 users
Forked by 4 users
Languages   Python 100.0% | Python 100.0%
🌐
Atmamani
atmamani.github.io › projects › ml › implementing-logistic-regression-in-python
Implementing Gradient Descent for Logistic Regression - Atma's blog
Note: At this point, I realize my gradient descent is not really optimizing well. The equation of the decision boundary line is way off. Hence I approach to solve this problem using Scikit-Learn and see what its parameters are. Using the logistic regression from SKlearn, we fit the same data ...
🌐
GitHub
github.com › PierreExeter › logistic-regression-from-scratch › blob › master › logistic_regression_from_scratch.ipynb
logistic-regression-from-scratch/logistic_regression_from_scratch.ipynb at master · PierreExeter/logistic-regression-from-scratch
"fitting the coefficients $\\theta$. This is done by computing the derivative of the loss function with respect to each coefficient $\\theta$. This gradient is an indication of how much the loss would vary if we change the coefficient.
Author   PierreExeter
🌐
GitHub
github.com › vdhyani96 › LogisticRegression-stochastic-gradient-descent
GitHub - vdhyani96/LogisticRegression-stochastic-gradient-descent: Implementing Logistic Regression with stochastic gradient descent in Python from scratch
Implementing Logistic Regression with stochastic gradient descent in Python from scratch - vdhyani96/LogisticRegression-stochastic-gradient-descent
Author   vdhyani96
🌐
nick becker
beckernick.github.io › logistic-regression-from-scratch
Logistic Regression from Scratch in Python - nick becker
November 5, 2016 - Since the likelihood maximization in logistic regression doesn’t have a closed form solution, I’ll solve the optimization problem with gradient ascent. Gradient ascent is the same as gradient descent, except I’m maximizing instead of minimizing a function. Before I do any of that, though, I need some data. Like I did in my post on building neural networks from scratch...
🌐
GitHub
github.com › perborgen › LogisticRegression
GitHub - perborgen/LogisticRegression: Logistic regression from scratch in Python
Logistic regression from scratch in Python · This example uses gradient descent to fit the model.
Starred by 332 users
Forked by 273 users
Languages   Python 100.0% | Python 100.0%
🌐
GitHub
github.com › sumeyye-agac › logistic-regression-from-scratch
GitHub - sumeyye-agac/logistic-regression-from-scratch: Implementation of logistic regression from scratch using stochastic gradient descent (SGD) algorithm
Numpy functions are used to implement linear algebra operations (in-built functions are not used). Run LRusingSGD.py in a Python IDE or the terminal by typing: python LRusingSGD.py
Author   sumeyye-agac
Find elsewhere
🌐
Optimization Daily
optimization-daily.netlify.app › posts › 2022-07-13-logistic-regression-and-gradient-descent-in-python
Optimization Daily: Logistic Regression and Gradient Descent in Python
July 13, 2022 - In this post we will walk through how to train a Logistic Regression model from scratch using Gradient Descent in Python. Blake Conrad https://github.com/conradbm 2022-07-13
🌐
GitHub
github.com › upul › logistic_regression
GitHub - upul/logistic_regression: Logistic Regression from the Scratch using Python and Numpy
Build logistic regression model from the scratch using Python/Numpy. Basic building blocks (written as Python functions) of the logistic regression model will be tested using unit tests.
Starred by 14 users
Forked by 5 users
Languages   Jupyter Notebook 100.0% | Jupyter Notebook 100.0%
🌐
GitHub
github.com › tirthshah147 › Logistic-Regression
GitHub - tirthshah147/Logistic-Regression: Logistic Regression is implemented in Python from scratch without using any third-party Python libraries. Gradient descent, cost function, and other algorithms are also implemented.
Logistic Regression is implemented in Python from scratch without using any third-party Python libraries. Gradient descent, cost function, and other algorithms are also implemented. - tirthshah147/Logistic-Regression
Forked by 2 users
Languages   Jupyter Notebook 100.0% | Jupyter Notebook 100.0%
🌐
GitHub
github.com › topics › gradient-descent
gradient-descent · GitHub Topics · GitHub
February 25, 2026 - This project consists of building a multi-class logistic regression classifier (One-vs-All) from scratch in order to recreate the famous Sorting Hat. python machine-learning numpy machine-learning-algorithms pandas logistic-regression matplotlib ...
🌐
GitHub
github.com › kmdanielduan › Logistic-Regression-on-MNIST-with-NumPy-from-Scratch
GitHub - yawen-d/Logistic-Regression-on-MNIST-with-NumPy-from-Scratch: Implementing Logistic Regression on MNIST dataset from scratch
Implement and train a logistic regression model from scratch in Python on the MNIST dataset (no PyTorch). The logistic regression model should be trained on the Training Set using stochastic gradient descent.
Starred by 25 users
Forked by 10 users
Languages   Python 100.0% | Python 100.0%
🌐
GitHub
github.com › nikadeap › Gradient-Descent-Algorithm-for-Logistic-Regression
GitHub - nikadeap/Gradient-Descent-Algorithm-for-Logistic-Regression: Implement a gradient descent algorithm for logistic regression
Implement a gradient descent algorithm for logistic regression - GitHub - nikadeap/Gradient-Descent-Algorithm-for-Logistic-Regression: Implement a gradient descent algorithm for logistic regression
Starred by 10 users
Forked by 12 users
Languages   Jupyter Notebook 100.0% | Jupyter Notebook 100.0%
🌐
Pushkarasharma
pushkarasharma.github.io › 2020 › 07 › 11 › logistic_reg_scratch.html
Logistic Regression from Scratch with Only Python Code - Hello, world! I'm Pushkara Sharma
July 11, 2020 - This function takes dataset, epochs(number of iterations), and alpha(learning rate) as arguments. In the function, cost_history is initialized to append the cost after every epoch and parametersto hold the set of parameters(no.
🌐
GitHub
github.com › anjalibhavan › PyGrad
GitHub - anjalibhavan/PyGrad: Implementation of Gradient Descent and its variations.
July 19, 2018 - This repository is made for implementation of gradient descent and its variations, and Logistic and Linear Regression models from scratch. Currently the following algorithms have been implemented: ... More algorithms will be added further on.
Author   anjalibhavan
🌐
Dataquest
dataquest.io › blog › logistic-regression-in-python
An Intro to Logistic Regression in Python (100+ Code Examples)
January 7, 2025 - In this section, you'll build your own custom logistic regression model using stochastic gradient descent.
🌐
GitHub
github.com › sachelsout › logistic-regression-from-scratch
GitHub - sachelsout/logistic-regression-from-scratch: This repository has the implementation of Logistic Regression algorithm from scratch, using SGD (Stochastic Gradient Descent). Scikit Learn library is not used.
This repository has the implementation of Logistic Regression algorithm from scratch, using SGD (Stochastic Gradient Descent). Scikit Learn library is not used. - sachelsout/logistic-regression-fro...
Author   sachelsout
🌐
IBM
developer.ibm.com › articles › implementing-logistic-regression-from-scratch-in-python
Implementing logistic regression from scratch in Python
Implement binary logistic regression from scratch in Python using NumPy. Learn sigmoid functions, binary cross-entropy loss, and gradient descent with real code.