Skip to content

Commit

Permalink
Update pertpy/tools/_distances/_distances.py
Browse files Browse the repository at this point in the history
Co-authored-by: Eljas Roellin <[email protected]>
  • Loading branch information
wxicu and eroell authored Jun 5, 2024
1 parent d413d67 commit b7f2cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pertpy/tools/_distances/_distances.py
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ def _kde_eval(d, grid):
# Kernel choice: Gaussian is too smoothing and cosine or other kernels that do not stretch out
# can not be compared well on regions further away from the data as they are -inf
kde = KernelDensity(bandwidth="silverman", kernel="exponential").fit(d)
return _parrallel_score_samples(kde, grid)
return _parallel_score_samples(kde, grid)

mean_x, var_x = _mean_var(X, log=True)
mean_y, var_y = _mean_var(Y, log=True)
Expand Down

0 comments on commit b7f2cf7

Please sign in to comment.