autoemulate 0.2.0__tar.gz → 0.2.1__tar.gz
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.
- {autoemulate-0.2.0 → autoemulate-0.2.1}/PKG-INFO +10 -3
- {autoemulate-0.2.0 → autoemulate-0.2.1}/README.md +8 -1
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/conditional_neural_process.py +3 -3
- {autoemulate-0.2.0 → autoemulate-0.2.1}/pyproject.toml +2 -2
- {autoemulate-0.2.0 → autoemulate-0.2.1}/LICENSE +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/__init__.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/compare.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/cross_validate.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/data_splitting.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/datasets.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/__init__.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/conditional_neural_process_attn.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/gaussian_process.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/gaussian_process_mogp.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/gaussian_process_mt.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/gaussian_process_sklearn.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/gaussian_process_utils/__init__.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/gaussian_process_utils/early_stopping_criterion.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/gaussian_process_utils/poly_mean.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/gaussian_process_utils/polynomial_features.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/gradient_boosting.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/light_gbm.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/neural_net_sk.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/neural_networks/__init__.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/neural_networks/cnp_module.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/neural_networks/cnp_module_attn.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/neural_networks/datasets.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/neural_networks/gp_module.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/neural_networks/losses.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/polynomials.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/radial_basis_functions.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/random_forest.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/support_vector_machines.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/experimental_design.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/hyperparam_searching.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/logging_config.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/metrics.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/model_processing.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/model_registry.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/plotting.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/printing.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/save.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/sensitivity_analysis.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/simulations/__init__.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/simulations/epidemic.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/simulations/projectile.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/utils.py +0 -0
- {autoemulate-0.2.0 → autoemulate-0.2.1}/misc/AE_logo_final.png +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: autoemulate
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: A python package for semi-automated emulation
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Martin Stoffel
|
|
@@ -21,14 +21,14 @@ Requires-Dist: mogp-emulator (>=0.7.2,<0.8.0)
|
|
|
21
21
|
Requires-Dist: numpy (>=1.24,<2.0)
|
|
22
22
|
Requires-Dist: pandas (>=2.1,<3.0)
|
|
23
23
|
Requires-Dist: salib (>=1.5.1,<2.0.0)
|
|
24
|
-
Requires-Dist: scikit-learn (>=1.3.0,<
|
|
24
|
+
Requires-Dist: scikit-learn (>=1.3.0,<1.6.0)
|
|
25
25
|
Requires-Dist: scipy (>=1.11.3,<2.0.0)
|
|
26
26
|
Requires-Dist: skorch (>=0.15.0,<0.16.0)
|
|
27
27
|
Requires-Dist: torch (>=2.1.0,<3.0.0)
|
|
28
28
|
Requires-Dist: tqdm (>=4.66.2,<5.0.0)
|
|
29
29
|
Description-Content-Type: text/markdown
|
|
30
30
|
|
|
31
|
-
# AutoEmulate <a href="https://alan-turing-institute.github.io/autoemulate/"><img src="
|
|
31
|
+
# AutoEmulate <a href="https://alan-turing-institute.github.io/autoemulate/"><img src="misc/AE_logo_final.png" align="right" height="138" /></a>
|
|
32
32
|
|
|
33
33
|

|
|
34
34
|
[](https://codecov.io/gh/alan-turing-institute/autoemulate)
|
|
@@ -43,6 +43,8 @@ The project is in early development.
|
|
|
43
43
|
|
|
44
44
|
## Installation
|
|
45
45
|
|
|
46
|
+
`AutoEmulate` requires Python `>=3.10` and `<3.13`.
|
|
47
|
+
|
|
46
48
|
There's lots of development at the moment, so we recommend installing the most current version from GitHub:
|
|
47
49
|
|
|
48
50
|
```bash
|
|
@@ -117,6 +119,11 @@ You can find tutorials, FAQs and the API reference [here](https://alan-turing-in
|
|
|
117
119
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/snie007"><img src="https://avatars.githubusercontent.com/u/20723650?v=4?s=100" width="100px;" alt="steven niederer"/><br /><sub><b>steven niederer</b></sub></a><br /><a href="#ideas-snie007" title="Ideas, Planning, & Feedback">🤔</a> <a href="#content-snie007" title="Content">🖋</a> <a href="#projectManagement-snie007" title="Project Management">📆</a></td>
|
|
118
120
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/MaxBalmus"><img src="https://avatars.githubusercontent.com/u/34339336?v=4?s=100" width="100px;" alt="Maximilian Balmus"/><br /><sub><b>Maximilian Balmus</b></sub></a><br /><a href="#code-MaxBalmus" title="Code">💻</a> <a href="#bug-MaxBalmus" title="Bug reports">🐛</a></td>
|
|
119
121
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/aranas"><img src="https://avatars.githubusercontent.com/u/6906140?v=4?s=100" width="100px;" alt="Sophie Arana"/><br /><sub><b>Sophie Arana</b></sub></a><br /><a href="#content-aranas" title="Content">🖋</a> <a href="#doc-aranas" title="Documentation">📖</a> <a href="#projectManagement-aranas" title="Project Management">📆</a></td>
|
|
122
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/marjanfamili"><img src="https://avatars.githubusercontent.com/u/44607686?v=4?s=100" width="100px;" alt="Marjan Famili"/><br /><sub><b>Marjan Famili</b></sub></a><br /><a href="#code-marjanfamili" title="Code">💻</a> <a href="#ideas-marjanfamili" title="Ideas, Planning, & Feedback">🤔</a> <a href="#doc-marjanfamili" title="Documentation">📖</a></td>
|
|
123
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/radka-j"><img src="https://avatars.githubusercontent.com/u/29207091?v=4?s=100" width="100px;" alt="Radka Jersakova"/><br /><sub><b>Radka Jersakova</b></sub></a><br /><a href="#code-radka-j" title="Code">💻</a> <a href="#projectManagement-radka-j" title="Project Management">📆</a> <a href="#maintenance-radka-j" title="Maintenance">🚧</a> <a href="#ideas-radka-j" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
124
|
+
</tr>
|
|
125
|
+
<tr>
|
|
126
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/aduncan001"><img src="https://avatars.githubusercontent.com/u/2352812?v=4?s=100" width="100px;" alt="Andrew Duncan"/><br /><sub><b>Andrew Duncan</b></sub></a><br /><a href="#ideas-aduncan001" title="Ideas, Planning, & Feedback">🤔</a> <a href="#projectManagement-aduncan001" title="Project Management">📆</a></td>
|
|
120
127
|
</tr>
|
|
121
128
|
</tbody>
|
|
122
129
|
</table>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# AutoEmulate <a href="https://alan-turing-institute.github.io/autoemulate/"><img src="
|
|
1
|
+
# AutoEmulate <a href="https://alan-turing-institute.github.io/autoemulate/"><img src="misc/AE_logo_final.png" align="right" height="138" /></a>
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
[](https://codecov.io/gh/alan-turing-institute/autoemulate)
|
|
@@ -13,6 +13,8 @@ The project is in early development.
|
|
|
13
13
|
|
|
14
14
|
## Installation
|
|
15
15
|
|
|
16
|
+
`AutoEmulate` requires Python `>=3.10` and `<3.13`.
|
|
17
|
+
|
|
16
18
|
There's lots of development at the moment, so we recommend installing the most current version from GitHub:
|
|
17
19
|
|
|
18
20
|
```bash
|
|
@@ -87,6 +89,11 @@ You can find tutorials, FAQs and the API reference [here](https://alan-turing-in
|
|
|
87
89
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/snie007"><img src="https://avatars.githubusercontent.com/u/20723650?v=4?s=100" width="100px;" alt="steven niederer"/><br /><sub><b>steven niederer</b></sub></a><br /><a href="#ideas-snie007" title="Ideas, Planning, & Feedback">🤔</a> <a href="#content-snie007" title="Content">🖋</a> <a href="#projectManagement-snie007" title="Project Management">📆</a></td>
|
|
88
90
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/MaxBalmus"><img src="https://avatars.githubusercontent.com/u/34339336?v=4?s=100" width="100px;" alt="Maximilian Balmus"/><br /><sub><b>Maximilian Balmus</b></sub></a><br /><a href="#code-MaxBalmus" title="Code">💻</a> <a href="#bug-MaxBalmus" title="Bug reports">🐛</a></td>
|
|
89
91
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/aranas"><img src="https://avatars.githubusercontent.com/u/6906140?v=4?s=100" width="100px;" alt="Sophie Arana"/><br /><sub><b>Sophie Arana</b></sub></a><br /><a href="#content-aranas" title="Content">🖋</a> <a href="#doc-aranas" title="Documentation">📖</a> <a href="#projectManagement-aranas" title="Project Management">📆</a></td>
|
|
92
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/marjanfamili"><img src="https://avatars.githubusercontent.com/u/44607686?v=4?s=100" width="100px;" alt="Marjan Famili"/><br /><sub><b>Marjan Famili</b></sub></a><br /><a href="#code-marjanfamili" title="Code">💻</a> <a href="#ideas-marjanfamili" title="Ideas, Planning, & Feedback">🤔</a> <a href="#doc-marjanfamili" title="Documentation">📖</a></td>
|
|
93
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/radka-j"><img src="https://avatars.githubusercontent.com/u/29207091?v=4?s=100" width="100px;" alt="Radka Jersakova"/><br /><sub><b>Radka Jersakova</b></sub></a><br /><a href="#code-radka-j" title="Code">💻</a> <a href="#projectManagement-radka-j" title="Project Management">📆</a> <a href="#maintenance-radka-j" title="Maintenance">🚧</a> <a href="#ideas-radka-j" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
94
|
+
</tr>
|
|
95
|
+
<tr>
|
|
96
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/aduncan001"><img src="https://avatars.githubusercontent.com/u/2352812?v=4?s=100" width="100px;" alt="Andrew Duncan"/><br /><sub><b>Andrew Duncan</b></sub></a><br /><a href="#ideas-aduncan001" title="Ideas, Planning, & Feedback">🤔</a> <a href="#projectManagement-aduncan001" title="Project Management">📆</a></td>
|
|
90
97
|
</tr>
|
|
91
98
|
</tbody>
|
|
92
99
|
</table>
|
|
@@ -221,9 +221,9 @@ class ConditionalNeuralProcess(RegressorMixin, BaseEstimator):
|
|
|
221
221
|
def predict(self, X, return_std=False):
|
|
222
222
|
check_is_fitted(self)
|
|
223
223
|
X = check_array(X, dtype=np.float32)
|
|
224
|
-
X_context = torch.
|
|
225
|
-
y_context = torch.
|
|
226
|
-
X_target = torch.
|
|
224
|
+
X_context = torch.tensor(self.X_train_, dtype=torch.float32).unsqueeze(0)
|
|
225
|
+
y_context = torch.tensor(self.y_train_, dtype=torch.float32).unsqueeze(0)
|
|
226
|
+
X_target = torch.tensor(X, dtype=torch.float32).unsqueeze(0)
|
|
227
227
|
|
|
228
228
|
with torch.no_grad():
|
|
229
229
|
predictions = self.model_.module_.forward(X_context, y_context, X_target)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "autoemulate"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.1"
|
|
4
4
|
description = "A python package for semi-automated emulation"
|
|
5
5
|
license = "MIT"
|
|
6
6
|
authors = ["Martin Stoffel <mstoffel@turing.ac.uk>",
|
|
@@ -17,7 +17,7 @@ include = ["misc/AE_logo_final.png"]
|
|
|
17
17
|
python = ">=3.10,<3.13"
|
|
18
18
|
mogp-emulator = "^0.7.2"
|
|
19
19
|
matplotlib = "^3.7.2"
|
|
20
|
-
scikit-learn = "
|
|
20
|
+
scikit-learn = ">=1.3.0,<1.6.0"
|
|
21
21
|
pandas = "^2.1"
|
|
22
22
|
torch = "^2.1.0"
|
|
23
23
|
skorch = "^0.15.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/conditional_neural_process_attn.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/gaussian_process_utils/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/gaussian_process_utils/poly_mean.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{autoemulate-0.2.0 → autoemulate-0.2.1}/autoemulate/emulators/neural_networks/cnp_module_attn.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|