somrita-banerjeepre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>Christian Clausscclauss
102078a50a Add vectorized implementations of Linear Regression using Gradient Descent (#13221)
* Add naive and vectorized implementations of Linear Regression using Gradient Descent

* Add references section to docstrings in linear regression implementations

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Refactor function signatures for improved readability in linear regression implementation

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Refactor function signatures for improved readability in linear regression implementation

* Update README sections for dataset inputs and usage instructions in linear regression implementations

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add doctests for dataset collection and gradient descent functions

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Refactor imports and improve README formatting in linear regression scripts

* fix doctests

* Remove linear regression naive implementation script

* Refactor docstring and improve script documentation for clarity

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix formatting in gradient_descent doctest and streamline main function call

* fix doctest

* updating DIRECTORY.md

* Change httpx to httpx2 and update docstring

Updated import from httpx to httpx2 and modified docstring for dataset return type.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: cclauss <cclauss@users.noreply.github.com>
2026-09-12 01:27:12 +02:00
2026-09-05 20:05:56 +02:00

The Algorithms - Python

Gitpod Ready-to-Code Contributions Welcome Discord chat
GitHub Workflow Status pre-commit code style: black

All algorithms implemented in Python - for education 📚

Implementations are for learning purposes only. They may be less efficient than the implementations in the Python standard library. Use them at your discretion.

🚀 Getting Started

📋 Read through our Contribution Guidelines before you contribute.

🌐 Community Channels

We are on Discord! Community channels are a great way for you to ask questions and get help. Please join us!

📜 List of Algorithms

See our directory for easier navigation and a better overview of the project.

Languages
Python 99.8%
Shell 0.2%