sgptools 1.1.0__tar.gz → 1.1.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.
Files changed (30) hide show
  1. {sgptools-1.1.0 → sgptools-1.1.1}/PKG-INFO +2 -2
  2. {sgptools-1.1.0 → sgptools-1.1.1}/README.md +5 -5
  3. {sgptools-1.1.0 → sgptools-1.1.1}/setup.py +2 -2
  4. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/__init__.py +1 -1
  5. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/models/core/transformations.py +1 -17
  6. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools.egg-info/PKG-INFO +2 -2
  7. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools.egg-info/requires.txt +1 -1
  8. {sgptools-1.1.0 → sgptools-1.1.1}/LICENSE.txt +0 -0
  9. {sgptools-1.1.0 → sgptools-1.1.1}/setup.cfg +0 -0
  10. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/kernels/__init__.py +0 -0
  11. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/kernels/neural_kernel.py +0 -0
  12. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/models/__init__.py +0 -0
  13. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/models/bo.py +0 -0
  14. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/models/cma_es.py +0 -0
  15. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/models/continuous_sgp.py +0 -0
  16. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/models/core/__init__.py +0 -0
  17. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/models/core/augmented_gpr.py +0 -0
  18. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/models/core/augmented_sgpr.py +0 -0
  19. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/models/core/osgpr.py +0 -0
  20. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/models/greedy_mi.py +0 -0
  21. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/models/greedy_sgp.py +0 -0
  22. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/utils/__init__.py +0 -0
  23. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/utils/data.py +0 -0
  24. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/utils/gpflow.py +0 -0
  25. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/utils/metrics.py +0 -0
  26. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/utils/misc.py +0 -0
  27. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools/utils/tsp.py +0 -0
  28. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools.egg-info/SOURCES.txt +0 -0
  29. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools.egg-info/dependency_links.txt +0 -0
  30. {sgptools-1.1.0 → sgptools-1.1.1}/sgptools.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sgptools
3
- Version: 1.1.0
3
+ Version: 1.1.1
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,7 +13,7 @@ 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
@@ -12,11 +12,11 @@ The library includes python code for the following:
12
12
  - Sparse Gaussian process (SGP)-based approaches
13
13
 
14
14
  <p align="center">
15
- <img alt="Light" src="docs/assets/point_sensing.gif" width="45%">
16
- &nbsp; &nbsp; &nbsp; &nbsp;
17
- <img alt="Dark" src="docs/assets/non-point_sensing.gif" width="45%">
18
- &nbsp; &nbsp; &nbsp; &nbsp;
19
- <img alt="Dark" src="docs/assets/AIPP-non-point_sensing.gif" width="45%"></p>
15
+ <img src="docs/assets/point_sensing.gif" width="49%">
16
+ <img src="docs/assets/non-point_sensing.gif" width="49%">
17
+ <img src="docs/assets/AIPP-4R.gif" width="49%">
18
+ <img src="docs/assets/AIPP-non-point_sensing.gif" width="49%">
19
+ </p>
20
20
 
21
21
  ## Related Packages
22
22
 
@@ -1,6 +1,6 @@
1
1
  from setuptools import setup, find_packages
2
2
 
3
- __version__ = "1.1.0"
3
+ __version__ = "1.1.1"
4
4
 
5
5
  setup(
6
6
  name='sgptools',
@@ -18,7 +18,7 @@ setup(
18
18
  'pandas',
19
19
  'scikit-learn',
20
20
  'scipy',
21
- 'numpy',
21
+ 'numpy<2.0.0',
22
22
  'ortools',
23
23
  'scikit-image',
24
24
  'shapely',
@@ -12,7 +12,7 @@ The library includes python code for the following:
12
12
 
13
13
  """
14
14
 
15
- __version__ = "1.0.1"
15
+ __version__ = "1.1.0"
16
16
  __author__ = 'Kalvik'
17
17
 
18
18
  from .models.core import *
@@ -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 = self._reshape(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.0
3
+ Version: 1.1.1
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,7 +13,7 @@ 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
@@ -3,7 +3,7 @@ matplotlib
3
3
  pandas
4
4
  scikit-learn
5
5
  scipy
6
- numpy
6
+ numpy<2.0.0
7
7
  ortools
8
8
  scikit-image
9
9
  shapely
File without changes
File without changes
File without changes
File without changes