ShakespeareFederatedBenchmarkOptions
Options & Configuration · AiDotNet.Configuration
Configuration options for running the Shakespeare LEAF federated benchmark suite.
For Beginners
You provide the train/test JSON files, and AiDotNet loads the per-user partitions, tokenizes the character sequences, and evaluates your model.
How It Works
Shakespeare is a federated next-character prediction benchmark. LEAF stores the dataset as JSON where each “user” corresponds to a federated client and each sample is a fixed-length text window with the next character as the label.
Constructors
| Constructor | Summary |
|---|---|
ShakespeareFederatedBenchmarkOptions() |
Properties
| Property | Summary |
|---|---|
LeafFederatedDatasetLoadOptions LoadOptions { get; set; } |
Gets or sets load options controlling how many users/clients are loaded. |
int? MaxSamplesPerUser { get; set; } |
Gets or sets the maximum number of samples to use per user/client (null uses all available). |
int? SequenceLength { get; set; } |
Gets or sets the fixed character window length used as model input. |
string TestFilePath { get; set; } |
Gets or sets the optional path to the Shakespeare test split JSON file. |
string TrainFilePath { get; set; } |
Gets or sets the path to the Shakespeare train split JSON file. |