Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interface with DifferentiableExpectations.jl #117

Open
BatyLeo opened this issue Jun 24, 2024 · 1 comment
Open

Interface with DifferentiableExpectations.jl #117

BatyLeo opened this issue Jun 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@BatyLeo
Copy link
Member

BatyLeo commented Jun 24, 2024

Now that DifferentiableExpectations is registered, we can update InferOpt internals to rely on it.

@BatyLeo BatyLeo added the enhancement New feature or request label Jun 24, 2024
@gdalle
Copy link
Member

gdalle commented Jun 27, 2024

For Perturbed, define a new struct containing a Reinforce.
Identify additive and multiplicative settings based on what the struct contains?

struct Perturbed
    # other stuff
    re::Reinforce
end

do_stuff(::Perturbed{Reinforce{<:Normal}})  # ~ additive
do_stuff(::Perturbed{Reinforce{<:LogNormal}})  # ~ multiplicative

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants