All Algorithms implemented in Python the-algorithms.com/
Go to file
Adithya Awati c290dd6a43
Update run.py in machine_learning/forecasting (#8957)
* Fixed reading CSV file, added type check for data_safety_checker function

* Formatted run.py

* updating DIRECTORY.md

---------

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2023-08-14 00:16:24 -07:00
.devcontainer [skip-ci] In .devcontainer/Dockerfile: pipx install pre-commit ruff (#8893) 2023-07-28 18:54:45 +02:00
.github Fix failing pytest quantum/bb84.py (#8838) 2023-06-26 08:54:50 +05:30
.vscode Create a Simultaneous Equation Solver Algorithm (#8773) 2023-06-02 07:14:25 +02:00
arithmetic_analysis Fix failing tests from ruff/newton_raphson (ignore S307 "possibly insecure function") (#8862) 2023-07-11 11:51:21 +02:00
audio_filters Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00
backtracking Add power sum problem (#8832) 2023-06-26 09:39:18 +02:00
bit_manipulation Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00
blockchain pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
boolean_algebra Update and_gate.py (#8690) 2023-05-10 21:38:52 +12:00
cellular_automata Create wa-tor algorithm (#8899) 2023-08-13 17:58:17 -07:00
ciphers Fix ruff rules ISC flake8-implicit-str-concat (#8892) 2023-07-28 17:53:09 +01:00
compression Fix ruff rules ISC flake8-implicit-str-concat (#8892) 2023-07-28 17:53:09 +01:00
computer_vision Revert "Add LeNet Implementation in PyTorch (#7070)" (#8621) 2023-04-08 06:22:26 +05:30
conversions Fix ruff errors (#8936) 2023-08-09 13:25:30 +05:30
data_structures Fix ruff errors (#8936) 2023-08-09 13:25:30 +05:30
digital_image_processing Fix greyscale computation and inverted coords (#8905) 2023-07-29 10:03:43 -07:00
divide_and_conquer [Upgrade Ruff] Fix all errors raised from ruff (#8879) 2023-07-22 12:05:10 +02:00
dynamic_programming Added implementation for Tribonacci sequence using dp (#6356) 2023-08-14 00:12:42 -07:00
electronics Fix ruff errors (#8936) 2023-08-09 13:25:30 +05:30
file_transfer Update receive_file.py (#8541) 2023-03-31 16:08:13 +02:00
financial Added apr_interest function to financial (#6025) 2023-06-19 13:46:29 +02:00
fractals Window closing fix (#8625) 2023-07-31 20:02:49 -07:00
fuzzy_logic Misc fixes across multiple algorithms (#6912) 2022-10-16 10:55:38 +05:30
genetic_algorithm Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00
geodesy pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
graphics Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00
graphs Fix ruff errors (#8936) 2023-08-09 13:25:30 +05:30
greedy_methods Added minimum waiting time problem solution using greedy algorithm (#8701) 2023-05-01 12:23:03 +02:00
hashes Revamp md5.py (#8065) 2023-04-01 22:05:01 +02:00
knapsack pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
linear_algebra Reduce the complexity of linear_algebra/src/polynom_for_points.py (#8605) 2023-08-13 03:05:42 -07:00
linear_programming Simplex algorithm (#8825) 2023-06-18 18:00:02 +02:00
machine_learning Update run.py in machine_learning/forecasting (#8957) 2023-08-14 00:16:24 -07:00
maths Fix ruff errors (#8936) 2023-08-09 13:25:30 +05:30
matrix Fix ruff errors (#8936) 2023-08-09 13:25:30 +05:30
networking_flow clean of unnecessary checks, imports, calls (#7993) 2022-11-21 00:00:27 +13:00
neural_network Fix ruff errors (#8936) 2023-08-09 13:25:30 +05:30
other Added Altitude Pressure equation (#8909) 2023-07-30 17:00:58 +02:00
physics Ruff fixes (#8913) 2023-07-31 13:53:26 -07:00
project_euler [Upgrade Ruff] Fix all errors raised from ruff (#8879) 2023-07-22 12:05:10 +02:00
quantum Disable quantum/quantum_random.py (attempt 2) (#8902) 2023-07-28 22:08:40 +02:00
scheduling Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
scripts Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00
searches improvements to jump_search.py (#8932) 2023-08-08 14:47:09 -07:00
sorts Update sorts/bubble_sort.py (#5802) 2023-07-31 11:50:00 -07:00
strings Fix ruff rules ISC flake8-implicit-str-concat (#8892) 2023-07-28 17:53:09 +01:00
web_programming updated the URL and HTML tags for scrapping yahoo finance (#8942) 2023-08-12 14:58:37 -07:00
.gitattributes Create .gitattributes for Cross OS compatibility (#3410) 2020-10-17 07:25:25 +02:00
.gitignore chore: update .gitignore (#6263) 2022-07-23 07:56:59 +05:30
.gitpod.yml Change gitpod configuration for python3. (#1827) 2020-04-07 12:20:08 +02:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate (#8930) 2023-08-07 19:52:39 -04:00
CONTRIBUTING.md Add note in CONTRIBUTING.md about not asking to be assigned to issues (#8871) 2023-07-22 12:11:04 +02:00
DIRECTORY.md Update run.py in machine_learning/forecasting (#8957) 2023-08-14 00:16:24 -07:00
LICENSE.md LICENSE: Year change (#5920) 2022-03-16 23:40:48 +08:00
pyproject.toml Fix ruff rules ISC flake8-implicit-str-concat (#8892) 2023-07-28 17:53:09 +01:00
README.md chore: use newest Discord invite link (#8696) 2023-07-30 18:15:30 -07:00
requirements.txt Fix failing build due to missing requirement (#8900) 2023-07-28 20:12:31 +02:00

The Algorithms - Python

Gitpod Ready-to-Code Contributions Welcome Discord chat Gitter 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 and Gitter! 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.