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(7852)
Hadoop in Practice by Alex Holmes(5660)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5512)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(4507)
Functional Programming in JavaScript by Mantyla Dan(3723)
The Age of Surveillance Capitalism by Shoshana Zuboff(3422)
Big Data Analysis with Python by Ivan Marin(3009)
Blockchain Basics by Daniel Drescher(2891)
The Rosie Effect by Graeme Simsion(2708)
WordPress Plugin Development Cookbook by Yannick Lefebvre(2602)
Hands-On Machine Learning for Algorithmic Trading by Stefan Jansen(2518)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2478)
Dawn of the New Everything by Jaron Lanier(2438)
Test-Driven Development with Java by Alan Mellor(2378)
The Art Of Deception by Kevin Mitnick(2297)
Data Augmentation with Python by Duc Haba(2224)
Rapid Viz: A New Method for the Rapid Visualization of Ideas by Kurt Hanks & Larry Belliston(2195)
Human Dynamics Research in Smart and Connected Communities by Shih-Lung Shaw & Daniel Sui(2178)
The Infinite Retina by Robert Scoble Irena Cronin(2175)