Open axch opened 8 years ago
Another place where this sort of thing might come up is hierarchical Dirichlet processes, although I think the practice of implementing them using CRP + memoization does the right thing by forwarding the relevant applications to the base CRP.
Consider the following program:
gp1
andgp2
represent independent samples from the function prior given byk
(integrating out the uncertainty over the function). In order to compute acceptance ratios for proposals involving changes tok
, Venture will need to examine the auxes of bothgp1
andgp2
(in fact, all applications ofmake_gp
tok
). Are there any sufficient statistics that can be maintained about those uses ofk
that can save the work? Do we need a notion of nested AAA to maintain them? Do we care?Considerations:
make_make_gp
of typek -> () -> points -> outputs
and giving it nested AAA seems complicated (but maybe it's easy and I'm just not thinking clearly about incorporate methods?).