Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Add the interface for fix/unfix parameters for gradient optimization. #94

Open
zhenwendai opened this issue Oct 22, 2018 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@zhenwendai
Copy link
Contributor

No description provided.

@zhenwendai zhenwendai added the enhancement New feature or request label Oct 22, 2018
@meissnereric meissnereric added this to the MXFusion v0.3.0 milestone Feb 12, 2019
@marpulli
Copy link
Contributor

I keep forgetting how to fix things so I might have a go at this. How would you do it? A method on the Inference object? Something like: infr.fix_parameter(m.X)?

@meissnereric
Copy link
Contributor

meissnereric commented Jun 26, 2019

Looks fine to me. With another call to InferenceParameters inside that, similar to fix_all but only fixing a single parameter.

One question I have is around the difference between model and posterior parameters here. Are they any different in this context? I'll give it some thought in the meantime, but anything you or @zhenwendai can think of?

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

No branches or pull requests

3 participants