FederatedClientDataset<TInput, TOutput>

Models & Types · AiDotNet.Models

Represents a single client’s local dataset for federated learning.

How It Works

This type is intentionally simple: it holds the client’s local features and labels plus the sample count used for weighting during aggregation.

Constructors

Constructor Summary
FederatedClientDataset(TInput features, TOutput labels, int sampleCount) Initializes a new instance of the FederatedClientDataset class.

Properties

Property Summary
TInput Features { get; } Gets the client’s local feature data.
TOutput Labels { get; } Gets the client’s local label/target data.
int SampleCount { get; } Gets the number of samples contained in this dataset.