Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: [LAS] calculate num of non-degenerate singular values #4147

Merged

Conversation

olgavrou
Copy link
Collaborator

and use it to make some tests more precise

@@ -133,6 +133,29 @@ void cb_explore_adf_large_action_space<randomized_svd_impl, spanner_impl>::rando
_impl.run(examples, shrink_factors, U, _S, _V);
}

template <typename randomized_svd_impl, typename spanner_impl>
size_t cb_explore_adf_large_action_space<randomized_svd_impl, spanner_impl>::number_of_non_degenerate_singular_values()
Copy link
Collaborator Author

@olgavrou olgavrou Sep 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this could potentially be used to also return even less actions in the spanner than specified by d

test/unit_test/cb_las_spanner_test.cc Outdated Show resolved Hide resolved
test/unit_test/cb_las_spanner_test.cc Show resolved Hide resolved
@olgavrou olgavrou merged commit 96286bc into VowpalWabbit:master Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants