Skip to content
Snippets Groups Projects
CHANGELOG.md 3.63 KiB
Newer Older
kohlhaasrebecca's avatar
kohlhaasrebecca committed
# CHANGELOG

Alina Lacheim's avatar
Alina Lacheim committed
## [unreleased] <include release date>

Rebecca Kohlhaas's avatar
Rebecca Kohlhaas committed
### Requirements

Alina Lacheim's avatar
Alina Lacheim committed
### Added
Maria Fernanda Morales's avatar
Maria Fernanda Morales committed
Features
* `caculate_moments` method in `Meta_Model` class for a general calculation of the moments 
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* `PCEGPR` class for combining polynomial chaos and gaussian processes 
Alina Lacheim's avatar
Alina Lacheim committed
Tests
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* Tests for `GPE` class 
Alina Lacheim's avatar
Alina Lacheim committed
* Tests for `calculate_moments` method in `Meta_Model` and `GPESkl` classes 
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* Tests for `PCEGPR` class 
* Tests for `PostProcessing`class
Maria Fernanda Morales's avatar
Maria Fernanda Morales committed

Examples
* Example `analytical_function_pcegpr` to show application of the combined class `PCEGPR`
Alina Lacheim's avatar
Alina Lacheim committed

### Changed 
Rebecca Kohlhaas's avatar
Rebecca Kohlhaas committed
* Split surrogate classes into template class `MetaModel` and child classes `PCE` and `GPESklearn`
* Changed Exception format in `GPE` class to more specific Exceptions 
Rebecca Kohlhaas's avatar
Rebecca Kohlhaas committed
* Extend `Inputs.add_marginals` to allow direct setting of marginal properties
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* Move Sobol' calculation to `PCE.calculate_sobol`
* Clean `PostProcessing` class and update for general `MetaModel` objects
Rebecca Kohlhaas's avatar
Rebecca Kohlhaas committed

Bug fixes
* `ExpDesign` always uses user-defined samples when given
Alina Lacheim's avatar
Alina Lacheim committed

Rebecca Kohlhaas's avatar
Rebecca Kohlhaas committed
### Removed
* Input `n_samples` for `ExpDesign.generate_ED()`
Alina Lacheim's avatar
Alina Lacheim committed

## [1.1.0]
### Requirements
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* numpy >= 1.23.5

### Added
Features
* class `SeqDesign` for sequential training
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* `Engine` can be built without a surrogate
* `BayesInference` and `BayesModelComparison` can be performed on an `Engine` object without a surrogate

Examples
* Example `user_guide` to go along with the user guide on the website
* Example `principal_component_analysis` to show application of pca on metamodel outputs
* Example 'only_model' for use of inference and model comparison without a metamodel

### Changed
* Moved functions for sequential training from `Engine` to `SeqDesign`
* Moved `hellinger_distance`, `logpdf`, `subdomain` into `surrogate_models/seq_design`
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* Early stop in `BayesInf` for improved performance of `BayesModelComp`
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* Allow singular matrices in exploitation with `BayesActDesign` 
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* `ExpDesign.generate_ED` no longer needs `transform`

Bug fixes
* Import of `ExpDesign` allowed
* Images in `PostProcessing` only saved, not opened
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* Fixed option `MetaModel.dim_red_method = 'pca'`


### Removed
* Disabled exploration with `voronoi`
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* `BayesModelComp.just_n_meas`
kohlhaasrebecca's avatar
kohlhaasrebecca committed
### Requirements
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* numpy now at 1.23.3
* ....
kohlhaasrebecca's avatar
kohlhaasrebecca committed

### Added
kohlhaasrebecca's avatar
kohlhaasrebecca committed
Features
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* PyLinkForwardModel has new link_type 'umbridge' for UM-Bridge type models
* class `InputSpace` as parent class to `ExpDesigns`
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* `MetaModel` has option to train with OLS+constraints
kohlhaasrebecca's avatar
kohlhaasrebecca committed
Examples
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* Example `umbridge_tsunamitutorial` to show two options of using UM-Bridge type models
* Example `convergence_tests` for the constraints

### Changed
kohlhaasrebecca's avatar
kohlhaasrebecca committed
General
* Independent functions moved out of classes
* 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`

kohlhaasrebecca's avatar
kohlhaasrebecca committed
Engine
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* `MetaModelEngine` renamed to `Engine`
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* Split `run()` into `train_normal()` and `train_sequential()`
* `opt_SeqDesign()` renamed to `choose_next_sample()`
kohlhaasrebecca's avatar
kohlhaasrebecca committed
MetaModel
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* `MetaModel` fully independent of model
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* `MetaModel` uses `InputSpace` instead of `ExpDesigns`
* `create_metamodel()` split into `build_metamodel()` and `fit()`
* `fit()` renamed to `regression()`
* `eval_metamodel()` only runs on given samples, full functionality retained in `Engine.eval_metamodel()`
* Polynomial related functions moved from `MetaModelEngine` to `MetaModel`
kohlhaasrebecca's avatar
kohlhaasrebecca committed
PyLinkForwardModel
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* Read-in of MC-references now performed by `PyLinkForwardModel.read_observation()`
kohlhaasrebecca's avatar
kohlhaasrebecca committed
ExpDesigns
kohlhaasrebecca's avatar
kohlhaasrebecca committed
* Parameters related to sequential training were moved from `MetaModel` to `ExpDesigns` (`Seq*`, `valid_model_runs`)
 
### Removed
* Class `SequentialDesign`
* `ExpDesigns.method` 
* `MetaModel.create_basis_indices()`