Skip to content

Commit 7760047

Browse files
committed
docs: registry snippet to list available profiles/comparisons
1 parent cde48c4 commit 7760047

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

docs/source/comparisons.rst

+9
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@ A rich set of the most frequently used comparisons is available out-of-the-box:
2626
| Any | Any | Maximum probability difference |
2727
+------------+-----------------+---------------------------------+
2828

29+
The comparisons registry can be consulted for available comparisons:
30+
31+
.. code-block:: python
32+
33+
from popmon.analysis import Comparisons
34+
35+
print(Comparisons.get_keys())
36+
37+
2938
Custom comparisons
3039
------------------
3140

docs/source/profiles.rst

+12
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@ The following metrics are implemented:
1515
+------------+-----------------+-------------------------------------------------------+
1616
| 1D | Any | Filled |
1717
+------------+-----------------+-------------------------------------------------------+
18+
| 1D | Any | Distinct |
19+
+------------+-----------------+-------------------------------------------------------+
1820
| 1D | Any | Underflow, Overflow |
1921
+------------+-----------------+-------------------------------------------------------+
2022
| 1D | Any | NaN |
2123
+------------+-----------------+-------------------------------------------------------+
24+
| 1D | Any | Mode |
25+
+------------+-----------------+-------------------------------------------------------+
2226
| 1D | Numeric | Mean |
2327
+------------+-----------------+-------------------------------------------------------+
2428
| 1D | Numeric | 1%, 5%, 16%, 50% (median), 84%, 95%, 99% percentiles |
@@ -32,6 +36,14 @@ The following metrics are implemented:
3236
| 2D | Any | PhiK Correlation |
3337
+------------+-----------------+-------------------------------------------------------+
3438

39+
The comparisons registry can be consulted for available comparisons:
40+
41+
.. code-block:: python
42+
43+
from popmon.analysis import Profiles
44+
45+
print(Profiles.get_keys())
46+
3547
3648
Custom profiles
3749
---------------

0 commit comments

Comments
 (0)