RoundMetadata

Models & Types · AiDotNet.Models

Contains detailed metrics for a single federated learning round.

How It Works

For Beginners: Information about what happened in one specific training round.

Constructors

Constructor Summary
RoundMetadata()

Properties

Property Summary
Dictionary<int, double> ClientContributionScores { get; set; } Gets or sets the per-client contribution scores for this round.
List<int> DriftingClientIds { get; set; } Gets or sets the IDs of clients identified as drifting in this round.
List<int> SelectedClientIds { get; set; } Gets or sets the IDs of clients selected for this round.
bool DriftDetected { get; set; } Gets or sets whether drift was detected in this round.
double AverageLocalLoss { get; set; } Gets or sets the average local loss across selected clients.
double CommunicationMB { get; set; } Gets or sets the communication cost for this round in megabytes.
double GlobalAccuracy { get; set; } Gets or sets the global model accuracy after this round.
double GlobalLoss { get; set; } Gets or sets the global model loss after this round.
double PrivacyBudgetConsumed { get; set; } Gets or sets the privacy budget consumed in this round.
double RoundTimeSeconds { get; set; } Gets or sets the time taken for this round in seconds.
double UploadCompressionRatio { get; set; } Gets or sets the effective upload compression ratio for this round (1.0 means no compression).
int RoundNumber { get; set; } Gets or sets the round number (0-indexed).
string ContributionMethodUsed { get; set; } Gets or sets the contribution evaluation method used for this round.