`GoldSelector`: Select a bunch of really similar data
Débutant
enhancementhelp wantedready
9 ★
Poids du clone léger
Mise à jour
Description
**Context & Problem**
After already isolated some `anchors` (for instance based on a GoldGreedyKCenterSelectionTool output or after defining centroids with clustering), one might want to select new samples based on their prioperties compared to the anchors.
Let's add a selection tools returning different samples based on anchors!
**Proposed Solution**
1. Add a base class GoldAnchorBasedSelectionTool (same as GoldSelectionTool but with an `anchors` attribute)
2. In `select`, consider k to be per anchor and do a loop over the anchors
3. add `_select_for_anchor` abstract method to be called in the loop of `select`
4. add a simple GoldClosestAnchorBasedSelectionTool: select the closest embeddings from each anchor
Note: how would we get the information linking the selection and the anchor?
Issues similaires
Tout voir
Python
Débutant
VS Code extension should be robust to YAML parser errors
Seeing this error: ``` Failed to read calkit.yaml: YAMLParseError: A block sequence may not be used as an im…
Mise à jour
Python
Débutant
dash: a manual Refresh control
The dashboard polls: `refreshStats()` (`src/doberman/dash/app.py:408`) every 5 s and `refreshPending()` (`:54…
Mise à jour
Python
Débutant
dash: "Copy details" button on each pending-approval card
Each pending-approval card in the dashboard (`renderPending`, `src/doberman/dash/app.py:448-544`) shows the r…
Mise à jour