From c4b41b4ff9b25fc28019243e7e9663b53bada7c4 Mon Sep 17 00:00:00 2001 From: kohlhaasrebecca <rebecca.kohlhaas@outlook.com> Date: Thu, 25 Jan 2024 16:07:21 +0100 Subject: [PATCH] Update CHANGELOG.md --- CHANGELOG.md | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 016575197..eaaf90623 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,42 +6,45 @@ * .... ### Added +Features * PyLinkForwardModel has new link_type 'umbridge' for UM-Bridge type models * class `InputSpace` as parent class to `ExpDesigns` -* `MetaModel` has option to train with OLs+constraints, this is toggled by `MetaModel.apply_constraints` +* `MetaModel` has option to train with OLS+constraints +Examples * Example `umbridge_tsunamitutorial` to show two options of using UM-Bridge type models * Example `convergence_tests` for the constraints ### Changed +Engine * `MetaModelEngine` renamed to `Engine` -* Function `hellinger_distance()` moved out of `MetaModelEngine` -* Function `logpdf()` moved out of `MetaModelEngine` -* Function `subdomain()` moved out of `MetaModelEngine` -* Renamed `MetaModelEngine.run` and split into `Engine.train_normal` and `Engine.train_sequential` +* Functions `hellinger_distance()`, `logpdf()` and `subdomain()` moved out of `MetaModelEngine` +* Split `MetaModelEngine.run()` into `Engine.train_normal()` and `Engine.train_sequential()` * `MetaModelEngine.opt_SeqDesign()` renamed to `Engine.choose_next_sample()` * `Engine.eval_metamodel()` equivalent to previous `MetaModel.eval_metamodel()` -* `MetaModel` constructor does not receive the model +MetaModel * `MetaModel` fully independent of model -* `MetaModel.add_ExpDesign()` repurposed for the new `InputSpace` class and renamed to `MetaModel.addInputSpace()` +* `MetaModel` builds and uses `InputSpace` instead of `ExpDesigns` * `MetaModel.create_metamodel()` split into `MetaModel.build_metamodel()` and `MetaModel.fit()` * `MetaModel.fit()` renamed to `MetaModel.regression()` -* `MetaModel.eval_metamodel()` only runs on given samples, option to give number of wanted evaluations removed -* Function `compute_pce_moments()` moved from `MetaModelEngine` to `MetaModel` -* Function `generate_polynomials()` moved from `ExpDesigns` to `MetaModel` +* `MetaModel.eval_metamodel()` only runs on given samples +* Functions `compute_pce_moments()` and `generate_polynomials()` moved from `MetaModelEngine` to `MetaModel` +PyLinkForwardModel * Read-in of MC-references performed by `PyLinkForwardModel.read_observation()`, formerly in function `PyLinkForwardModel.read_mc_reference()` +* Function `within_change()` moved out of `PyLinkForwardModel` +ExpDesigns * `ExpDesigns` now independent of `MetaModel` * Parameters related to sequential training were moved from `MetaModel` to `ExpDesigns` (`Seq*`, `valid_model_runs`) * Use `ExpDesigns.Y` instead of `MetaModel.ModelOutputDict` +Changes in constructors * Constructors of `PostProcessing`, `BayesInference`, `BayesModelComp` are to be given the engine instead of the metamodel * Constructor of `Exploration` to be given `ExpDesigns` instead of `MetaModel` -* `within_change()` moved out of `PyLinkForwardModel` - +Examples * Examples updated to these changes ### Removed -- GitLab