Table of Contents

Enum FederatedClientSelectionStrategy

Namespace
AiDotNet.Models.Options
Assembly
AiDotNet.dll

Specifies how clients are selected to participate in a federated training round.

public enum FederatedClientSelectionStrategy

Fields

AvailabilityAware = 3

Prefer clients with higher reported availability.

Clustered = 5

Cluster clients (e.g., by embeddings) and sample across clusters.

PerformanceAware = 4

Prefer clients with better observed performance, with exploration.

Stratified = 2

Stratified sampling based on group keys.

UniformRandom = 0

Uniform random sampling.

WeightedRandom = 1

Weighted random sampling (typically proportional to client sample counts).

Remarks

For Beginners: In large deployments, not every client participates in every round. Client selection strategies control which clients are chosen each round.