Table of Contents

Class BufferStatistics

Namespace
AiDotNet.ContinualLearning.Memory
Assembly
AiDotNet.dll

Statistics about the experience replay buffer.

public class BufferStatistics
Inheritance
BufferStatistics
Inherited Members

Properties

AveragePriority

Average priority of stored samples.

public double AveragePriority { get; init; }

Property Value

double

Count

Current number of stored examples.

public int Count { get; init; }

Property Value

int

EstimatedMemoryBytes

Estimated memory usage in bytes.

public long EstimatedMemoryBytes { get; init; }

Property Value

long

FillRatio

Ratio of current count to max size.

public double FillRatio { get; init; }

Property Value

double

MaxSize

Maximum buffer capacity.

public int MaxSize { get; init; }

Property Value

int

TaskCount

Number of distinct tasks in the buffer.

public int TaskCount { get; init; }

Property Value

int

TaskDistribution

Number of examples per task.

public Dictionary<int, int> TaskDistribution { get; init; }

Property Value

Dictionary<int, int>

TotalReplaySamples

Total samples returned via replay.

public int TotalReplaySamples { get; init; }

Property Value

int

TotalSamplesProcessed

Total samples ever added to the buffer.

public int TotalSamplesProcessed { get; init; }

Property Value

int