Skip to content

Adding Autodiff for predictions #58

@odunbar

Description

@odunbar

Issue

In some cases, once trained the predicted mean and covariance will be differentiable. Having a differentiable regressor can be useful in situations where the regressor is used for optimization or sampling etc. How can we enable this functionality

Possible solutions

As the RFs are simple objects, akin to neural networks, the ForwardDiff.jl/Zygote.jl packages for forward/backward differentiation may be used to differentiate the output, and are expected to work almost out-of-the box. We could investigate this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions