Skip to content

Commit

Permalink
kernel matrix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
M-R-Schaefer committed Oct 5, 2023
1 parent 0298f5f commit 49d2ee0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apax/bal/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def kernel_selection(
model, params, base_feature_map, feature_transforms, is_ensemble
)
g = compute_features(feature_fn, dataset, processing_batch_size)
hm = kernel.KernelMatrix(g, n_train)
new_indices = selection_fn(hm, selection_batch_size)
km = kernel.KernelMatrix(g, n_train)
new_indices = selection_fn(km, selection_batch_size)

return new_indices

0 comments on commit 49d2ee0

Please sign in to comment.