At the time of writing, there are several unit tests covering the coreset construction methods (e.g. kernel herding, Stein thinning, ...) however, many methods do not have a unit test that checks the validity of the entire coreset construction. The correctness of Kernel herding is currently validated through tests of greedy_body (see test_greedy_body in tests/unit/test_coresubset.py) that have been written by carrying out the body function by-hand and comparing to the code result. We should add similar tests for all other coreset construction approaches.
What value does this add?
Ensure correctness of methods implemented in the library.
What's the new feature?
At the time of writing, there are several unit tests covering the coreset construction methods (e.g. kernel herding, Stein thinning, ...) however, many methods do not have a unit test that checks the validity of the entire coreset construction. The correctness of Kernel herding is currently validated through tests of
greedy_body
(seetest_greedy_body
intests/unit/test_coresubset.py
) that have been written by carrying out the body function by-hand and comparing to the code result. We should add similar tests for all other coreset construction approaches.What value does this add?
Ensure correctness of methods implemented in the library.
Is there an alternative you've considered?
No response
Additional context
No response