인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
데이터 및 연구 · SKILL.md

datasets-and-examples

datasets-and-examples

Use Flower Datasets and example app patterns without reopening the source repo.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: datasets-and-examples description: "Use Flower Datasets and example app patterns without reopening the source repo." metadata: disco-role: operating disable-model-invocation: true license: Apache 2.0

Flower Datasets and Examples

Use this sub-skill when the user needs Flower Datasets, partitioning workflows, or example-project wiring patterns.

Use for

  • FederatedDataset, partitioners, preprocessors, and visualization
  • local CSV/JSON/image/audio and in-memory data flows
  • flwr-datasets create for IID demo partitions on disk
  • example app catalogs and dependency variants from examples/*/pyproject.toml

Stay out of

  • Flower core app authoring beyond example layout clues
  • deployment admin and strategy internals

Route

  1. Prefer FederatedDataset for Hugging Face Hub data.
  2. For local or in-memory data, build a datasets.Dataset first and assign it to a partitioner directly.
  3. Use IidPartitioner for even splits, DirichletPartitioner for label skew, and PathologicalPartitioner for exact class-count constraints.
  4. Use Divider or Merger to reshape splits before partitioning.
  5. Use plot_label_distributions or plot_comparison_label_distribution to inspect heterogeneity.
  6. Use scripts/catalog_examples.py to compare example dependency stacks and tool.flwr.app wiring.

References

  • references/api-reference.md
  • references/workflows.md
  • references/troubleshooting.md

Helpers

  • scripts/check_flwr_datasets.py
  • scripts/catalog_examples.py
저장한 Skills