Class RLEarlyStoppingConfig<T>
- Namespace
- AiDotNet.Configuration
- Assembly
- AiDotNet.dll
Configuration for early stopping during RL training.
public class RLEarlyStoppingConfig<T>
Type Parameters
TThe numeric type.
- Inheritance
-
RLEarlyStoppingConfig<T>
- Inherited Members
Constructors
RLEarlyStoppingConfig()
Creates a new instance with default values.
public RLEarlyStoppingConfig()
Properties
MinImprovement
Minimum improvement to reset patience counter.
public T MinImprovement { get; set; }
Property Value
- T
PatienceEpisodes
Stop if no improvement for this many episodes.
public int PatienceEpisodes { get; set; }
Property Value
RewardThreshold
Stop training if average reward exceeds this threshold.
public T? RewardThreshold { get; set; }
Property Value
- T