Skip to main content

sample-a-dataset

Sample a dataset with a documented frame, method, seed, strata, privacy controls, and representativeness checks. Use when a full dataset is too large or sensitive for inspection, testing, labeling, or analysis.

来源信息

仓库
protosphinx/sphinxstack
最近来源活动
2026年7月29日 13:55
检测到的 SKILL.md 语言
英语
星标
3
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
sample-a-dataset
category
data
description
Sample a dataset with a documented frame, method, seed, strata, privacy controls, and representativeness checks. Use when a full dataset is too large or sensitive for inspection, testing, labeling, or analysis.
# sample-a-dataset Choose the sample design from the intended use and sources of variation. ## When to use - Use for quality review, testing, annotation, exploration, or reproducible development. - Do not call a convenience sample representative of a population. ## Procedure 1. Define population, unit, sampling frame, intended use, exclusions, key subgroups, rare cases, and error tolerance. 2. Assess coverage gaps, clustering, time effects, duplicates, and dependencies in the frame. 3. Choose random, systematic, stratified, cluster, time-window, risk-based, or hybrid sampling with rationale. 4. Set size, allocation, replacement, seed, and stable ordering; separate training, validation, and test entities where relevant. 5. Minimize sensitive data and apply access, masking, retention, and secure output rules. 6. Generate the sample reproducibly and preserve source version plus selection metadata. 7. Compare population and sample distributions, coverage, missingness, and important outcomes. ## Done - A sampling plan and manifest record population, frame, method, seed, strata, size, source version, privacy, and selected record references - Reproduction, overlap, subgroup, time, missingness, distribution, and coverage checks verify fitness for the stated use
在 GitHub 查看