You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+59Lines changed: 59 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,59 @@ Use the ``predict`` method to reconstruct a new function sampled at the chosen s
55
55
:alt:A plot showing the function to be reconstructed, the learned sensor locations, and the reconstruction.
56
56
:figclass:align-center
57
57
58
+
Reconstruction with constraints
59
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
60
+
In most engineering applications, certain areas within the region of interest might allow a limited number of sensors or none at all.
61
+
We develop a data-driven technique that incorporates constraints into an optimization framework for sensor placement, with the primary objective
62
+
of minimizing reconstruction errors under noisy sensor measurements.
63
+
64
+
This work has been implemented in the general QR optimizer for sensor selection.
65
+
This is an extension that requires a more intrusive access to the QR optimizer to facilitate a more adaptive optimization. It is a generalized version of cost constraints
66
+
in the sense that users can allow `n_const_sensors` in the constrained area. If n = 0 this converges to the CCQR results. If there is
67
+
no constrained region it should converge to the results from QR optimizer.
68
+
69
+
To implement constrained sensing we initialize the optimizer GQR and provide it additional kwargs such as the constrained region, number of allowable
70
+
sensors in the constrained region and the type of constraint.
71
+
72
+
Three strategies to deal with constraints are currently developed:
73
+
74
+
* ``max_n`` - Number of sensors in the constrained region should be less than or equal to the allowable constrained sensors.
75
+
76
+
* ``exact_n`` - Number of sensors in the constrained region should be exactly equal to the allowable constrained sensors.
77
+
78
+
* ``predetermined`` - A number of sensor locations are predetermined and the aim is to optimize the rest.
We have further provided functions to compute the sensors in the constrained regions. For example if the user provides the center and radius of a circular
90
+
constrained region, the constraints in utils compute the constrained sensor indices. Direct constraint plotting capabilities have also been developed.
91
+
92
+
The constrained shapes currently implemented are:
93
+
94
+
* ``Circle``
95
+
96
+
* ``Cylinder``
97
+
98
+
* ``Line``
99
+
100
+
* ``Parabola``
101
+
102
+
* ``Ellipse``
103
+
104
+
* ``Polygon``
105
+
106
+
* ``UserDefinedConstraints``
107
+
108
+
- This type of constraint has the ability to take in either a function from the user or a
109
+
.py file which contains a functional definition of the constrained region.
110
+
58
111
Classification
59
112
^^^^^^^^^^^^^^
60
113
Classification is the problem of predicting which category an example belongs to, given a set of training data (e.g. determining whether digital photos are of dogs or cats).
0 commit comments