NIFTy merge requestshttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests2021-10-12T09:49:34Zhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/696SampleList improvements2021-10-12T09:49:34ZPhilipp Arrasparras@mpa-garching.mpg.deSampleList improvementsThis merge requests revamps the save/load logic of `ift.SampleList`. Now every sample is written to its own pickle file.
Additionally, exporting to hdf5 files has been added. Loading from hdf5 is not supported.This merge requests revamps the save/load logic of `ift.SampleList`. Now every sample is written to its own pickle file.
Additionally, exporting to hdf5 files has been added. Loading from hdf5 is not supported.https://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/695MultiField: Simplify2021-10-06T11:29:39ZPhilipp Arrasparras@mpa-garching.mpg.deMultiField: SimplifyMartin ReineckeMartin Reineckehttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/694add instructions for installation via pip2021-10-04T22:19:59ZPhilipp Arrasparras@mpa-garching.mpg.deadd instructions for installation via piphttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/693More user friendly demos2021-11-15T12:03:49ZGordian EdenhoferMore user friendly demosYield descriptive error messages if invalid input is passed to the PoissonianEnergy likelihood. Furthermore, never start the minimization from exactly zero as this is potentially unstable in general and users tend to copy-paste code from...Yield descriptive error messages if invalid input is passed to the PoissonianEnergy likelihood. Furthermore, never start the minimization from exactly zero as this is potentially unstable in general and users tend to copy-paste code from the demos for new project.
Starting close to or even worse exactly at zero with MGVI is error prone for simple models with a linear response and a simple correlated field. The main problem are the zeros that appear in the Jacobians for everything but the excitations as a result of the linearity of the model in exactly these. While for the minimization itself zero-curvature for the Fisher metric is not necessarily problematic because of the prior curvature, it results in problems for the sampling. Namely sampling along axis with zero Fisher curvature results in prior samples being drawn for these axis.
On the one hand this is desirable because in the absence of information from the likelihood, the prior should be the only quantity that matters. On the other hand, this results in the model being sometimes impossible to optimize appropriately. This is because often for a flexible model the prior samples for the non-linear parameters are too diverse to jointly optimize their mean in a sensible way. As an example, for prior samples for the fluctuations parameter, since samples with a too high fluctuation parameter compared to the data are compensated by samples with a too low fluctuation parameter compared to the data. However, since it is critical to fix the fluctuations parameter before anything else can be optimized in a sensible way, in essence no optimization can nor does happens.Martin ReineckeMartin Reineckehttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/692Add instructions for installation via pip2021-09-29T21:25:23ZMartin ReineckeAdd instructions for installation via pip@ensslint @parras@ensslint @parrashttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/691Test for domain equality Nifty82021-09-23T10:57:39ZPhilipp FrankTest for domain equality Nifty8https://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/690Test for domain equality2021-09-23T10:58:05ZPhilipp FrankTest for domain equalityhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/689SandwichOperator: Set `draw_sample_with_dtype`2021-09-22T09:59:51ZGordian EdenhoferSandwichOperator: Set `draw_sample_with_dtype`Martin ReineckeMartin Reineckehttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/688Sample lists2021-10-07T08:10:09ZPhilipp Arrasparras@mpa-garching.mpg.deSample lists- [x] Minisanity redesign @parras
- [x] Changelog entry: `KL.samples` is something different now, have introduced `SampleList`, Geo and MGVI unified. @pfrank
- [x] Implement save and load for `SampleList` with MPI @parras
- [x] Docu for ...- [x] Minisanity redesign @parras
- [x] Changelog entry: `KL.samples` is something different now, have introduced `SampleList`, Geo and MGVI unified. @pfrank
- [x] Implement save and load for `SampleList` with MPI @parras
- [x] Docu for `SampleList` @parras
- [x] Check `SampleList` in plotting etc in demos because `KL.samples` is something different now. @pfrank
- [x] Check years in copyright @parras
- [x] Rename `global_iterator` @parrasMartin ReineckeMartin Reineckehttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/687Sampling dtypes2021-09-22T08:25:45ZPhilipp Arrasparras@mpa-garching.mpg.deSampling dtypeshttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/686make MPI tests work on any number of MPI tasks2021-09-15T08:28:55ZMartin Reineckemake MPI tests work on any number of MPI tasksPhilipp Arrasparras@mpa-garching.mpg.dePhilipp Arrasparras@mpa-garching.mpg.dehttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/685Simplify sampling by using linearity2021-09-15T07:08:45ZGordian EdenhoferSimplify sampling by using linearitySimplify the linear sample drawing part by pulling out and canceling
signs wherever possible.Simplify the linear sample drawing part by pulling out and canceling
signs wherever possible.Martin ReineckeMartin Reineckehttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/684density_estimator: Handle an optional CF prefix2021-09-14T11:59:31ZGordian Edenhoferdensity_estimator: Handle an optional CF prefixAccepting a prefix allows using the density estimator within other
models without having to worry about conflicting keys.Accepting a prefix allows using the density estimator within other
models without having to worry about conflicting keys.https://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/683density_estimator: Handle an optional CF prefix2021-09-22T08:19:39ZGordian Edenhoferdensity_estimator: Handle an optional CF prefixAccepting a prefix allows using the density estimator within other
models without having to worry about conflicting keys.Accepting a prefix allows using the density estimator within other
models without having to worry about conflicting keys.https://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/682Show Matern kernel parameter effects in demo 42022-05-09T09:16:00ZLukas PlatzShow Matern kernel parameter effects in demo 4To understand the `add_fluctuations_matern()` parameter effects better, I added showcases of them to the 4th demo (`getting_started_4_CorrelatedFields.ipynb`).
@gedenhof: could you have a look at the parameter explanations and check whe...To understand the `add_fluctuations_matern()` parameter effects better, I added showcases of them to the 4th demo (`getting_started_4_CorrelatedFields.ipynb`).
@gedenhof: could you have a look at the parameter explanations and check whether they are correct, please?
Also: I played around with the values for some time, but if you know better/more practice-oriented value combinations to showcase, please amend them.
Cheers, Lukashttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/681Add exception in descent minimizer2021-08-30T18:17:15ZLukas PlatzAdd exception in descent minimizerhttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/680Jax fixes2021-08-30T18:17:57ZPhilipp Arrasparras@mpa-garching.mpg.deJax fixesMartin ReineckeMartin Reineckehttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/679Nifty8 docs slice to avg2021-08-22T11:40:46ZPhilipp Arrasparras@mpa-garching.mpg.deNifty8 docs slice to avghttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/678Docs CorrelatedField slice to average2021-08-22T11:13:10ZPhilipp FrankDocs CorrelatedField slice to averagehttps://gitlab.mpcdf.mpg.de/ift/nifty/-/merge_requests/677check for NaN values during CG iteration2021-08-31T10:30:00ZMartin Reineckecheck for NaN values during CG iteration