sgptools 1.1.0__py3-none-any.whl → 1.1.2__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.
- sgptools/__init__.py +1 -1
- sgptools/models/core/transformations.py +1 -17
- {sgptools-1.1.0.dist-info → sgptools-1.1.2.dist-info}/METADATA +8 -8
- {sgptools-1.1.0.dist-info → sgptools-1.1.2.dist-info}/RECORD +7 -7
- {sgptools-1.1.0.dist-info → sgptools-1.1.2.dist-info}/WHEEL +1 -1
- {sgptools-1.1.0.dist-info → sgptools-1.1.2.dist-info}/LICENSE.txt +0 -0
- {sgptools-1.1.0.dist-info → sgptools-1.1.2.dist-info}/top_level.txt +0 -0
sgptools/__init__.py
CHANGED
@@ -159,7 +159,6 @@ class IPPTransform(Transform):
|
|
159
159
|
if self.Xu_fixed is not None:
|
160
160
|
self.Xu_fixed.assign(Xu_fixed)
|
161
161
|
else:
|
162
|
-
# ToDo: Use binary mask of fixed size to avoid retracing
|
163
162
|
self.Xu_fixed = tf.Variable(Xu_fixed,
|
164
163
|
shape=tf.TensorShape(None),
|
165
164
|
trainable=False)
|
@@ -325,24 +324,9 @@ class SquareTransform(Transform):
|
|
325
324
|
self.num_side, axis=1))
|
326
325
|
xy = tf.concat(points, axis=1)
|
327
326
|
xy = tf.transpose(xy, [2, 1, 0])
|
328
|
-
xy =
|
327
|
+
xy = tf.reshape(xy, (-1, 2))
|
329
328
|
return xy
|
330
329
|
|
331
|
-
def _reshape(self, X):
|
332
|
-
"""Reorder the inducing points to be in the correct order for aggregation with square FoV.
|
333
|
-
|
334
|
-
Args:
|
335
|
-
X (ndarray): (mp, 2); Inducing points in input space. `p` is the number of points each
|
336
|
-
inducing point is mapped to in order to form the FoV.
|
337
|
-
|
338
|
-
Returns:
|
339
|
-
Xu (ndarray): (mp, 2); Reorder inducing points
|
340
|
-
"""
|
341
|
-
X = tf.reshape(X, (-1, self.num_side, self.num_side, 2))
|
342
|
-
X = tf.transpose(X, (1, 0, 2, 3))
|
343
|
-
X = tf.reshape(X, (-1, 2))
|
344
|
-
return X
|
345
|
-
|
346
330
|
def distance(self, Xu):
|
347
331
|
"""Computes the distance incured by sequentially visiting the inducing points
|
348
332
|
Args:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: sgptools
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.2
|
4
4
|
Summary: Software Suite for Sensor Placement and Informative Path Planning
|
5
5
|
Home-page: https://www.itskalvik.com/sgp-tools
|
6
6
|
Author: Kalvik
|
@@ -13,18 +13,18 @@ Requires-Dist: matplotlib
|
|
13
13
|
Requires-Dist: pandas
|
14
14
|
Requires-Dist: scikit-learn
|
15
15
|
Requires-Dist: scipy
|
16
|
-
Requires-Dist: numpy
|
16
|
+
Requires-Dist: numpy<2.0.0
|
17
17
|
Requires-Dist: ortools
|
18
18
|
Requires-Dist: scikit-image
|
19
19
|
Requires-Dist: shapely
|
20
20
|
Requires-Dist: cma
|
21
21
|
Requires-Dist: bayesian-optimization
|
22
|
-
Requires-Dist:
|
23
|
-
Requires-Dist: tensorflow-probability[tf]
|
24
|
-
Requires-Dist:
|
25
|
-
Requires-Dist:
|
22
|
+
Requires-Dist: hkb_diamondsquare
|
23
|
+
Requires-Dist: tensorflow-probability[tf]>=0.21.0
|
24
|
+
Requires-Dist: tensorflow>=2.13.0; platform_machine != "arm64"
|
25
|
+
Requires-Dist: tensorflow-aarch64>=2.13.0; platform_machine == "arm64"
|
26
|
+
Requires-Dist: typing_extensions
|
27
|
+
Requires-Dist: gpflow>=2.7.0
|
26
28
|
Requires-Dist: pillow
|
27
|
-
Requires-Dist: tensorflow >=2.13.0 ; platform_machine != "arm64"
|
28
|
-
Requires-Dist: tensorflow-aarch64 >=2.13.0 ; platform_machine == "arm64"
|
29
29
|
|
30
30
|
Software Suite for Sensor Placement and Informative Path Planning
|
@@ -1,4 +1,4 @@
|
|
1
|
-
sgptools/__init__.py,sha256=
|
1
|
+
sgptools/__init__.py,sha256=v20FWREF4GkLOyADat_DukZaWOptzI1Yt0RxT4JSY3o,449
|
2
2
|
sgptools/kernels/__init__.py,sha256=zRf4y-wJwjXKt1uOnmI5MbzCA6pRlyA7C-eagLfb3d0,190
|
3
3
|
sgptools/kernels/neural_kernel.py,sha256=9XEjcwwi1Gwj4D5cAZwq5QdWqMaI-Vu2DKgYO58DmPg,6709
|
4
4
|
sgptools/models/__init__.py,sha256=X2lIg9kf1-2MHUswk-VW2dHHcbSLxf6_IuV7lc_kvDc,682
|
@@ -11,15 +11,15 @@ sgptools/models/core/__init__.py,sha256=TlUdvrM0A7vSzc5IM8C2Y2kliB1ip7YLEcHHzvuw
|
|
11
11
|
sgptools/models/core/augmented_gpr.py,sha256=NuYwlggz7ho7pvW4-so3ghos5vZ8oK7nRZqvHpAt0Zk,3497
|
12
12
|
sgptools/models/core/augmented_sgpr.py,sha256=qMP9J4AnOUx9AEZfaPhoyb3RP_2AOhOUCUY4eh7uOi0,7185
|
13
13
|
sgptools/models/core/osgpr.py,sha256=gqliUdXdnt3fea206LP0rqGIggmIdKh8WP2DtFWzdBw,11798
|
14
|
-
sgptools/models/core/transformations.py,sha256=
|
14
|
+
sgptools/models/core/transformations.py,sha256=X7WEKo_lFAYB5HKnFvxFsxfz6CB-jzPfVWcx1sWe2lI,18313
|
15
15
|
sgptools/utils/__init__.py,sha256=jgWqzSDgUbqOTFo8mkqZaTlyz44l3v2XYPJfcHYHjqM,376
|
16
16
|
sgptools/utils/data.py,sha256=oTXq4oRuzJdXpZC6frUfja8jhwy_ZdDDi7L1BYZcdQs,7309
|
17
17
|
sgptools/utils/gpflow.py,sha256=LnFYufnMW4ch7qsKnru53QUxEtIzJqE822qj6w8ssRg,8576
|
18
18
|
sgptools/utils/metrics.py,sha256=tu8H129n8GuxV5fQIKLcfzPUxd7sp8zEF9qZBOZjNKo,5834
|
19
19
|
sgptools/utils/misc.py,sha256=LdAFJS7-xubWpRnrgdLOorCa9vB_8vRrvL5cahxHYNA,5442
|
20
20
|
sgptools/utils/tsp.py,sha256=RJAQ4_uE7CUtR1ei3nSnGy-1kNhw82E9P_HyaCkc4iI,7007
|
21
|
-
sgptools-1.1.
|
22
|
-
sgptools-1.1.
|
23
|
-
sgptools-1.1.
|
24
|
-
sgptools-1.1.
|
25
|
-
sgptools-1.1.
|
21
|
+
sgptools-1.1.2.dist-info/LICENSE.txt,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
22
|
+
sgptools-1.1.2.dist-info/METADATA,sha256=Ig-Y6qyVRqARqO4FODhkSOHUsjrrNI6Eaw96uVTNDmg,944
|
23
|
+
sgptools-1.1.2.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
24
|
+
sgptools-1.1.2.dist-info/top_level.txt,sha256=2NWH6uQLAOuLB9fG7o1pqf6Jvpe1_hEcuqfSqtUw3gw,9
|
25
|
+
sgptools-1.1.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|