Selector
Selector copied to clipboard
Enable the selection with predefined data points for `MaxMin`
The original implementation does not support initial data points but only the medoid. Now we support
- an integer
- an float
- None, which uses the medoid
- a list of integer or float numbers or a mixture of both
This is achieved by having a shared function called setup_reference_index.
Codecov Report
Attention: Patch coverage is 96.87500% with 2 lines in your changes missing coverage. Please review.
Project coverage is 96.58%. Comparing base (
d931154) to head (c17cfc6). Report is 26 commits behind head on main.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| selector/methods/distance.py | 96.87% | 2 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #248 +/- ##
==========================================
+ Coverage 96.00% 96.58% +0.58%
==========================================
Files 9 9
Lines 975 997 +22
==========================================
+ Hits 936 963 +27
+ Misses 39 34 -5
| Files with missing lines | Coverage Δ | |
|---|---|---|
| selector/methods/distance.py | 96.73% <96.87%> (+4.13%) |
:arrow_up: |