Skip to content
Back to skills

Datasets And Examples

ASecurity

"Use Flower Datasets and example app patterns without reopening the

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
devopsapi

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill datasets-and-examples --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Datasets And Examples?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Datasets And Examples
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-datasets-and-examples/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-datasets-and-examples)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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`

Files in this skill

  • SKILL.md1.5 KB
  • references/api-reference.md6.5 KB
  • references/troubleshooting.md4.5 KB
  • references/workflows.md4.3 KB
  • scripts/catalog_examples.py6.8 KB
  • scripts/check_flwr_datasets.py3.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.