-
Rebecca Kohlhaas authoredRebecca Kohlhaas authored
To find the state of this project's repository at the time of any of these versions, check out the tags.
CHANGELOG.md 5.23 KiB
CHANGELOG
[2.0.0] (2025-02-05)
Requirements
- Set
matplotlib
version back to 3.7.3 to ensure stability in combination with seaborn
Added
Features
-
caculate_moments
method inMeta_Model
class for a general calculation of the moments -
PCEGPR
class for combining polynomial chaos and gaussian processes
Tests
- Tests for
GPE
class - Tests for
calculate_moments
method inMeta_Model
andGPESkl
classes - Tests for
PCEGPR
class - Tests for
PostProcessing
class
Examples
- Example
analytical_function_pcegpr.py
to show application of the combined classPCEGPR
Changed
- Split surrogate classes into template class
MetaModel
and child classesPCE
andGPESklearn
- Changed Exception format in
GPE
class to more specific Exceptions - Extend
Inputs.add_marginals
to allow direct setting of marginal properties - Move Sobol' calculation to
PCE.calculate_sobol
- Clean
PostProcessing
class and update for generalMetaModel
objects - Split
BayesInference
class intoBayesInference
, template classPostSampler
and child classRejectionSampler
- Class
MCMC
child class ofPostSampler
- Split
BayesInference.create_inference()
intoBayesInference.run_inference()
andBayesInference.run_validation()
- Plot in
PCE.adaptive_regression
is saved automatically - Moved
adaptPlot()
to beEngine.plot_adapt()
Renaming
- Renamed attributes of classes
BayesInference
,BMC
,MCMC
,SeqDesign
andEngine
following from structure reworking - Renamed attribues and functions to snake-style naming:
-
*.Discrepancy
to*.discrepancy
-
surrogate_models.py
tometa_model.py
-
*.MetaModel
to*.meta_model
-
*.ExpDesign
to*.exp_design
-
*.Model
to*.model
-
*LCerror
to*lc_error
-
*.InputSpace
to*.input_space
-
*.Marginals
to*.marginals
-
*.Rosenblatt
to*.rosenblatt
-
*.add_InputSpace
to*.add_input_space
-
*.InputObj
to*.input_object
-
*.JDist
to*.j_dist
-
._autoSelect
to*._auto_select
-
ExpDesigns.generate_ED
toExpDesigns.generate_ed
-
ExpDesigns.X
toExpDesigns.x
-
ExpDesigns.Y
toExpDesigns.y
-
PyLinkForwardModel.Output
toPyLinkForwardModel.output
-
- Class
auto_vivification
toAutoVivification
Bug fixes
-
ExpDesign
always uses user-defined samples when given -
ExpDesign
n_init_samples can be user-defined - Fixed pce-loocv calculation for few training samples
- Two-step coefficient estimation for
LARS
PCE training options
Removed
- Input
n_samples
forExpDesign.generate_ED()
- Reduced
Discrepancy
options to onlytotal_sigma2
[1.1.0]
Requirements
- numpy >= 1.23.5
Added
Features
- class
SeqDesign
for sequential training -
Engine
can be built without a surrogate -
BayesInference
andBayesModelComparison
can be performed on anEngine
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
toSeqDesign
- Moved
hellinger_distance
,logpdf
,subdomain
intosurrogate_models/seq_design
- Early stop in
BayesInf
for improved performance ofBayesModelComp
- Allow singular matrices in exploitation with
BayesActDesign
-
ExpDesign.generate_ED
no longer needstransform
Bug fixes
- Import of
ExpDesign
allowed - Images in
PostProcessing
only saved, not opened - Fixed option
MetaModel.dim_red_method = 'pca'
Removed
- Disabled exploration with
voronoi
BayesModelComp.just_n_meas
[1.0.0]
Requirements
- numpy now at 1.23.3
- ....
Added
Features
- PyLinkForwardModel has new link_type 'umbridge' for UM-Bridge type models
- class
InputSpace
as parent class toExpDesigns
-
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
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 givenExpDesigns
instead ofMetaModel
Engine
-
MetaModelEngine
renamed toEngine
- Split
run()
intotrain_normal()
andtrain_sequential()
-
opt_SeqDesign()
renamed tochoose_next_sample()
MetaModel
-
MetaModel
fully independent of model -
MetaModel
usesInputSpace
instead ofExpDesigns
-
create_metamodel()
split intobuild_metamodel()
andfit()
-
fit()
renamed toregression()
-
eval_metamodel()
only runs on given samples, full functionality retained inEngine.eval_metamodel()
- Polynomial related functions moved from
MetaModelEngine
toMetaModel
PyLinkForwardModel
- Read-in of MC-references now performed by
PyLinkForwardModel.read_observation()
ExpDesigns
- Parameters related to sequential training were moved from
MetaModel
toExpDesigns
(Seq*
,valid_model_runs
)
Removed
- Class
SequentialDesign
ExpDesigns.method
MetaModel.create_basis_indices()