Similarity functions for boolean data

A boolean data is a data that only have two possible values, usually represented as 0 and 1 (or False and True resp.).

Similarity functions

 * XNOR similarity