Class RLEpisodeMetrics<T>
- Namespace
- AiDotNet.Configuration
- Assembly
- AiDotNet.dll
Metrics for a completed RL episode.
public class RLEpisodeMetrics<T>
Type Parameters
TThe numeric type.
- Inheritance
-
RLEpisodeMetrics<T>
- Inherited Members
Constructors
RLEpisodeMetrics()
Creates a new instance with default values.
public RLEpisodeMetrics()
Properties
AverageLoss
Average loss during training in this episode.
public T AverageLoss { get; init; }
Property Value
- T
AverageRewardRecent
Running average reward over recent episodes (smoothed metric).
public T AverageRewardRecent { get; init; }
Property Value
- T
ElapsedTime
Total time elapsed since training started.
public TimeSpan ElapsedTime { get; init; }
Property Value
Episode
The episode number (1-indexed).
public int Episode { get; init; }
Property Value
Steps
Number of steps taken in this episode.
public int Steps { get; init; }
Property Value
TerminatedNaturally
Whether the episode ended naturally (vs hitting max steps).
public bool TerminatedNaturally { get; init; }
Property Value
TotalReward
Total reward accumulated in this episode.
public T TotalReward { get; init; }
Property Value
- T