surrogates_interface 4.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- surrogates_interface/__init__.py +3 -0
- surrogates_interface/domains.py +107 -0
- surrogates_interface/openmdao.py +389 -0
- surrogates_interface/surrogates.py +1027 -0
- surrogates_interface/test/__init__.py +0 -0
- surrogates_interface/test/test_domains.py +44 -0
- surrogates_interface/test/test_init.py +12 -0
- surrogates_interface/test/test_pca_jacobian.py +137 -0
- surrogates_interface/test/test_smt.py +258 -0
- surrogates_interface/test/test_surrogates.py +22 -0
- surrogates_interface/test/test_tensorflow_and_openmdao.py +1220 -0
- surrogates_interface/test/test_transformers.py +617 -0
- surrogates_interface/transformers.py +816 -0
- surrogates_interface-4.0.1.dist-info/LICENSE +25 -0
- surrogates_interface-4.0.1.dist-info/METADATA +66 -0
- surrogates_interface-4.0.1.dist-info/RECORD +17 -0
- surrogates_interface-4.0.1.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
The MIT License
|
|
2
|
+
|
|
3
|
+
Copyright 2023 DTU Wind and Energy Systems
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the “Software”), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is furnished
|
|
10
|
+
to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included
|
|
13
|
+
in all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
|
|
16
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
17
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
18
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
19
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
20
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
21
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
A few lines in transformers.py are taken from the scikit-learn project,
|
|
25
|
+
which is licensed under the BSD 3-Clause license.
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: surrogates_interface
|
|
3
|
+
Version: 4.0.1
|
|
4
|
+
Summary: Interface for surrogate models.
|
|
5
|
+
Home-page: https://gitlab.windenergy.dtu.dk/surrogate-models/surrogate-models-interface
|
|
6
|
+
License: MIT
|
|
7
|
+
Author: DTU Wind and Energy Systems
|
|
8
|
+
Maintainer: Riccardo Riva
|
|
9
|
+
Maintainer-email: ricriv@dtu.dk
|
|
10
|
+
Requires-Python: >=3.9,<3.12
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Provides-Extra: code-style
|
|
18
|
+
Provides-Extra: docs
|
|
19
|
+
Provides-Extra: om
|
|
20
|
+
Provides-Extra: smt
|
|
21
|
+
Provides-Extra: test
|
|
22
|
+
Provides-Extra: tf
|
|
23
|
+
Requires-Dist: black ; extra == "all" or extra == "code-style"
|
|
24
|
+
Requires-Dist: codespell ; extra == "all" or extra == "code-style"
|
|
25
|
+
Requires-Dist: flake8 ; extra == "all" or extra == "code-style"
|
|
26
|
+
Requires-Dist: h5py
|
|
27
|
+
Requires-Dist: isort ; extra == "all" or extra == "code-style"
|
|
28
|
+
Requires-Dist: matplotlib ; extra == "all" or extra == "test" or extra == "smt"
|
|
29
|
+
Requires-Dist: numpy (>=1.10.0)
|
|
30
|
+
Requires-Dist: numpydoc ; extra == "all" or extra == "docs"
|
|
31
|
+
Requires-Dist: openmdao (>=3.25,<4.0) ; extra == "all" or extra == "docs" or extra == "test" or extra == "om"
|
|
32
|
+
Requires-Dist: pydata-sphinx-theme ; extra == "all" or extra == "docs"
|
|
33
|
+
Requires-Dist: pytest ; extra == "all" or extra == "test"
|
|
34
|
+
Requires-Dist: pytest-cov ; extra == "all" or extra == "test"
|
|
35
|
+
Requires-Dist: pytest-testmon ; extra == "all" or extra == "test"
|
|
36
|
+
Requires-Dist: scikit-learn ; extra == "all" or extra == "test" or extra == "smt" or extra == "tf"
|
|
37
|
+
Requires-Dist: smt (>=2.0.1,<3.0.0) ; extra == "all" or extra == "test" or extra == "smt"
|
|
38
|
+
Requires-Dist: sphinx ; extra == "all" or extra == "docs"
|
|
39
|
+
Requires-Dist: sphinx-copybutton ; extra == "all" or extra == "docs"
|
|
40
|
+
Requires-Dist: sphinx-sitemap ; extra == "all" or extra == "docs"
|
|
41
|
+
Requires-Dist: tensorflow (>=2.10.0,<2.11) ; (platform_system == "Windows") and (extra == "all" or extra == "test" or extra == "tf")
|
|
42
|
+
Requires-Dist: tensorflow (>=2.10.0,<3.0.0) ; (platform_system != "Windows") and (extra == "all" or extra == "test" or extra == "tf")
|
|
43
|
+
Requires-Dist: tensorflow-cpu (>=2.10.0,<3.0.0) ; (platform_machine != "arm64" and platform_machine != "aarch64") and sys_platform == "darwin"
|
|
44
|
+
Requires-Dist: tensorflow-cpu (>=2.10.0,<3.0.0) ; (platform_machine != "arm64" and platform_machine != "aarch64") and sys_platform == "linux"
|
|
45
|
+
Requires-Dist: tensorflow-cpu-aws (>=2.10.0,<3.0.0) ; (platform_machine == "arm64" or platform_machine == "aarch64") and sys_platform == "linux"
|
|
46
|
+
Requires-Dist: tensorflow-intel (>=2.10.0,<3.0.0) ; sys_platform == "win32"
|
|
47
|
+
Requires-Dist: tensorflow-io-gcs-filesystem (<0.32.0) ; platform_system == "Windows"
|
|
48
|
+
Requires-Dist: tensorflow-io-gcs-filesystem (>=0.23.1) ; platform_machine != "arm64" or platform_system != "Darwin"
|
|
49
|
+
Requires-Dist: tensorflow-macos (>=2.10.0,<3.0.0) ; platform_machine == "arm64" and sys_platform == "darwin"
|
|
50
|
+
Requires-Dist: tomli (>=2.0.1,<3.0.0) ; (python_version < "3.11") and (extra == "all" or extra == "test")
|
|
51
|
+
Project-URL: Repository, https://gitlab.windenergy.dtu.dk/surrogate-models/surrogate-models-interface
|
|
52
|
+
Description-Content-Type: text/markdown
|
|
53
|
+
|
|
54
|
+
# Surrogate Models Interface
|
|
55
|
+
|
|
56
|
+
[](https://gitlab.windenergy.dtu.dk/surrogate-models/surrogate-models-interface/-/commits/main)
|
|
57
|
+
[](https://gitlab.windenergy.dtu.dk/surrogate-models/surrogate-models-interface/-/commits/main)
|
|
58
|
+
[](https://github.com/psf/black)
|
|
59
|
+
[](https://python-poetry.org/)
|
|
60
|
+
[](https://opensource.org/licenses/MIT)
|
|
61
|
+
[](https://doi.org/10.5281/10.5281/zenodo.8282614)
|
|
62
|
+
|
|
63
|
+
Provides a common interface to several surrogate models, including an OpenMDAO wrapper.
|
|
64
|
+
|
|
65
|
+
The documentation is available at: https://surrogate-models.pages.windenergy.dtu.dk/surrogate-models-interface
|
|
66
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
surrogates_interface/__init__.py,sha256=IILIKzO2OO60Rhsh3SqhdKHDf7XI_RLRwzztBGZZmHY,78
|
|
2
|
+
surrogates_interface/domains.py,sha256=xQqa0pIJpfKxBJe8LJ342JVTq2KlbVanKtgSLglQOKQ,3030
|
|
3
|
+
surrogates_interface/openmdao.py,sha256=KElMl9tkvJflwWViH4Xa_MqQ0YR_BZICQvToE7y3qzY,15656
|
|
4
|
+
surrogates_interface/surrogates.py,sha256=TUQEfTETez11Da4p848sns0W7r_v77VUGp2fxuh0raQ,39224
|
|
5
|
+
surrogates_interface/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
surrogates_interface/test/test_domains.py,sha256=coLSgAMsaIUCLUeWjLvrMz6n5im7K_Obg-IFy9Ee2js,1253
|
|
7
|
+
surrogates_interface/test/test_init.py,sha256=QAgafUKu-0jKiDmhBgkhARoAhL8qh0QdZcu8Q9-ceT0,335
|
|
8
|
+
surrogates_interface/test/test_pca_jacobian.py,sha256=sZNAgd7Y95SbYfcKYccMw6abo8-aZjdisZ0fmxJVMj0,4831
|
|
9
|
+
surrogates_interface/test/test_smt.py,sha256=WoJY4ATiMqds7bLjPGY_PoFKhTXU6hamc_kN5Y_7xGk,7294
|
|
10
|
+
surrogates_interface/test/test_surrogates.py,sha256=QsJiPWbuX-ZaovQwxXj74HgFJtqw-4Care66pCZhXwM,560
|
|
11
|
+
surrogates_interface/test/test_tensorflow_and_openmdao.py,sha256=bUVwHuXEys7CfHFmQBxk-gp6v5Joqt94R23Qfsh6GJw,43482
|
|
12
|
+
surrogates_interface/test/test_transformers.py,sha256=yxPnnsjgCg7fy2rJ2nqAE_g_DPLR0sbO1Bnal5YAYzo,22766
|
|
13
|
+
surrogates_interface/transformers.py,sha256=hYHYmWfcVniBjjxmeSAU1oMMLF3F6jO4Sg8fc4o0WXo,29506
|
|
14
|
+
surrogates_interface-4.0.1.dist-info/LICENSE,sha256=jAbMtZqDchw5A9L7M3-b91OGBPwGdB-mF2IbCZ2Cr7M,1216
|
|
15
|
+
surrogates_interface-4.0.1.dist-info/METADATA,sha256=U8LE1P9VKhfcRJgiHqj5Az1hzaLLbUJpclC6dxCW8ew,4374
|
|
16
|
+
surrogates_interface-4.0.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
17
|
+
surrogates_interface-4.0.1.dist-info/RECORD,,
|