Book Image

Haskell Data Analysis Cookbook

By : Nishant Shukla
Book Image

Haskell Data Analysis Cookbook

By: Nishant Shukla

Overview of this book

Table of Contents (19 chapters)
Haskell Data Analysis Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 4. Data Hashing

In this chapter, we will cover the following recipes:

  • Hashing a primitive data type

  • Hashing a custom data type

  • Running popular cryptographic hash functions

  • Running a cryptographic checksum on a file

  • Performing fast comparisons between data types

  • Using a high-performance hash table

  • Using Google's CityHash hash functions for strings

  • Computing Geohash for location coordinates

  • Using a bloom filter to remove unique items

  • Running MurmurHash, a simple but speedy hashing algorithm

  • Measuring image similarity with perceptual hashes