Understanding Compression by Colt McAnlis
Author:Colt McAnlis
Language: eng
Format: epub
Publisher: O'Reilly Media
Published: 2016-07-11T00:00:00+00:00
Applying delta coding here didn’t produce a less dynamic range, and we still need to encode the entire set with log2(maxValue).
But things could become even worse than that. Consider this sequence of woe:
[1,3,10,8,6]
Perform Delta coding → and cry:
[1,3–1,10–3,8–10,6–8] → [1,2,7,–2,–2]
In this set, we have subsequent values that are larger than their predecessors, and we end up with negative values in the transformed set. The largest positive value is 7, so we could store the positive values as LOG2(7) = 3 bits each. Sadly though, we now need to represent those negative values, meaning that we need to store an extra bit per symbol, requiring 4 bits.
These kinds of situations are extremely common and are exactly where delta coding falls over and becomes less effective. But there’s a whole slew of modifications you can apply to make this algorithm more robust, regardless of the data to which you’re applying it.
Let’s take a look at a few simple examples.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
AI & Machine Learning | Bioinformatics |
Computer Simulation | Cybernetics |
Human-Computer Interaction | Information Theory |
Robotics | Systems Analysis & Design |
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8261)
Test-Driven Development with Java by Alan Mellor(6395)
Data Augmentation with Python by Duc Haba(6294)
Principles of Data Fabric by Sonia Mezzetta(6072)
Hadoop in Practice by Alex Holmes(5941)
Learn Blender Simulations the Right Way by Stephen Pearson(5930)
Microservices with Spring Boot 3 and Spring Cloud by Magnus Larsson(5817)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5786)
RPA Solution Architect's Handbook by Sachin Sahgal(5211)
Big Data Analysis with Python by Ivan Marin(5181)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(5108)
The Infinite Retina by Robert Scoble Irena Cronin(4903)
Pretrain Vision and Large Language Models in Python by Emily Webber(4157)
Functional Programming in JavaScript by Mantyla Dan(4021)
The Age of Surveillance Capitalism by Shoshana Zuboff(3917)
Infrastructure as Code for Beginners by Russ McKendrick(3915)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3619)
Embracing Microservices Design by Ovais Mehboob Ahmed Khan Nabil Siddiqui and Timothy Oleson(3431)
Applied Machine Learning for Healthcare and Life Sciences Using AWS by Ujjwal Ratan(3404)
