Update reference in README

Signed-off-by: Jacob Torrey <jacob@thinkst.com>
pull/11/head
Jacob Torrey 2024-01-12 09:51:16 -07:00
rodzic d6f6eaf454
commit 828e1f49f1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -9,7 +9,7 @@ faster approximation to be embeddable and more scalable.
## Compression-based detector (`zippy.py` and `nlzmadetect`)
ZipPy uses either the LZMA or zlib compression ratios as a way to indirectly measure the perplexity of a text.
Compression ratios have been used in the past to [detect anomalies in network data](http://owncloud.unsri.ac.id/journal/security/ontheuse_compression_Network_anomaly_detec.pdf)
Compression ratios have been used in the past to [detect anomalies in network data](https://ieeexplore.ieee.org/abstract/document/5199270)
for intrusion detection, so if perplexity is roughly a measure of anomalous tokens, it may be possible to use compression to detect low-perplexity text.
LZMA and zlib create a dictionary of seen tokens and then use though in place of future tokens. The dictionary size, token length, etc.
are all dynamic (though influenced by the 'preset' of 0-9--with 0 being the fastest but worse compression than 9). The basic idea