7 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
930c4d463f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-11-21 09:08:39 +00:00
Lukas Olenyi
bad910e71c fixed last issues with ruff 2024-11-21 10:07:01 +01:00
pre-commit-ci[bot]
4359762495 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-11-21 08:48:54 +00:00
Lukas Olenyi
653f8e4d4f trying to make the code pass ruff auto review 2024-11-21 09:48:26 +01:00
pre-commit-ci[bot]
521d7a23fa [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-11-21 01:26:03 +00:00
Lukas Olenyi
2c279c492d feat: Add PPM (Prediction by Partial Matching) algorithm implementation
- Implemented the PPM algorithm for data compression and decompression.
- Added methods for updating the model, encoding, and decoding symbols.
- Included utility functions for reading from files and testing the algorithm.
- Verified functionality with various datasets to ensure accuracy.

This addition enhances the repository's collection of Python algorithms.
2024-11-21 02:16:20 +01:00
Lukas Olenyi
2f37ee9077 feat: Add PPM (Prediction by Partial Matching) algorithm implementation
- Implemented the PPM algorithm for data compression and decompression.
- Added methods for updating the model, encoding, and decoding symbols.
- Included utility functions for reading from files and testing the algorithm.
- Verified functionality with various datasets to ensure accuracy.

This addition enhances the repository's collection of Python algorithms.
2024-11-21 02:10:53 +01:00