Solutions

DataDrivenDiffEq.DataDrivenSolutionType
struct DataDrivenSolution{R<:Union{Nothing, DataDrivenDiffEq.AbstractBasis}, S, P, A, O, M} <: DataDrivenDiffEq.AbstractDataDrivenSolution

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

Fields

  • res

    Result

  • retcode

    Returncode

  • ps

    Parameters used to derive the equations

  • alg

    Algorithm used for solution

  • out

    Original Output

  • inp

    Original Input

  • metrics

    Error metrics

source

Functions

DataDrivenDiffEq.outputFunction
output(r)

Returns the original output of the algorithm, e.g. an AbstractArray of coefficients for sparse regression.

source
DataDrivenDiffEq.inputsFunction
inputs(r)

Returns the original inputs, most commonly the DataDrivenProblem and the Basis used to derive the solution.

source