MXFusion icon indicating copy to clipboard operation
MXFusion copied to clipboard

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

Open zhenwendai opened this issue 6 years ago • 2 comments

zhenwendai avatar Oct 22 '18 14:10 zhenwendai

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)?

marpulli avatar Jun 26 '19 10:06 marpulli

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?

meissnereric avatar Jun 26 '19 11:06 meissnereric