Table of Contents

Class LeafFederatedDatasetLoadOptions

Namespace
AiDotNet.FederatedLearning.Benchmarks.Leaf
Assembly
AiDotNet.dll

Options controlling how LEAF federated benchmark JSON files are loaded.

public sealed class LeafFederatedDatasetLoadOptions
Inheritance
LeafFederatedDatasetLoadOptions
Inherited Members

Remarks

LEAF datasets can be large. These options allow callers to load a smaller subset for quick experiments and CI-friendly tests.

For Beginners: Think of these as "load settings" for a dataset file: you can choose to load all clients/users or just the first N to keep the run fast.

Properties

MaxUsers

Gets or sets the maximum number of users/clients to load (null loads all users).

public int? MaxUsers { get; set; }

Property Value

int?

ValidateDeclaredSampleCounts

Gets or sets whether to validate that each user's declared num_samples matches the actual sample count.

public bool ValidateDeclaredSampleCounts { get; set; }

Property Value

bool