Chemical buildings tend to be characterised by binary vectors during which Every vector component (with benefit 0 or 1) indicates absence or presence of a specific substructure (binary substructure descriptors). An correct and greatly utilised similarity measure for this kind of binary vectors may be the Tanimoto index (Willett 1987), https://t-tanimoto.net/