TargetNetworkConfig<T>
Options & Configuration · AiDotNet.Configuration
Configuration for target network updates in DQN-family algorithms.
How It Works
For Beginners: DQN uses two networks - a main network for selecting actions and a target network for computing stable Q-value targets. This configuration controls how often and how the target network gets updated.
Constructors
| Constructor | Summary |
|---|---|
TargetNetworkConfig() |
Creates a new instance with default values. |
Properties
| Property | Summary |
|---|---|
T Tau { get; set; } |
Tau parameter for soft updates (0 to 1). |
bool UseSoftUpdate { get; set; } |
Whether to use soft updates (Polyak averaging) instead of hard updates. |
int UpdateFrequency { get; set; } |
Update target network every N steps. |