You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data1=np.random.rand([1000,100])
data2=np.random.rand([1000,100])
mc = MetricComparisons(data1])
mc.return_data_overlap(data2, k = 20))
Error Message
File "/u/dssc/zenocosini/miniconda3/envs/crfm-helm/lib/python3.10/site-packages/dadapy/metric_comparisons.py", line 545, in return_data_overlap
dist_indices2 = self._get_nn_indices(self.X, None, self.dist_indices)
AttributeError: 'MetricComparisons' object has no attribute 'dist_indices'. Did you mean: 'distances'?
The text was updated successfully, but these errors were encountered:
Subject of the issue
Hi, I'm rewriting to report a bug when calling return_data_overlap.py in metric_comparison.py
My environment
Steps to reproduce
data1=np.random.rand([1000,100])
data2=np.random.rand([1000,100])
mc = MetricComparisons(data1])
mc.return_data_overlap(data2, k = 20))
Error Message
File "/u/dssc/zenocosini/miniconda3/envs/crfm-helm/lib/python3.10/site-packages/dadapy/metric_comparisons.py", line 545, in return_data_overlap
dist_indices2 = self._get_nn_indices(self.X, None, self.dist_indices)
AttributeError: 'MetricComparisons' object has no attribute 'dist_indices'. Did you mean: 'distances'?
The text was updated successfully, but these errors were encountered: