NIFTy merge requestshttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests2023-12-07T16:16:24Zhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/896optimize_kl: Fix resume2023-12-07T16:16:24ZGordian Edenhoferoptimize_kl: Fix resumeGordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/895re: Update prior import2023-11-30T15:40:47ZPhilipp Frankre: Update prior importGordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/894Implement MAP for optimize_kl/OptimizeVI2023-11-30T15:02:19ZGordian EdenhoferImplement MAP for optimize_kl/OptimizeVIGordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/893Stop warning about missing JAX in "normal" NIFTy2023-11-30T14:59:29ZGordian EdenhoferStop warning about missing JAX in "normal" NIFTyGordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/892Revamp OptimizeVI and optimize_kl2023-11-29T21:03:21ZGordian EdenhoferRevamp OptimizeVI and optimize_klGordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/891Correctly update number of samples2023-11-23T22:27:50ZPhilipp FrankCorrectly update number of samplesFixes #389Fixes #389Philipp FrankPhilipp Frankhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/890lognormal_moments: Fix positivity check for arrays and trees2023-11-24T23:43:25ZJulian Rüstiglognormal_moments: Fix positivity check for arrays and treesCloses #391Closes #391Julian RüstigJulian Rüstighttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/889likelihood.__add__: Add domain2023-11-25T16:11:31ZJulian Rüstiglikelihood.__add__: Add domainResolves #390 .Resolves #390 .Julian RüstigJulian Rüstighttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/888Fix import of jax.config2023-11-24T23:50:27ZGordian EdenhoferFix import of jax.configGordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/887Implement Matern kernel fluctuations in NIFTy.re2023-11-29T20:14:45ZMatteo GuardianiImplement Matern kernel fluctuations in NIFTy.reCloses #378Closes #378Matteo GuardianiMatteo Guardianihttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/886Deprecate NIFTy72023-11-27T14:19:12ZGordian EdenhoferDeprecate NIFTy7@all
# Remove Nifty7 Documentation
The Nifty7 documentation is still online, but by now, probably all projects are moved to nifty8.
Thus, we thought about removing the old docs.@all
# Remove Nifty7 Documentation
The Nifty7 documentation is still online, but by now, probably all projects are moved to nifty8.
Thus, we thought about removing the old docs.Gordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/885Fixup re.optimize_kl: re-enable run without `out_dir`2023-11-20T16:25:31ZPhilipp FrankFixup re.optimize_kl: re-enable run without `out_dir`Philipp FrankPhilipp Frankhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/884Embrace SPEC 0 Minimum Supported Version2024-01-12T17:22:57ZVincent EberleEmbrace SPEC 0 Minimum Supported VersionSee https://scientific-python.org/specs/spec-0000/ .
Closes #383 .See https://scientific-python.org/specs/spec-0000/ .
Closes #383 .Vincent EberleVincent Eberlehttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/883Fix `optimize_kl` `plot_minisanity_history` for variable likelihood domain2023-11-20T12:26:58ZLukas PlatzFix `optimize_kl` `plot_minisanity_history` for variable likelihood domainWhen the domain of the likelihood function we pass to `optimize_kl` changes between MGVI iterations (example: we add an additional likelihood term with nuisance parameters) and `plot_minisanity_history` is enabled, a calculation in `_plo...When the domain of the likelihood function we pass to `optimize_kl` changes between MGVI iterations (example: we add an additional likelihood term with nuisance parameters) and `plot_minisanity_history` is enabled, a calculation in `_plot_minisanity_history` fails.
This happens because the minisanity values to be plotted in this case constitute a ragged array, which the `np.max` and `np.min` functions reject.
Please observe the two CI pipelines launched for this branch:
- The first commit just contains a unit test triggering this bug.
- The second commit contains a fix.https://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/882Simplify installation instructions and highlight NIFTy.re2023-11-24T23:56:46ZGordian EdenhoferSimplify installation instructions and highlight NIFTy.reGordian EdenhoferGordian Edenhoferhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/881re.optimize_kl: fix typos in docstring2023-11-14T11:18:41ZJakob Rothre.optimize_kl: fix typos in docstring@pfrank fixes two typos in the docstring of re.optimize_kl@pfrank fixes two typos in the docstring of re.optimize_klhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/880increased minimum python version to 3.82023-11-13T17:46:01ZVincent Eberleincreased minimum python version to 3.8I increased the minimal python version to 3.8 since 3.7 is at "end-of-live" by now. [can be found here](https://devguide.python.org/versions/)
let me know if you agree with the changes and if we can merge these.
@gedenhof @pfrank @mtrI increased the minimal python version to 3.8 since 3.7 is at "end-of-live" by now. [can be found here](https://devguide.python.org/versions/)
let me know if you agree with the changes and if we can merge these.
@gedenhof @pfrank @mtrVincent EberleVincent Eberlehttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/879Fix unicode printouts for mac2023-11-20T15:18:33ZMatteo GuardianiFix unicode printouts for macReplaced 🞋 symbol with ➽, which is recognized by mac users by default.
I chose to merge to `jft_minisanity` because this is the branch I am currently using but if this is not ideal @gedenhof @pfrank let me know.Replaced 🞋 symbol with ➽, which is recognized by mac users by default.
I chose to merge to `jft_minisanity` because this is the branch I am currently using but if this is not ideal @gedenhof @pfrank let me know.https://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/878special_distributions.py: fix import from nifty.re2023-11-05T10:50:38ZJakob Rothspecial_distributions.py: fix import from nifty.rehttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/877Free unused memory-intensive variable in `optimize_kl`2023-11-17T10:36:36ZLukas PlatzFree unused memory-intensive variable in `optimize_kl`In `optimize_kl` we currently keep around the sample list throughout the optimization loop, even while already drawing new samples. This substantially increases the peak memory footprint of `optimize_kl` for large parameter spaces and ca...In `optimize_kl` we currently keep around the sample list throughout the optimization loop, even while already drawing new samples. This substantially increases the peak memory footprint of `optimize_kl` for large parameter spaces and can be trivially alleviated by freeing the memory once the SL of the earlier iteration is no longer needed.