Skip to content

fit: consider exposing Grad #710

Open
@sbinet

Description

@sbinet

right now, the fit.Func1D and fit.FuncND automatically compute the gradient of the provided function to fit, using gonum/diff/fd (a package that applies numerical differentiation to approximate the derivatives).

we should probably consider exposing the Grad field, making it optional, so users could provide an implementation - perhaps generated with gonum/autodiff. (we should probably provide such an example.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions