Skip to content

Latest commit

 

History

History
235 lines (190 loc) · 19.5 KB

CHANGELOG.md

File metadata and controls

235 lines (190 loc) · 19.5 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

2.5.1

The 2.5.1 release is a small patch release with two bugfixes.

  • The first PR (#346) corrects a dependency issue where the finalizer in futures_util.py incorrectly assumed the presence of experiment_runner in its module namespace, leading to failures in futures models like multiprocessing and mpi. This is resolved by adjusting the finalizer function to expect experiment_runner as an argument.
  • The second PR (#349) addresses a redundancy problem in the MPI evaluator, where the pool was inadvertently created twice.

What's Changed

🐛 Bugs fixed

  • Fix finalizer dependency on global experiment_runner by @quaquel in #346
  • bug fix in MPI evaluator by @quaquel in #349

Full Changelog: https://github.com/quaquel/EMAworkbench/compare/2.5.0...2.5.1

2.5.0

Highlights

In the 2.5.0 release of the EMAworkbench we introduce a new experimental MPIevaluator to run on multi-node (HPC) systems (#299, #328). We would love feedback on it in #311.

Furthermore, the pair plots for scenario discovery now allow contour plots and bivariate histograms (#288). When doing Prim you can inspect multiple boxed and display them in a single figure (#317).

Breaking changes

From 3.0 onwards, the names of parameters, constants, constraints, and outcomes must be valid python identifiers. From this version onwards, a DeprecationWarning is raised if the name is not a valid Python identifier.

What's Changed

🎉 New features added

  • Improved pair plots for scenario discovery by @steipatr in #288
  • Introducing MPIEvaluator: Run on multi-node HPC systems using mpi4py by @EwoutH in #299
  • inspect multiple boxes and display them in a single figure by @quaquel in #317

🛠 Enhancements made

  • Enhancement for #271: raise exception by @quaquel in #282
  • em_framework/points: Add string representation to Experiment class by @EwoutH in #297
  • Speed up of plot_discrete_cdfs by 2 orders of magnitude by @quaquel in #306
  • em_framework: Improve log messages, warning and errors by @EwoutH in #300
  • analysis: Improve log messages, warning and errors by @EwoutH in #313
  • change to log message and log level in feature scoring by @quaquel in #318
  • [WIP] MPI update by @quaquel in #328

🐛 Bugs fixed

  • Fix search in Readthedocs configuration with workaround by @EwoutH in #264
  • bugfix introduced by #241 in general-introduction from docs by @quaquel in #265
  • prim: Replace deprecated Altair function by @EwoutH in #270
  • bugfix to rebuild_platypus_population by @quaquel in #276
  • bugfix for #277 : load_results properly handles experiments dtypes by @quaquel in #280
  • fixes a bug where binomtest fails because of floating point math by @quaquel in #315
  • make workbench compatible with latest version of pysd by @quaquel in #336
  • bugfixes for string vs bytestring by @quaquel in #339

📜 Documentation improvements

  • Drop Python 3.8 support, require 3.9+ by @EwoutH in #259
  • readthedocs: Add search ranking and use latest Python version by @EwoutH in #242
  • docs/examples: Always use n_processes=-1 in MultiprocessingEvaluator by @EwoutH in #278
  • Docs: Add MPIEvaluator tutorial for multi-node HPC systems, including DelftBlue by @EwoutH in #308
  • Add Mesa example by @steipatr in #335
  • Fix htmltheme of docs by @quaquel in #342

🔧 Maintenance

  • CI: Switch default jobs to Python 3.12 by @EwoutH in #314
  • Reorganization of evaluator code and renaming of modules by @quaquel in #320
  • Replace deprecated zmq.eventloop.ioloop with Tornado's ioloop by @EwoutH in #334

Other changes

  • examples: Speedup the lake_problem function by ~30x by @EwoutH in #301
  • Create an GitHub issue chooser by @EwoutH in #331
  • Depracation warning for parameter names not being valid python identifiers by @quaquel in #337

Full Changelog: https://github.com/quaquel/EMAworkbench/compare/2.4.0...2.5.0

2.4.1

Highlights

2.4.1 is a small patch release of the EMAworkbench, primarily resolving issues #276 and #277 in the workbench itself, and a bug introduced by #241 in the docs. The EMAworkbench now also raise exception when sampling scenarios or policies while no uncertainties or levers are defined (#282).

What's Changed

🛠 Enhancements made

  • Enhancement for #271: raise exception by @quaquel in #282

🐛 Bugs fixed

  • bugfix to rebuild_platypus_population by @quaquel in #276
  • Fixed dtype handling in load_results function. The dtype metadata is now correctly applied, resolving issue #277.
  • Fixed the documentation bug introduced by #241 in the general introduction section, which now accurately reflects the handling of categorical uncertainties in the experiment dataframe.

📜 Documentation improvements

  • readthedocs: Add search ranking and use latest Python version by @EwoutH in #242
  • docs/examples: Always use n_processes=-1 in MultiprocessingEvaluator by @EwoutH in #278

2.4.0

Highlights

The latest release of the EMAworkbench introduces significant performance improvements and quality of life updates. The performance of _store_outcomes has been enhanced by approximately 35x in pull request #232, while the combine function has seen a 8x speedup in pull request #233. This results in the overhead of the EMAworkbench being reduced by over 70%. In a benchmark, a very simple Python model now performs approximately 40.000 iterations per second, compared to 15.000 in 2.3.0.

In addition to these performance upgrades, the examples have been added to the ReadTheDocs documentation, more documentation improvements have been made and many bugs and deprecations have been fixed.

The 2.4.x release series requires Python 3.8 and is tested on 3.8 to 3.11. It's the last release series supporting Python 3.8. It can be installed as usual via PyPI, with:

pip install --upgrade ema-workbench

What's Changed

🎉 New features added

  • optional preallocation in callback based on outcome shape and type by @quaquel in #229

🛠 Enhancements made

  • util: Speed up combine by ~8x by @EwoutH in #233
  • callbacks: Improve performance of _store_outcomes by ~35x by @EwoutH in #232

🐛 Bugs fixed

  • fixes broken link to installation instructions by @quaquel in #224
  • Docs: Fix developer installation commands by removing a space by @EwoutH in #220
  • fixes a bug where Prim modifies the experiments array by @quaquel in #228
  • bugfix for warning on number of processes and max_processes by @quaquel in #234
  • Fix deprecation warning and dtype issue in flu_example.py by @quaquel in #235
  • test for get_results and categorical fix by @quaquel in #241
  • Fix pynetlogo imports by decapitalizing pyNetLogo by @quaquel in #248
  • change default value of um_p to be consistent with Borg documentation by @irene-sophia in #250
  • Fix pretty print for RealParameter and IntegerParameter by @quaquel in #255
  • Fix bug in AutoadaptiveOutputSpaceExploration with wrong default probabilities by @quaquel in #252

📜 Documentation improvements

  • Parallexaxis doc by @quaquel in #249
  • Examples added to the docs by @quaquel in #244

🔧 Maintenance

  • clusterer: Update AgglomerativeClustering keyword to fix deprecation by @EwoutH in #218
  • Fix Matplotlib and SciPy deprecations by @EwoutH in #227
  • CI: Add job that runs tests with pre-release dependencies by @EwoutH in #217
  • Fix for stalling tests by @quaquel in #247

Other changes

  • add metric argument to allow for other linkages by @mikhailsirenko in #222

New Contributors

  • @mikhailsirenko made their first contribution in #222
  • @irene-sophia made their first contribution in #250

Full Changelog: https://github.com/quaquel/EMAworkbench/compare/2.3.0...2.4.0

2.3.0

Highlights

This release adds a new algorithm for output space exploration. The way in which convergence tracking for optimization is supported has been overhauled completely, see the updated directed search user guide for full details. The documentation has moreover been expanded with a comparison to Rhodium.

With this new release, the installation process has been improved by reducing the number of required dependencies. Recommended packages and connectors can now be installed as extras using pip, for example pip install -U ema-workbench[recommended,netlogo]. See the updated installation instructions for all options and details.

The 2.3.x release series supports Python 3.8 to 3.11. It can be installed as usual via PyPI, with:

pip install --upgrade ema-workbench

What's Changed

🎉 New features added

  • Output space exploration by @quaquel in #170
  • Convergence tracking by @quaquel in #193

🛠 Enhancements made

  • Switch to using format string in prim logging by @quaquel in #161
  • Replace setup.py with pyproject.toml and implement optional dependencies by @EwoutH in #166

🐛 Bugs fixed

  • use masked arrays for storing outcomes by @quaquel in #176
  • Fix error for negative n_processes input in MultiprocessingEvaluator by @EwoutH in #189
  • optimization.py: Fix "epsilons" keyword argument in _optimize() by @EwoutH in #150

📜 Documentation improvements

  • Create initial CONTRIBUTING.md documentation by @EwoutH in #162
  • Create Read the Docs yaml configuration by @EwoutH in #173
  • update to outcomes documentation by @quaquel in #183
  • Improved directed search tutorial by @quaquel in #194
  • Update Contributing.md with instructions how to merge PRs by @EwoutH in #200
  • Update Readme with an introduction and documentation, installation and contribution sections by @EwoutH in #199
  • Rhodium docs by @quaquel in #184
  • Fix spelling mistakes by @EwoutH in #195

🔧 Maintenance

  • Replace depreciated shade keyword in Seaborn kdeplot with fill by @EwoutH in #169
  • CI: Add pip depencency caching, don't run on doc changes, update setup-python to v4 by @EwoutH in #174
  • Formatting: Format with Black, increase max line length to 100, combine multi-line blocks by @EwoutH in #178
  • Add pre-commit configuration and auto update CI by @EwoutH in #181
  • Fix Matplotlib, ipyparallel and dict deprecation warnings by @EwoutH in #202
  • CI: Start testing on Python 3.11 by @EwoutH in #156
  • Replace deprecated saltelli with sobol SALib 1.4.6+. by @quaquel in #211

Other changes

  • Adds CITATION.cff by @quaquel in #209

Full Changelog: https://github.com/quaquel/EMAworkbench/compare/2.2.0...2.3

2.2.0

Highlights

With the 2.2 release, the EMAworkbench can now connect to Vadere models on pedestrian dynamics. When inspecting a Prim Box peeling trajectory, multiple points on the peeling trajectory can be inspected simultaneously by inputting a list of integers into PrimBox.inspect().

When running experiments with multiprocessing using the MultiprocessingEvaluator, the number of processes can now be controlled using a negative integer as input for n_processes (for example, -2 on a 12-thread CPU results in 10 threads used). Also, it will now default to max. 61 processes on windows machines due to limitations inherent in Windows in dealing with higher processor counts. Code quality, CI, and error reporting also have been improved. And finally, generating these release notes is now automated.

What's Changed

🎉 New features added

  • Vadere model connector by @floristevito in #145

🛠 Enhancements made

  • Improve code quality with static analysis by @EwoutH in #119
  • prim.py: Make PrimBox.peeling_trajectory["id"] int instead of float by @EwoutH in #121
  • analysis: Allow optional annotation of plot_tradeoff graphs by @EwoutH in #123
  • evaluators.py: Allow MultiprocessingEvaluator to initialize with cpu_count minus N processes by @EwoutH in #140
  • PrimBox.inspect() now can also take a list of integers (aside from a single int) to inspect multiple points at once by @quaquel in https://github.com/quaquel/EMAworkbench/commit/6d83a6c33442ad4dce0974a384b03a225aaf830d (see also issue #124)

🐛 Bugs fixed

  • fixed typo in lake_model.py by @JeffreyDillonLyons in #136

📜 Documentation improvements

🔧 Maintenance

New Contributors

  • @JeffreyDillonLyons made their first contribution in #136
  • @rhysits made their first contribution in #144
  • @floristevito made their first contribution in #145

Full Changelog: https://github.com/quaquel/EMAworkbench/compare/2.1.2...2.2.0