Solutions

DataDrivenDiffEq.DataDrivenSolutionType
struct DataDrivenSolution{L, A, O} <: DataDrivenDiffEq.AbstractDataDrivenSolution

The solution to a DataDrivenProblem derived via a certain algorithm. The solution is represented via an AbstractBasis, which makes it callable.

Fields

  • basis

    The basis representation of the solution

  • parameters

    Parameters of the solution

  • retcode

    Returncode

  • alg

    Algorithm

  • out

    Original output of the solution algorithm

  • prob

    Problem

  • l2_error

    L₂ norm error

  • aic

    AIC

  • rsquared

    Coefficient of determinantion

Note

The L₂ norm error, AIC and coefficient of determinantion get only computed, if eval_expression is set to true or if the solution can be interpreted as a linear regression result.

source

Functions

DataDrivenDiffEq.determinationFunction

Returns the coefficient of determinantion of the result, if the result has been derived via a linear regression, e.g. sparse regression or koopman.

source