https://github.com/jbroadway/distinctelements
A pure PHP implementation of the Distinct Elements in Streams algorithm for estimating the number of distinct elements in a set.
https://github.com/jbroadway/distinctelements
Last synced: 3 months ago
JSON representation
A pure PHP implementation of the Distinct Elements in Streams algorithm for estimating the number of distinct elements in a set.
- Host: GitHub
- URL: https://github.com/jbroadway/distinctelements
- Owner: jbroadway
- License: mit
- Created: 2024-05-22T21:07:34.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-05-22T22:19:25.000Z (11 months ago)
- Last Synced: 2025-01-19T00:52:33.454Z (3 months ago)
- Language: PHP
- Size: 4.88 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Distinct Elements in Streams



A pure PHP implementation of the Distinct Elements in Streams algorithm for estimating
the number of distinct elements in a set, from the following paper:https://arxiv.org/abs/2301.10191
Install using [Composer](https://getcomposer.org/):
```
composer require jbroadway/distinctelements
```Usage:
```php