All `GoldDoers` must be able to restrict their actions to some samples
Débutant
enhancementgood first issuehelp wantedready
9 ★
Poids du clone léger
Mise à jour
Description
**Context & Problem**
Sometimes, you might want to focus only on some samples or vector row when requesting a GoldDoer to make an action.
We have already implemented this possibility in `GoldSelector` to allow the split to be made from clusterized data.
This can be useful as well for: `GoldClusterizer`, `GoldDescriptor`and `GoldVectorizer`. It should systematic for new GoldDoer.
**Proposed Solution**
In methods `do_in_table` and `do_in_table`, we add 2 new arguments:
```
restrict_to: set[int] | None = None,
restriction_idx_key: str = "idx_vector",
```
and then we apply them to filter out the data before the action.
`select_in_table` in `GoldSelector` should be taken as an illustration of the actions to make!
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