Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
raquellewei committed Nov 3, 2023
1 parent 23161b6 commit 2313877
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/objects/func_leaf_distance.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2313877

Please sign in to comment.