Skip to content

Commit

Permalink
Update mockingbird.py
Browse files Browse the repository at this point in the history
  • Loading branch information
msrocean authored Feb 10, 2022
1 parent b34b55b commit 435d29c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mockingbird.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@

# Compute the distance between the modified source traces
# and the selected target traces
dist = distance(X_sample_new, X_others_samples)
dist = distance(X_sample_new, X_others_samples,feat)
min_dist = np.argmin(dist) # contains the index of min distance
max_dist = np.argmax(dist) # contains the index of max distance

Expand Down

0 comments on commit 435d29c

Please sign in to comment.