Python
Python copied to clipboard
All Algorithms implemented in Python
### Describe your change: [Ruff](https://beta.ruff.rs/) supports [over 500 lint rules](https://beta.ruff.rs/docs/rules) including bandit, isort, pylint, pyupgrade, and flake8 plus its plugins, and is written in Rust for speed. The `ruff` Action...
### Describe your change: Add Project Euler problem 131 solution 1: * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [...
### Describe your change: Reduce the complexity of digital_image_processing/edge detection/canny.py from 17 to 11 * [ ] Add an algorithm? * [x] Fix a bug or typo in an existing...
### Describe your change: Reduce the complexity of graphs/bi_directional_dijkstra.py from 19 to 6 * [ ] Add an algorithm? * [x] Fix a bug or typo in an existing algorithm?...
### Describe your change: * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [x] Add or change doctests? -- Note: Please...
https://artifact.news/posts/p/4218252804743616019?s=8545508865735357353
### Describe your change: I implemented from scratch a multinomial naive bayes classifier. The algorithm is trained and tested on the twenty_newsgroup dataset from sklearn to perform text classification *...
### Feature description #9943 So I was adding doctests to a nested function in fibonacci.py, however doctest doesn't seem to be testing that function. The function in this case is...
### Describe your change: * [ ] Add an algorithm? * [x] Fix a bug or typo in an existing algorithm? * [ ] Add or change doctests? -- Note:...
### Feature description Many of our existing algorithm files have little to no unit testing. This is problematic because this can easily let bugs slip through. We want some assurance...