PhysicsInformedNeuralNetworkOptions
Options & Configuration · AiDotNet.PhysicsInformed.Options
Configuration options for the PhysicsInformedNeuralNetwork.
Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → PhysicsInformedOptions → PhysicsInformedNeuralNetworkOptions
For Beginners
A PINN trains on three things at once — any data you give it, the differential equation it must satisfy, and the conditions at the edges of the domain. The weights here decide how much each of those matters. Tuning them is often the trickiest part of training a PINN.
Constructors
| Constructor | Summary |
|---|---|
PhysicsInformedNeuralNetworkOptions() |
Initializes a new instance carrying the model’s published defaults. |
PhysicsInformedNeuralNetworkOptions(PhysicsInformedNeuralNetworkOptions other) |
Initializes a new instance by copying another instance. |
Properties
| Property | Summary |
|---|---|
double BoundaryWeight { get; set; } |
Gets or sets the weight on the boundary condition loss term. |
double DataWeight { get; set; } |
Gets or sets the weight on the data-fitting loss term. |
double InitialWeight { get; set; } |
Gets or sets the weight on the initial condition loss term. |
double PdeWeight { get; set; } |
Gets or sets the weight on the PDE residual loss term. |
int NumCollocationPoints { get; set; } |
Gets or sets how many interior points the PDE residual is evaluated at. |
Methods
| Method | Summary |
|---|---|
void Validate() |
Throws if a value this model requires has been left unset or is not positive. |