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