You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: NEWS.md
+35-21
Original file line number
Diff line number
Diff line change
@@ -28,51 +28,65 @@ The following optimisers are removed, as they are no longer supported by Tensorf
28
28
29
29
## Installation revamp
30
30
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.
32
32
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
36
36
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).
41
41
* 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).
46
46
47
47
## New Print methods
48
48
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).
51
51
52
52
## Minor
53
53
54
-
*`greta_sitrep()` now checks for installations of Python, TF, and TFP
54
+
*`greta_sitrep()` now checks for installations of Python, TF, and TFP.
55
55
* Slice sampler no longer needs precision = "single" to work.
56
56
* 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).
59
59
60
60
## Internals
61
61
62
62
* Internally we are replacing most of the error handling code as separate
63
63
`check_*` functions.
64
64
* Implemented `cli::cli_abort/warn/inform()` in place of `cli::format_error/warning/message()` + `stop/warning/message(msg, call. = FALSE)` pattern.
65
65
* 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).
68
68
* 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).
70
70
* Add internal data files `.deps_tf` and `.deps_tfp` to track dependencies of TF and TFP. Related to #666.
71
71
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
+
72
79
## Bug fixes
73
80
74
81
* 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.
0 commit comments