© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
J. AnderssonStatistical Analysis with Swifthttps://doi.org/10.1007/978-1-4842-7765-2_6

6. Statistical Methods for Data Compression

Jimmy Andersson1  
(1)
Västra Frölunda, Sweden
 

Statistical methods are not only applicable in hardcore data science topics. They also have applications in what could be considered more traditional computer science, such as compression algorithms. While there is active research conducted in compression via machine learning, we will explore, derive, and implement a much more medieval, rule-based algorithm.

An Introduction to Compression

The concept of compression is straightforward when looking at it from a high-level perspective. We ...

Get Statistical Analysis with Swift: Data Sets, Statistical Models, and Predictions on Apple Platforms now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.