技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
datasets-readers【数据与研究】Build Nitrain datasets from files, CSV/TSV columns, folder labels, in-memory data, example fixtures, and Google Cloud inputs.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a user needs to turn imaging files or tabular labels
into a nitrain.Dataset, infer a reader from nested Python objects, load the
built-in example fixture, or connect a dataset to Google Cloud storage.
Dataset creation from local filesystem paths or in-memory objects.fetch_data('example-01') and the local tiny fixture it creates.GoogleCloudDataset and reader behavior that depends on cloud storage.Loader, or Keras batching: use
sub-skills/preprocessing-and-loading/.sub-skills/models-training/.sub-skills/prediction-and-explanation/.base_dir for directory-relative files and base_file for CSV/TSV
columns.infer_reader() when the user already has nested lists, arrays, or
dictionaries and does not want to spell out reader classes manually.After installing dependencies, run the bundled helper scripts/check_install.py:
python scripts/check_install.py --mode datasets
Use this when you want to confirm the reader and dataset surface before moving on to preprocessing or training.
ImageReader for file patterns that should resolve to ANTs images.ColumnReader for scalar labels or image paths stored in a table.FolderNameReader when folder names carry labels or classes.MemoryReader when data is already in memory.ComposeReader for multiple inputs that should stay aligned.GoogleCloudDataset only when bucket access and credentials are real.Dataset.__getitem__ returns (x, y) pairs, and slices return sequences.Dataset.split() returns train/test or train/test/val partitions.ImageReader, ColumnReader, FolderNameReader, and MemoryReader all
support select() for subset reuse.If the request grows into sampling, augmentation, batching, or model training, hand off to the relevant sibling sub-skill instead of expanding this one.