concept bit string in category big data

appears as: bit strings, The bit strings, bit strings, bit string
Introducing Data Science: Big data, machine learning, and more, using Python tools

This is an excerpt from Manning's book Introducing Data Science: Big data, machine learning, and more, using Python tools.

  • Creating bit strings. The bit strings are compressed versions of the columns’ content (0 and 1 values). First these binary values are concatenated; then the resulting bit string is reinterpreted as a number. This might sound abstract now but will become clearer in the code.
  • Defining hash functions. The hash functions will in fact create the bit strings.
  • First, you need to create bit strings. You need to convert the string “11111111” to a binary or a numeric value to make the hamming function work. We opted for a numeric representation, as shown in the next listing.

    Listing 4.9. Creating bit strings