Python
Python copied to clipboard
All Algorithms implemented in Python
### Describe your change: This pull request adds comprehensive doctests to functions within an existing file to improve test coverage and ensure functionality reliability. The updates are designed to better...
### Feature description In the physics section, you can add an algorithm that allows you to detect collisions of different types of primitives. This will be useful when creating games,...
Added AABB Collision Detection with Pygame Implemented AABB (Axis-Aligned Bounding Box) collision detection for two moving boxes. Boxes bounce back upon collision while a counter tracks the number of collisions...
This is another variant of in-place quicksort apart from 'Lomuto' and the 'Dutch National Flag algorithm' ### Describe your change: * [X] Add an algorithm? * [ ] Fix a...
### Describe your change: * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Add or change doctests? -- Note:...
### Describe your change: * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Add or change doctests? -- Note:...
### Describe your change: Fixes #12379 I have included safety checks as said in the issue as of now. These safety checks are meant to assure filter creation and stability...
### Describe your change: * [ ] Add an algorithm? * [x] Fix a bug or typo in an existing algorithm? * [ ] Add or change doctests? -- Note:...
### Describe your change: Fixes #12233 Resolved log(0) error in kullback_leibler_divergence function implemented in machine_learning/loss_functions.py by filtering zero probabilities from both y_pred and y_true to be completely safe * [...
New Parsing Input Functionality Implemented Performs Dijkstra's by storing it as an undirected Graph ### Describe your change: * [ ] Add an algorithm? * [ ] Fix a bug...