Python
Python copied to clipboard
All Algorithms implemented in Python
## Description Add FNV-1a (Fowler-Noll-Vo) hash algorithm implementation to the hashes module. ## Changes - Add `hashes/fnv1a.py` with two functions: - `fnv1a_32()`: 32-bit FNV-1a hash - `fnv1a_64()`: 64-bit FNV-1a hash...
Support Vector Machine (SVM) Classifier with Hyperparameter Tuning Implementation of SVM classification with grid search for optimal hyperparameters using the breast cancer Wisconsin dataset. SVM is a supervised machine learning...
### Describe your change: * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Add or change doctests? -- Note:...
Implement a function to find two unique numbers in a list where every other number appears twice. The function raises errors for empty lists and non-integer elements. ### Describe your...
### Describe your change: * [Yes ] Add an algorithm? * [x] Fix a bug or typo in an existing algorithm? * [x] Add or change doctests? -- Note: Please...
Implement function to count number of longest increasing subsequence ### Describe your change: * [ ] Add an algorithm? * [ ] Fix a bug or typo in an existing...
Adding fast_fourier_transform.py ### Describe your change: * [x] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Add or change doctests?...
In the Boolean Algebra Readme file, I had added a brief explanation of basic gates like 'and', 'or' and 'not'. Also added a brief explanation of derived gates like 'NAND',...
send_email ### Describe your change: * [ y] Add an algorithm? * [ y] Fix a bug or typo in an existing algorithm? * [ y] Add or change doctests?...
### Describe your change: * [x] Add an algorithm * [ ] Fix a bug or typo in an existing algorithm * [ ] Add or change doctests * [...