Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from SMTorg:master #21

Open
wants to merge 253 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
253 commits
Select commit Hold shift + click to select a range
f124c01
Update doc
relf Jan 12, 2022
ce3a3b6
Fix EI to work with 2D `y_data` as used in GEKPLS (#346)
Laurentww Feb 10, 2022
e10d273
Fix MOE when test data are specified (#347)
relf Feb 11, 2022
c222dd8
Fix ego.EI() call
relf Mar 25, 2022
27dc2b2
Bump 1.2.0
relf Mar 25, 2022
4a4df25
Remove LHS ese dead code, fixes #350 (#351)
relf Mar 30, 2022
72432cf
Adding a tutorial for a mixed surrogate model in a hybrid composites …
raul-rufato May 6, 2022
88c2d13
Update ISAE logo
relf May 23, 2022
d90aba9
Update EGO doc
relf May 29, 2022
a347d32
Change warning message from print to warnings.warn() (#367)
zhoutianxun Jun 9, 2022
1fa376c
Dependencies cleanup (#370)
relf Jun 9, 2022
f4d3c11
Add airfoil parameter learning example (GENN) (#374)
relf Jul 1, 2022
89c5070
Fix MGP API (#376)
relf Jul 12, 2022
752adcb
Update notebooks (#377)
relf Jul 19, 2022
3db7384
Fix wing weight formula (#381)
relf Aug 19, 2022
f4c5823
Bump 1.3.0
relf Aug 22, 2022
037e543
1st PR about the new mixed-integer system and improvements to come. (…
Paul-Saves Aug 22, 2022
e42ab5b
Test on ubuntu py3.10 (#383)
relf Aug 23, 2022
8ce81fd
Bump 1.4.dev
relf Sep 3, 2022
b5521e9
Add kriging sampling methods (#385)
AlexThv Sep 7, 2022
a5f975e
Update mixint ORD doc (#386)
Paul-Saves Sep 7, 2022
f8f7f36
Add contributor
relf Sep 7, 2022
a6c204a
Refactoring kriging based surrogate and mixed integer (#384)
relf Sep 7, 2022
9431dbf
add output derivative for every kernel and fix a major issue for line…
Paul-Saves Dec 13, 2022
36f31e3
Update derivatives predictions for vectors inputs and clean EGO (#390)
Paul-Saves Dec 16, 2022
74a5f22
Fix EGO tunneling option handling (#391)
Paul-Saves Dec 19, 2022
de869b8
Update SMT for numpy 1.24 (#392)
Paul-Saves Dec 19, 2022
cb9f22e
Update notebooks (#393)
relf Dec 19, 2022
0ae11c7
Correct Gower distance bouds inconsistency & EGO for mixed integer (#…
Paul-Saves Jan 11, 2023
a22b14e
Add data normalization in QP (#396)
Paul-Saves Jan 12, 2023
4f38ae1
LHS seeding in the constructor (#397)
relf Jan 12, 2023
ec3e13f
Introduce x specifications for mixed-integer kriging based models (#…
Paul-Saves Jan 18, 2023
da0ebd3
Skip expensive tests by default (#401)
relf Jan 20, 2023
d4481b6
SMT logo (#402)
relf Jan 20, 2023
481b350
Fix allowed experts checking (#403)
relf Jan 31, 2023
10d1f25
Refactor XSpecs for stronger typing (#400)
relf Jan 31, 2023
308736e
update SMT tutorial with integer GP (#407)
NatOnera Feb 9, 2023
5a18d90
Implement hierarchical variables (#406)
Paul-Saves Feb 27, 2023
e12f4a1
Replace constants used for enumerations by native Python enums (#410)
relf Mar 1, 2023
8ada512
Update doc for SMT 2.0 (#412)
Paul-Saves Mar 2, 2023
8460a92
Prepare pre-release 2.0b1 (#413)
relf Mar 2, 2023
05f882b
Add mixint cantilever beam and hierarchical neural network problems. …
Paul-Saves Mar 23, 2023
5feeb97
Implements the Arc-kernel for hierarchical variables (#417)
Paul-Saves Mar 27, 2023
9a882fe
update doc for hierarchical variables (#421)
Paul-Saves Mar 28, 2023
e7f0e17
Update re-interpolation routine in mfk.py (#419)
robertwenink Mar 29, 2023
57d0922
CI: Test Python 3.11 on all OS, 3.10 and lower on Ubuntu (#423)
EwoutH Apr 3, 2023
102eb79
Add Dependabot configuration for GitHub Actions updates (#422)
EwoutH Apr 3, 2023
35b9ae1
Bump actions/checkout from 2 to 3 (#425)
dependabot[bot] Apr 3, 2023
da03e28
Bump actions/setup-python from 2 to 4 (#424)
dependabot[bot] Apr 3, 2023
8a8e3ae
Update AUTHORS.md
relf Apr 3, 2023
3d3e916
Exponential correlation function with variable power (#411)
yqliaohk Apr 7, 2023
1b5f6bb
Update AUTHORS.md
relf Apr 7, 2023
a3b1280
Update of Notebooks for SMT 2.0 and correction of typos (#426)
Paul-Saves Apr 13, 2023
fdd3dae
Prepare 2.0b2 (#427)
relf Apr 13, 2023
7c962f2
New design space API (#428)
jbussemaker May 16, 2023
7738e9d
fix default options for categorical kernels and fix folding for eg…
Paul-Saves May 16, 2023
960ecd7
Prepare release 2.0b3 (#432)
relf May 17, 2023
d4e1460
Cleaning krg_based for categorical__kernel (#433)
Paul-Saves May 22, 2023
1f626cc
Support value decoding for complete design vectors (#435)
jbussemaker May 30, 2023
b2646e8
update paper SMT 2 (#434)
Paul-Saves May 30, 2023
fcbd99b
Update notebooks to smt 2.0b3+ (#436)
relf Jun 2, 2023
4b0beb7
Fix test reproducibility (#438)
relf Jun 5, 2023
2dadd69
fix notebooks for colab (#437)
Paul-Saves Jun 5, 2023
f4a7bdd
Fix colab link (#440)
Paul-Saves Jun 5, 2023
e785bef
speeding up EGO (#443)
Paul-Saves Jun 7, 2023
93f5898
Revert back from COBYLA to SLSQP in EGO optimizer with mixed variable…
Paul-Saves Jun 9, 2023
498061c
Update mixed-integer test for slsqp and fix a bug in PLS with matrix …
Paul-Saves Jun 20, 2023
431d47d
Prepare release 2.0 (#448)
relf Jun 21, 2023
a6cf760
Improve tests consistency for convergence on GitHub Actions (#450)
Paul-Saves Jun 22, 2023
8c503d3
Cleanup x type in documentation (#451)
relf Jun 26, 2023
06fecea
Add convenient get_typename method to DesignVariable (#452)
relf Jun 26, 2023
e4e35ce
Update deprecated setup.cfg fields (#453)
jbussemaker Jul 5, 2023
899b7d0
Fix noisy categorical PLS bug (#454)
Paul-Saves Jul 10, 2023
aa76366
Add readthedocs required conf file (#458)
relf Aug 21, 2023
40ea6d3
Fix mixed hierarchical sampling (#456)
Paul-Saves Aug 24, 2023
6cbf874
Automate wheels distribution on Pypi (#460)
relf Aug 31, 2023
8abaffe
Prepare release 2.0.1 (#461)
relf Aug 31, 2023
1888028
Bump actions/checkout from 3 to 4 (#462)
dependabot[bot] Sep 11, 2023
6fa965f
Fix for expired deprecation in numpy 1.25 (#469)
relf Oct 9, 2023
43c5515
Bump pypa/cibuildwheel from 2.15.0 to 2.16.2 (#468)
dependabot[bot] Oct 10, 2023
a217a3b
Sparse GP (#463)
relf Oct 10, 2023
dde86f5
add MFK and MFKPLS compatibility with mixed variables (#467)
RemyCharayron Oct 13, 2023
8744f0a
Update pyDOE2 dependency to pyDOE3 (#471)
relf Oct 26, 2023
2ac08cd
Bump 2.1 (#472)
relf Oct 30, 2023
2f9a74e
Skip i686 build (atm, fail on Github actions)
relf Oct 30, 2023
ba2c262
Fix CIBW_SKIP variable name (grrr!)
relf Oct 30, 2023
531b872
Use v tag to release on Pypi
relf Oct 30, 2023
67a66ea
Trigger pypi upload only on tag push
relf Oct 30, 2023
3a5b108
Update NestedLHS to use design space (#473)
Paul-Saves Nov 14, 2023
8e1b7ea
Implement categorical decreed variables (#474)
Paul-Saves Nov 15, 2023
a1c52ae
Bump version 2.2.0 (#476)
relf Nov 21, 2023
a33b5e7
Fix import error when `ConfigSpace` not installed (#478)
relf Nov 24, 2023
141b82e
CI: Remove matplotlib in minimal test setting (#479)
relf Nov 24, 2023
e3d66a8
fix design space without ConfigSpace (#480)
Paul-Saves Nov 24, 2023
93bca60
Prepare 2.2.1 (#481)
relf Nov 24, 2023
f956d45
Fix doc build: remove test assertion from run method (#484)
relf Nov 28, 2023
f1aafcf
Add pyDOE3 designs as sampling methods (#477)
Antoine-Averland Nov 29, 2023
d47f6f3
Add classification example and engineering applications notebook (#483)
Paul-Saves Nov 29, 2023
4b31350
update tests for design_space, run notebook for next week smt2 paper …
Paul-Saves Dec 1, 2023
966d295
Update notebooks: SMT main and MFK tutorials (#489)
Paul-Saves Dec 5, 2023
139cf92
Make krg_based training reproducible (#490)
relf Dec 5, 2023
b060f46
Add proper variance optimization when using SGP (#491)
relf Dec 7, 2023
a894f5a
Add AES paper reference (#492)
Paul-Saves Dec 8, 2023
c0db4b8
Bump actions/setup-python from 4 to 5 (#493)
dependabot[bot] Dec 12, 2023
514aaec
Bump actions/download-artifact from 3 to 4 (#495)
dependabot[bot] Dec 18, 2023
620ecfb
Bump actions/upload-artifact from 3 to 4 (#496)
dependabot[bot] Dec 18, 2023
37bb5c1
Avoid distances computation when using SGP (#497)
relf Dec 19, 2023
9f77f5c
Avoid diagonal matrix creation in FITC (#499)
relf Dec 21, 2023
1040bb8
Prepare release 2.3 (#500)
relf Dec 22, 2023
f99d89f
Fix build release job following actions v4 upgrade (#501)
relf Dec 22, 2023
c9bb576
Update SMT 2.0 paper reference from 2023 to 2024 (#502)
Paul-Saves Jan 16, 2024
be831f5
Update to 2024 versions of black and scikit-learn (#504)
Paul-Saves Jan 29, 2024
5f50bc4
Bump pypa/cibuildwheel from 2.16.2 to 2.16.4 (#503)
dependabot[bot] Jan 29, 2024
7320305
Clean internal optimization within Kriging (#505)
Paul-Saves Jan 30, 2024
70ca1ac
Clean mixed integer sampling & seeding (#506)
Paul-Saves Feb 6, 2024
d978ccd
Add Compound Symmetry kernel (#508)
Paul-Saves Feb 10, 2024
0c4b243
fix bug for evaluating noise automatically for redundants points with…
Paul-Saves Feb 15, 2024
2fd5c5a
Use Cobyla by default for noisy Kriging (#511)
Paul-Saves Feb 15, 2024
d1018b8
Add SquaredSineExp kernel to kriging kernels (#512)
Paul-Saves Feb 19, 2024
a647148
Cleanup RMS error computation function import (#513)
Paul-Saves Feb 20, 2024
031ec8b
Bump pypa/cibuildwheel from 2.16.4 to 2.16.5 (#507)
dependabot[bot] Feb 20, 2024
2785147
Prepare release 2.4 (#514)
relf Feb 21, 2024
006694e
Use ruff as formatter and linter (#515)
relf Feb 21, 2024
041d931
Fix numba error related to deprecation in numpy 1.25 (#518)
Paul-Saves Feb 22, 2024
a80ed8b
Remove some warnings (#519)
relf Feb 23, 2024
ff1e268
Jenn (#517)
shb84 Feb 26, 2024
d757321
Remove some more warnings (#520)
relf Feb 27, 2024
cbf33ea
Run CI tests in parallel (#521)
relf Feb 27, 2024
8fc434b
Adjust ruff configuration to handle trailing whitespaces (#524)
relf Feb 28, 2024
7faf76a
Fix Ordinal and Integer constraints in DesignSpace (#525)
Paul-Saves Mar 4, 2024
9607ebc
Add noisy kriging example (#527)
Paul-Saves Mar 7, 2024
72a277e
Fix noisy GP link
relf Mar 7, 2024
9915412
Fix a bug for mixed integer variables (#529)
Paul-Saves Mar 7, 2024
373b7da
Fix noise test bad indentation $ (#531)
Paul-Saves Mar 8, 2024
c7b0d73
Add GPX surrogate model (#530)
relf Mar 8, 2024
34df4e2
fix cliping predictions (#532)
Paul-Saves Mar 18, 2024
0b376d0
Test non-zero variance with noise (#533)
Paul-Saves Mar 18, 2024
8a650fa
Update Kriging with noise tutorial (#536)
Paul-Saves Mar 18, 2024
cb9f617
Prepare release 2.5.0 (#535)
relf Mar 18, 2024
817ede6
Add a warning and improve tests (#539)
Paul-Saves Mar 20, 2024
4d80c52
Rust formatting (#540)
Paul-Saves Mar 20, 2024
fb82f9d
Fix variance prediction (#542)
Paul-Saves Apr 9, 2024
161a22c
Add derivatives prediction methods to GPX (#543)
relf Apr 10, 2024
b6bd190
fix KPLSK performances (#544)
Paul-Saves Apr 10, 2024
56ef7a9
add decreed continous variables (#546)
Paul-Saves Apr 15, 2024
f72e578
Speed up DesignSpace (#548)
Paul-Saves Apr 17, 2024
989334c
Bump version 2.5.1 (#550)
relf Apr 17, 2024
95a7dbd
Fix designspace for list (#551)
Paul-Saves Apr 25, 2024
457940a
Setup of the POD+I application (#547)
Shisohka Apr 26, 2024
0640628
Update hierarchical design space doc (#552)
Paul-Saves Apr 29, 2024
551af7e
Fix MFK check when using heteroscedastic noise (#554)
relf May 7, 2024
631720b
Update notebooks (#556)
Paul-Saves May 13, 2024
5271916
Documentation for PODI (#553)
Shisohka May 13, 2024
972af26
Bump pypa/cibuildwheel from 2.17.0 to 2.18.0 (#557)
dependabot[bot] May 13, 2024
a7448f0
Fix indentation error (#558)
Paul-Saves May 13, 2024
740ee39
Fix notebook (#559)
Paul-Saves May 14, 2024
2749dcf
Adding Notebbok (#563)
Shisohka May 16, 2024
43ab780
Prepare release 2.6.0 (#564)
relf May 16, 2024
3f31c93
Add PODI tutorial link
relf May 17, 2024
f8fe345
add second derivatives for squar_sin_exp (#561)
NicolasJeanGonel May 17, 2024
998f352
Handle tol rtol renaming in scipy solvers (#568)
relf May 22, 2024
0605476
Fix atol/rtol forgotten in PR #568
relf May 23, 2024
e7829ce
Fix signed integer overflow (#572)
NAThompson May 24, 2024
3466975
Fix TNC optimization & update notebooks (#567)
Paul-Saves May 27, 2024
3218b11
Filter column indices of sparse matrix to ensure non-negativity (#576)
NAThompson May 27, 2024
29ed4d1
Bump pypa/cibuildwheel from 2.18.0 to 2.18.1 (#577)
dependabot[bot] May 27, 2024
91798f0
Prepare release 2.6.1 (#578)
relf May 28, 2024
1dc72e8
Document example with less expensive parameters (#580)
NAThompson May 29, 2024
809c93b
Add computation of the variance gradient at a given point in kriging-…
relf Jun 17, 2024
bf1773d
Use numpy 1.x in CI tests and requirements (#589)
relf Jun 17, 2024
5188abc
Bump pypa/cibuildwheel from 2.18.1 to 2.19.1 (#587)
dependabot[bot] Jun 18, 2024
2276301
Add a GPR section in the documentation (#591)
relf Jun 18, 2024
25af948
Support for Python 3.12 (#575)
relf Jun 19, 2024
0685d6e
Test with ConfigSpace on py3.11 (#593)
relf Jun 20, 2024
12b7077
Noisy gp and gpx tests (#592)
MaelTremouille Jun 25, 2024
debc884
Support scipy 1.14 (#600)
relf Jun 25, 2024
e5c1da3
Prepare release 2.6.2 (#596)
relf Jun 25, 2024
d2ed327
Rework tests to reduce CI execution time (#604)
relf Jun 26, 2024
cb353e0
Add spatial derivatives to squar_sin_exp kernel (#582)
NicolasJeanGonel Jun 27, 2024
d75ff44
Add ill-conditioned training check method for kriging-based surroga…
Paul-Saves Jun 27, 2024
49f8bd8
Add Mixed integer KPLSK (#607)
Paul-Saves Jul 5, 2024
af1f8d6
fix ei warning divide by zero (#614)
Paul-Saves Jul 5, 2024
c9d5605
Format with ruff 0.5.0 (#608)
Paul-Saves Jul 5, 2024
c931d44
Update MFK tuto plots
relf Jul 5, 2024
cb78bcf
Update noisy GP tuto
relf Jul 5, 2024
8e68996
Bump pypa/cibuildwheel from 2.19.1 to 2.19.2 (#616)
dependabot[bot] Jul 8, 2024
be5b316
Fix link issue in the documentation (#617)
NicolasJeanGonel Jul 8, 2024
9876b87
fix ei transpose (#619)
Paul-Saves Jul 9, 2024
30eb1ff
fix kplsk for retraining (#618)
Paul-Saves Jul 9, 2024
9d80629
Local bases (#610)
Shisohka Jul 9, 2024
1439cd7
Bump 2.6.3 (#621)
relf Jul 9, 2024
a7fb9fe
Class based kernels for kriging (#622)
NicolasJeanGonel Jul 10, 2024
141817f
Clean up utils after switching from genn to jenn (#626)
Paul-Saves Aug 19, 2024
59df298
Make ruff ignore notebook files (#637)
relf Aug 19, 2024
96a630a
Correct bugs in Likelihood computation (#634)
Paul-Saves Aug 20, 2024
7c567c0
Documentation for local bases (#632)
Shisohka Aug 20, 2024
a8c7675
Bump pypa/cibuildwheel from 2.19.2 to 2.20.0 (#635)
dependabot[bot] Aug 21, 2024
a467bf4
New methods to induce points in SGP (#633)
MaelTremouille Aug 21, 2024
7beb822
Update sgp for non-normalized data (#638)
Paul-Saves Aug 22, 2024
0c42843
Add test for predict_variance_derivatives in gpx (#640)
Paul-Saves Aug 22, 2024
5f7ad79
add tutorial and ruff (#639)
Paul-Saves Aug 22, 2024
f517a41
Enhance tutorials (#643)
Paul-Saves Sep 16, 2024
f4c297a
Fix test (#645)
Paul-Saves Sep 16, 2024
5c7b82e
Bump pypa/cibuildwheel from 2.20.0 to 2.21.0 (#644)
dependabot[bot] Sep 16, 2024
65aad0d
Implementation of EGO with noisy data by @MaelTremouille (#646)
Paul-Saves Sep 16, 2024
b2f9b40
fix CR and hier, twice corrected (#647)
Paul-Saves Sep 18, 2024
1103982
Fix is_ri computational time (#652)
Paul-Saves Sep 19, 2024
8f20a43
Add cooperative components kriging model as application (#642)
lisapretsch Sep 19, 2024
ebf081b
Update doc & tutos for POD+I (#654)
Paul-Saves Sep 23, 2024
7804ada
Bump pypa/cibuildwheel from 2.21.0 to 2.21.1 (#655)
dependabot[bot] Sep 23, 2024
5d3ed9d
Prepare release 2.7.0 (#656)
relf Sep 23, 2024
0e8a348
Smt with combination of kernels (#653)
NicolasJeanGonel Sep 26, 2024
3646af2
Move advanced design space handling in separate `smt-design-space-ext…
Paul-Saves Oct 2, 2024
7dd4341
Add save/load methods to GPX surrogate model (#658)
relf Oct 3, 2024
1d5e1f5
Fix a bug that made Continuous relaxation incompatible with hierarchi…
Paul-Saves Oct 11, 2024
34d1c13
Make error message to increase nugget more actionable. (#661)
NAThompson Oct 14, 2024
09bec15
Bump pypa/cibuildwheel from 2.21.1 to 2.21.3 (#662)
dependabot[bot] Oct 14, 2024
3765270
remove smt dependency to cs and adsg-core (#663)
Paul-Saves Oct 16, 2024
38f6e37
fix CONT_RELAX with Hierarchical variables (#664)
Paul-Saves Oct 18, 2024
712b336
Refactor `smt.design_space` (#665)
relf Oct 18, 2024
2758bc3
Remove `smt_design_space_ext` dependency from `smt.design_space` (#666)
relf Oct 18, 2024
ce7cbbb
Expose DesignVariable, remove forgotten HAS_DESIGN_SPACE_EXT (#667)
relf Oct 18, 2024
80c5434
Update SMT tutorials for 2.7 (#668)
Paul-Saves Oct 22, 2024
0639940
Update the documentation (#669)
Paul-Saves Oct 30, 2024
f510e99
Update joseph affiliation (#671)
Paul-Saves Nov 6, 2024
e9626ef
Add implementation of the multi-fi cokriging MFCK (#657)
mcastanoUQ Nov 7, 2024
9a748ad
Update kernel engineering notebooks (#674)
relf Nov 7, 2024
451526f
Prepare release 2.8 (#675)
relf Nov 8, 2024
411fdd8
update notebook for smt 2.8.0 (#677)
Paul-Saves Nov 14, 2024
2dad46e
Fix to LHS ese comparison (#683)
neal-ks Dec 2, 2024
4121b9e
Add ruff format checking in Github action (#685)
Paul-Saves Dec 3, 2024
8cbd4b3
update import (#678)
Paul-Saves Dec 3, 2024
571c842
Remove zeroing small variance values (#684)
Paul-Saves Dec 3, 2024
9972225
Bump pypa/cibuildwheel from 2.21.3 to 2.22.0 (#680)
dependabot[bot] Dec 4, 2024
7da5e1c
Add a warning on kriging-based surrogates being trained with multiple…
relf Dec 5, 2024
5fa7fa9
Bump 2.8.1 (#688)
relf Dec 5, 2024
5bfec9a
New save or load functions for the surrogate models using pickle (#689)
Antoine-Averland Dec 10, 2024
9bf64f6
save / load for the surrogates using cpp
Antoine-Averland Dec 10, 2024
d6bcd08
Merge pull request #691 from Antoine-Averland/persistence_cpp
relf Dec 11, 2024
047f722
Add save / load functions for applications MOE, MFK, MFKPLS, MFKPLSK …
Antoine-Averland Dec 11, 2024
5722846
Add compression of data at the save to reduce the size of the file (#…
Antoine-Averland Dec 12, 2024
c65e721
Update the documentation on how to build the documentation (#697)
enricostragiotti Dec 17, 2024
61bf8c1
Add the option to specify a seed for the Random sampling method (#696)
enricostragiotti Dec 17, 2024
223cec8
Add metric computation functions for surrogate performance evaluation…
Antoine-Averland Dec 19, 2024
4645969
Add an example of surrogate-based optimization using constrained EI c…
Paul-Saves Dec 19, 2024
be8d4a6
Add multi-fidelity adaptative doe examples (#701)
relf Dec 20, 2024
27feb83
Anisotropic kernel for the multi-fidelity co-Kriging model (MFCK) (#692)
mcastanoUQ Dec 20, 2024
cc9eb8c
Update EGO notebook (#702)
Paul-Saves Dec 23, 2024
5bbdcc0
Add save/load API documentation (#703)
relf Dec 23, 2024
32bc046
Prepare release 2.9 (#704)
relf Dec 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ omit =
*/tests/*
*/examples/*
*/__init__.py
*/setup.py
*/setup.py
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
60 changes: 60 additions & 0 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Build and upload to PyPI

on:
workflow_dispatch:
push:
tags: ['v*']

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v4

- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_BUILD: cp39-* cp310-* cp311-* cp312-*
CIBW_SKIP: cp*_i686

- uses: actions/upload-artifact@v4
with:
name: smt-${{ matrix.os }}
path: ./wheelhouse/*.whl

build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Build sdist
run: pipx run build --sdist

- uses: actions/upload-artifact@v4
with:
name: smt-src
path: dist/*.tar.gz

upload_pypi:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
pattern: smt-*
merge-multiple: true
path: dist

- uses: pypa/gh-action-pypi-publish@release/v1
with:
verbose: true

19 changes: 12 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,20 @@ jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.7', '3.8', '3.9']
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.12"]
include:
- os: ubuntu-latest
python-version: "3.11"
- os: ubuntu-latest
python-version: "3.10"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -27,11 +33,10 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip
pip install numpy scipy cython scikit-learn pytest
pip install git+https://github.com/hwangjt/sphinx_auto_embed.git
pip install -r requirements.txt
pip install -e .

- name: Test with pytest
run: pytest
run: pytest -v --durations=0 smt


18 changes: 11 additions & 7 deletions .github/workflows/tests_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.6']
python-version: ['3.11']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -27,15 +27,19 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip
pip install numpy scipy cython scikit-learn pytest
pip install git+https://github.com/hwangjt/sphinx_auto_embed.git
pip install -r requirements.txt numpy==1.26.4
pip list
pip install -e .

- name: Check with ruff
run: |
ruff --version
ruff check .
ruff format --check

- name: Test with pytest and coverage
run: |
pip install coverage
coverage run --source=smt -m pytest
RUN_SLOW_TESTS=1 pytest -v --durations=0 --cov=smt

- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/tests_minimal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Tests Minimal

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up python
uses: actions/setup-python@v5
with:
python-version: "3.9"

- name: Install dependencies
run: |
pip install --upgrade pip
pip install numpy cython
pip install -e .

- name: Test with pytest
run: |
pip install pytest
pytest smt


3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
*.pyd
*.pyc
*~
*build*
**/*build
*.egg-info
*.so
*.so.*
Expand All @@ -25,3 +25,4 @@ smt/src/rmts/rmtsclib.cpp
/venv
/pip-wheel-metadata
**/.ipynb_checkpoints
**/.ruff_cache
25 changes: 25 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"

# Build documentation in the doc/ directory with Sphinx
sphinx:
configuration: doc/conf.py

# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: doc/requirements.txt
- method: pip
path: .

36 changes: 29 additions & 7 deletions AUTHORS.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,50 @@
## Authors
# Authors

SMT is developed by:
* Mohamed Amine Bouhlel
* John Hwang
* Nathalie Bartoli
* Rémi Lafage
* Joseph Morlier
* Joaquim Martins

* Mohamed Amine Bouhlel
* John Hwang
* Nathalie Bartoli
* Rémi Lafage
* Joseph Morlier
* Joaquim Martins

SMT has been developed thanks to contributions from:

* Alexandre Thouvenot
* Andres Lopez Lopera
* Antoine Averland
* Emile Roux
* Enrico Stragiotti
* Ewout ter Hoeven
* Florent Vergnes
* Frederick Zahle
* Heine Røstum
* Hugo Reimeringer
* Hugo Valayer
* Jasper Bussemaker
* Julien Schueller
* Laurent Wilkens
* Lisa Pretsch
* Lucas Alber
* Maël Tremouille
* Mauricio Castano Aguirre
* Maxime Lalande
* Mostafa Meliani
* Neal Kesterton
* Nick Thompson
* Nicolas Gonel
* Nina Moëllo
* Paul Saves
* Raul Carreira Rufato
* Reino Ruusu
* Rémi Vauclin
* Rémy Charayron
* Rémy Priem
* Robert Wenink
* Ruben Conde
* Steven Berguin
* Sylvain Dubreuil
* Vincent Drouet
* Yingqian Liao
* Zhou Tianxun
53 changes: 36 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
![SMT Logo](./doc/smt_logo.png)

# Surrogate Modeling Toolbox

[![Tests](https://github.com/SMTOrg/smt/workflows/Tests/badge.svg)](https://github.com/SMTorg/smt/actions?query=workflow%3ATests)
[![Coverage Status](https://coveralls.io/repos/github/SMTorg/smt/badge.svg?branch=master)](https://coveralls.io/github/SMTorg/smt?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/SMTorg/smt/badge.svg?branch=master)](https://coveralls.io/github/SMTorg/smt?branch=master)
[![Documentation Status](https://readthedocs.org/projects/smt/badge/?version=latest)](https://smt.readthedocs.io/en/latest/?badge=latest)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

# Surrogate Modeling Toolbox
The surrogate modeling toolbox (SMT) is a Python package that contains a collection of surrogate modeling methods, sampling techniques, and benchmarking functions. This package provides a library of surrogate models that is simple to use and facilitates the implementation of additional methods.

SMT is different from existing surrogate modeling libraries because of its emphasis on derivatives, including training derivatives used for gradient-enhanced modeling, prediction derivatives, and derivatives with respect to the training data.
Expand All @@ -14,41 +16,58 @@ SMT is documented using custom tools for embedding automatically-tested code and

SMT is distributed under the New BSD license.

To cite SMT: M. A. Bouhlel and J. T. Hwang and N. Bartoli and R. Lafage and J. Morlier and J. R. R. A. Martins. A Python surrogate modeling framework with derivatives. Advances in Engineering Software, 2019.
To cite SMT 2.0: P. Saves and R. Lafage and N. Bartoli and Y. Diouane and J. H. Bussemaker and T. Lefebvre and J. T. Hwang and J. Morlier and J. R. R. A. Martins. SMT 2.0: A Surrogate Modeling Toolbox with a focus on Hierarchical and Mixed Variables Gaussian Processes. Advances in Engineering Software, 2024.

```latex
@article{saves2024smt,
author = {P. Saves and R. Lafage and N. Bartoli and Y. Diouane and J. Bussemaker and T. Lefebvre and J. T. Hwang and J. Morlier and J. R. R. A. Martins},
title = {{SMT 2.0: A} Surrogate Modeling Toolbox with a focus on Hierarchical and Mixed Variables Gaussian Processes},
journal = {Advances in Engineering Sofware},
year = {2024},
volume = {188},
pages = {103571},
doi = {https://doi.org/10.1016/j.advengsoft.2023.103571}}
```

To cite SMT legacy: M. A. Bouhlel and J. T. Hwang and N. Bartoli and R. Lafage and J. Morlier and J. R. R. A. Martins. A Python surrogate modeling framework with derivatives. Advances in Engineering Software, 2019.

```latex
@article{SMT2019,
Author = {Mohamed Amine Bouhlel and John T. Hwang and Nathalie Bartoli and Rémi Lafage and Joseph Morlier and Joaquim R. R. A. Martins},
Journal = {Advances in Engineering Software},
Title = {A Python surrogate modeling framework with derivatives},
pages = {102662},
year = {2019},
issn = {0965-9978},
doi = {https://doi.org/10.1016/j.advengsoft.2019.03.005},
Year = {2019}}
Author = {Mohamed Amine Bouhlel and John T. Hwang and Nathalie Bartoli and Rémi Lafage and Joseph Morlier and Joaquim R. R. A. Martins},
Journal = {Advances in Engineering Software},
Title = {A Python surrogate modeling framework with derivatives},
pages = {102662},
issn = {0965-9978},
doi = {https://doi.org/10.1016/j.advengsoft.2019.03.005},
Year = {2019}}
```

# Required packages
SMT depends on the following modules: numpy, scipy, scikit-learn, pyDOE2 and Cython.

SMT depends on the following modules: numpy, scipy, scikit-learn, pyDOE3 and Cython.

# Installation

If you want to install the latest release

```
```bash
pip install smt
```

or else if you want to install from the current master branch

```
```bash
pip install git+https://github.com/SMTOrg/smt.git@master
```

# Usage
For examples demonstrating how to use SMT, you can take a look at the [tutorial notebook](tutorial/SMT_Tutorial.ipynb) or go to the 'smt/examples' folder.

For examples demonstrating how to use SMT, you can take a look at the [tutorial notebooks](https://github.com/SMTorg/smt/tree/master/tutorial#readme) or go to the 'smt/examples' folder.

# Documentation

[Documentation of Surrogate Modeling Toolbox](http://smt.readthedocs.io/en/stable).

# Contributing

To contribute to SMT refer to the [contributing section](https://smt.readthedocs.io/en/latest/_src_docs/dev_docs.html#contributing-to-smt) of the documentation.
6 changes: 5 additions & 1 deletion doc/_src_docs/applications.rst

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading