4 Commits

Author SHA1 Message Date
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