Interface IInverseProblemGradient<T>
- Namespace
- AiDotNet.PhysicsInformed.Interfaces
- Assembly
- AiDotNet.dll
Provides gradient information for inverse problem parameters.
public interface IInverseProblemGradient<T> : IInverseProblem<T>
Type Parameters
TThe numeric type.
- Inherited Members
Methods
ComputeParameterGradients(T[], T[], T[], PDEDerivatives<T>)
Computes gradients of the PDE residual with respect to the unknown parameters.
T[] ComputeParameterGradients(T[] parameters, T[] inputs, T[] outputs, PDEDerivatives<T> derivatives)
Parameters
parametersT[]Current parameter values.
inputsT[]The spatial and temporal coordinates.
outputsT[]The predicted solution values.
derivativesPDEDerivatives<T>The derivatives of the solution.
Returns
- T[]
Gradient of residual with respect to each parameter.
Remarks
For Beginners: This tells us how changing each parameter affects the PDE residual.
- If dR/d(parameter) is large: parameter has strong effect on physics
- If dR/d(parameter) is small: parameter has weak effect (hard to identify)
The gradients are used to update parameters during training.