gpflash 0.2.0__cp313-cp313-win_amd64.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.
gpflash/__init__.py ADDED
@@ -0,0 +1,117 @@
1
+ """GpFlash: fast, exact Gaussian process regression.
2
+
3
+ Two layers:
4
+
5
+ - ``GaussianProcess``: fit and predict with NumPy arrays of shape (n_points, n_dim).
6
+ - The C++ interface, re-exported from ``gpflash._core`` under its C++ names and shapes
7
+ (``TrainingData``, ``select_hp_with_max_mll``, ``GpPosterior``, ...), where points are
8
+ columns: ``X_ndim_ntrain_mat`` is (n_dim, n_train).
9
+ """
10
+
11
+
12
+ # start delvewheel patch
13
+ def _delvewheel_patch_1_13_1():
14
+ import os
15
+ if os.path.isdir(libs_dir := os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, 'gpflash.libs'))):
16
+ os.add_dll_directory(libs_dir)
17
+
18
+
19
+ _delvewheel_patch_1_13_1()
20
+ del _delvewheel_patch_1_13_1
21
+ # end delvewheel patch
22
+
23
+ from ._core import (
24
+ COND_MAX_DEFAULT,
25
+ COND_MAX_LIMIT,
26
+ MEAN_MODEL_DEGREE_MAX,
27
+ CacheInfo,
28
+ EigMaxUbMethod,
29
+ GpPosterior,
30
+ HpAtBound,
31
+ HpVal,
32
+ InvalidInputError,
33
+ KernelId,
34
+ LocalOptzResult,
35
+ MllHpGrad,
36
+ MllOptzResult,
37
+ MllResult,
38
+ ModelOptions,
39
+ NotImplementedFeatureError,
40
+ NumericalFailureError,
41
+ NumericalOptzAlgorithm,
42
+ OptzOptions,
43
+ OptzStopReason,
44
+ PosteriorModelInfo,
45
+ PosteriorOptions,
46
+ PosteriorResult,
47
+ SymmetryKind,
48
+ SymmetrySpec,
49
+ TrainingData,
50
+ __version__,
51
+ calc_default_cache_path,
52
+ eval_mll,
53
+ fit_and_make_posterior,
54
+ kernel_name,
55
+ load_posterior,
56
+ load_posterior_verified,
57
+ make_posterior,
58
+ make_posterior_from_fit,
59
+ n_hp_kern_extra,
60
+ parse_kernel_id,
61
+ peek_info,
62
+ peek_kernel_id,
63
+ print_cache_info,
64
+ print_multistart_report,
65
+ save_multistart_report,
66
+ select_hp_with_max_mll,
67
+ to_multistart_report_string,
68
+ )
69
+ from ._gp import GaussianProcess
70
+
71
+ __all__ = [
72
+ "COND_MAX_DEFAULT",
73
+ "COND_MAX_LIMIT",
74
+ "MEAN_MODEL_DEGREE_MAX",
75
+ "CacheInfo",
76
+ "EigMaxUbMethod",
77
+ "GaussianProcess",
78
+ "GpPosterior",
79
+ "HpAtBound",
80
+ "HpVal",
81
+ "InvalidInputError",
82
+ "KernelId",
83
+ "LocalOptzResult",
84
+ "MllHpGrad",
85
+ "MllOptzResult",
86
+ "MllResult",
87
+ "ModelOptions",
88
+ "NotImplementedFeatureError",
89
+ "NumericalFailureError",
90
+ "NumericalOptzAlgorithm",
91
+ "OptzOptions",
92
+ "OptzStopReason",
93
+ "PosteriorModelInfo",
94
+ "PosteriorOptions",
95
+ "PosteriorResult",
96
+ "SymmetryKind",
97
+ "SymmetrySpec",
98
+ "TrainingData",
99
+ "__version__",
100
+ "calc_default_cache_path",
101
+ "eval_mll",
102
+ "fit_and_make_posterior",
103
+ "kernel_name",
104
+ "load_posterior",
105
+ "load_posterior_verified",
106
+ "make_posterior",
107
+ "make_posterior_from_fit",
108
+ "n_hp_kern_extra",
109
+ "parse_kernel_id",
110
+ "peek_info",
111
+ "peek_kernel_id",
112
+ "print_cache_info",
113
+ "print_multistart_report",
114
+ "save_multistart_report",
115
+ "select_hp_with_max_mll",
116
+ "to_multistart_report_string",
117
+ ]
Binary file