Skip to content

Commit 118ee26

Browse files
committed
news bump
1 parent 655c05e commit 118ee26

File tree

1 file changed

+35
-21
lines changed

1 file changed

+35
-21
lines changed

NEWS.md

+35-21
Original file line numberDiff line numberDiff line change
@@ -28,51 +28,65 @@ The following optimisers are removed, as they are no longer supported by Tensorf
2828

2929
## Installation revamp
3030

31-
This release provides a few improvements to installation in greta. It should now provide more information about installation progress, and be more robust. The intention is, it should _just work_, and if it doesn't fail gracefully with some useful advice on problem solving.
31+
This release provides a few improvements to installation in greta. It should now provide more information about installation progress, and be more robust. The intention is, it should _just work_, and if it doesn't, it should fail gracefully with some useful advice on problem solving.
3232

33-
* Added option to restart R + run `library(greta)` after installation (#523)
34-
* Added installation deps object, `greta_deps_sepc()` to help simplify specifying package versions (#664)
35-
* removed `method` and `conda` arguments from `install_greta_deps()` as they
33+
* Added option to restart R + run `library(greta)` after installation (#523).
34+
* Added installation deps object, `greta_deps_sepc()` to help simplify specifying package versions (#664).
35+
* Removed `method` and `conda` arguments from `install_greta_deps()` as they
3636
were not used.
37-
* removed `manual` argument in `install_greta_deps()`.
38-
* added default 5 minute timer to installation processes
39-
* Added `greta_deps_receipt()` to list the current main python packages installed. (#668)
40-
* Added checking suite to ensure you are using valid versions of TF, TFP, and Python(#666)
37+
* Removed `manual` argument in `install_greta_deps()`.
38+
* Added default 5 minute timer to installation processes.
39+
* Added `greta_deps_receipt()` to list the current main python packages installed (#668).
40+
* Added checking suite to ensure you are using valid versions of TF, TFP, and Python(#666).
4141
* Added data `greta_deps_tf_tfp` (#666), which contains valid versions combinations of TF, TFP, and Python.
42-
* remove `greta_nodes_install/conda_*()` options as #493 makes them defunct.
43-
* Added option to write to a single logfile with `greta_set_install_logfile()`, and `write_greta_install_log()`, and `open_greta_install_log()` (#493)
44-
* Added `destroy_greta_deps()` function to remove miniconda and python conda environment
45-
* Improved `write_greta_install_log()` and `open_greta_install_log()` to use `tools::R_user_dir()` to always write to a file location. `open_greta_install_log()` will open one found from an environment variable or go to the default location. (#703)
42+
* Remove `greta_nodes_install/conda_*()` options as #493 makes them defunct.
43+
* Added option to write to a single logfile with `greta_set_install_logfile()`, and `write_greta_install_log()`, and `open_greta_install_log()` (#493).
44+
* Added `destroy_greta_deps()` function to remove miniconda and python conda environment.
45+
* Improved `write_greta_install_log()` and `open_greta_install_log()` to use `tools::R_user_dir()` to always write to a file location. `open_greta_install_log()` will open one found from an environment variable or go to the default location (#703).
4646

4747
## New Print methods
4848

49-
* New print method for `greta_mcmc_list`. This means MCMC output will be shorter and more informative. (#644)
50-
* greta arrays now have a print method that stops them from printing too many rows into the console. Similar to MCMC print method, you can control the print output with the `n` argument: `print(object, n = <elements to print>)`. (#644)
49+
* New print method for `greta_mcmc_list`. This means MCMC output will be shorter and more informative (#644).
50+
* greta arrays now have a print method that stops them from printing too many rows into the console. Similar to MCMC print method, you can control the print output with the `n` argument: `print(object, n = <elements to print>)` (#644).
5151

5252
## Minor
5353

54-
* `greta_sitrep()` now checks for installations of Python, TF, and TFP
54+
* `greta_sitrep()` now checks for installations of Python, TF, and TFP.
5555
* Slice sampler no longer needs precision = "single" to work.
5656
* greta now depends on R 4.1.0, which was released May 2021, over 3 years ago.
57-
* export `is.greta_array()` and `is.greta_mcmc_list()`
58-
* `restart` argument for `install_greta_deps()` and `reinstall_greta_deps()` to automatically restart R (#523)
57+
* export `is.greta_array()` and `is.greta_mcmc_list()`.
58+
* `restart` argument for `install_greta_deps()` and `reinstall_greta_deps()` to automatically restart R (#523).
5959

6060
## Internals
6161

6262
* Internally we are replacing most of the error handling code as separate
6363
`check_*` functions.
6464
* Implemented `cli::cli_abort/warn/inform()` in place of `cli::format_error/warning/message()` + `stop/warning/message(msg, call. = FALSE)` pattern.
6565
* Uses legacy optimizer internally (Use `tf$keras$optimizers$legacy$METHOD` over `tf$keras$optimizers$METHOD`). No user impact expected.
66-
* Update photo of Grete Hermann (#598)
67-
* Use `%||%` internally to replace the pattern: `if (is.null(x)) x <- thing` with `x <- x %||% thing`. (#630)
66+
* Update photo of Grete Hermann (#598).
67+
* Use `%||%` internally to replace the pattern: `if (is.null(x)) x <- thing` with `x <- x %||% thing` (#630).
6868
* Add more explaining variables - replace `if (thing & thing & what == this)` with `if (explanation_of_thing)`.
69-
* Refactored repeated uses of `vapply` into functions (#377, #658)
69+
* Refactored repeated uses of `vapply` into functions (#377, #658).
7070
* Add internal data files `.deps_tf` and `.deps_tfp` to track dependencies of TF and TFP. Related to #666.
7171

72+
- Posterior density checks (#720):
73+
- Don't run Geweke on CI as it takes 30 minutes to run.
74+
- Add thinning to Geweke tests.
75+
- Fix broken geweke tests from TF1-->TF2 change.
76+
- Increase the number of effective samples for check_samples for lkj distribution
77+
- Add more checks to posterior to run on CI/on each test of greta
78+
7279
## Bug fixes
7380

7481
* Fix bug where matrix multiply had dimension error before coercing to greta array. (#464)
75-
*
82+
- Fixes for Wishart and LKJ Correlation distributions (#729 #733 #734):
83+
- Add bijection density to choleskied distributions.
84+
- Note about some issues with LKJ and our normalisation constant for the density.
85+
- Removed our custom `forward_log_det_jacobian()` function from `tf_correlation_cholesky_bijector()` (used in `lkj_correlation()`). Previously, it did not work with unknown dimensions, but it now works with them.
86+
- Ensure wishart uses sigma_chol in scale_tril
87+
- Wishart uses `tf$matmul(chol_draws, chol_draws, adjoint_b = TRUE)` instead of `tf_chol2symm(chol_draws)`.
88+
- Test log prob function returns valid numeric numbers.
89+
- Addresses issue with log prob returning NaNs--replace `FillTriangular` with `FillScaleTriL` and apply Chaining to first transpose input.
7690

7791
# greta 0.4.5
7892

0 commit comments

Comments
 (0)