get_sanitized_dataset
Download an experiment's dataset with flagged poisoned samples removed as a .npz file for re-training, saving only inside the configured output directory.
Instructions
Download the experiment's suspect dataset with flagged poisoned samples removed, as a .npz file suitable for re-training. Requires the experiment to be completed with per-sample scores present. The saved file always lands inside POISONDASH_OUTPUT_DIR (the user's Downloads folder by default) -- output_path is resolved relative to that directory and any attempt to escape it, including via a symlink, is refused. Won't overwrite an existing file unless overwrite=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | ||
| threshold | No | Override the poisoning-score threshold; defaults to the experiment's stored threshold | |
| output_path | No | Where to save the file, relative to POISONDASH_OUTPUT_DIR (or an absolute path inside it) | |
| experiment_id | Yes |