diff --git a/src/objects/func_leaf_distance.py b/src/objects/func_leaf_distance.py index 644c060..4007f1d 100644 --- a/src/objects/func_leaf_distance.py +++ b/src/objects/func_leaf_distance.py @@ -33,6 +33,9 @@ def get_pairwise_vector(self, basis=None, isdistance=True): for func2 in labels: print(f"funcs: {func1}, {func2}") print(indices[func1], indices[func2]) + print(type(indices[func1]), type(indices[func2])) + print(self.dists) + print(self.dists[indices[func1], indices[func2]]) y.append(self.dists[indices[func1], indices[func2]]) y = np.array(y) # by default, the values are: 0 = most dissimilar, 1 = most similar, so to convert to a distance, we subtract from 1