Skip to content

Commit

Permalink
Update _h_selection.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rmj3197 committed May 29, 2024
1 parent de6b015 commit 6dcdd3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QuadratiK/kernel_test/_h_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def _objective_two_sample(
random_state=np.random.default_rng(random_state),
)

statistic = stat_two_sample(xnew, ynew, h, np.repeat(0,d), np.diag(d))
statistic = stat_two_sample(xnew, ynew, h, np.repeat(0,d), np.eye(d))
cv = cv_twosample(
num_iter,
quantile,
Expand Down

0 comments on commit 6dcdd3f

Please sign in to comment.