- dataset_similarity(a, b, metric=None)[source]
Calculate the similarity between two datasets.
- Return type:
A scalar value between 0 and 1 where closer to 1 means the datasets are more similar based on the metric.
ValueError – if an invalid metric type is passed. Right now, there’s only tanimoto, but this could change in later.