MORTAR with bounded composition search and context-dependent component credit.
More...
Go to the source code of this file.
MORTAR with bounded composition search and context-dependent component credit.
- See also
- https://doi.org/10.1145/3795095.3805100
Definition in file mortar.py.
◆ mortar_credit()
| qdpy.algorithms.mortar.mortar_credit |
( |
| compositions, |
|
|
* | , |
|
|
| root = () ) |
Compute Constrained Importance Through Search (CITS) from explored combinations.
- Parameters
-
| compositions | Mapping of component sets to measured scalar values in [-1, 1]. |
| root | Iterable identifying the root combination, excluded from aggregation. |
- Returns
- Dictionary from components to mean restricted Shapley contributions.
Treat unmeasured subsets as zero-valued. The root can provide a baseline value.
A composition is an unordered set of hashable component IDs. Each
nonroot measured composition contributes one estimate for each member.
Iterating measured subsets yields the same sum as enumeration over
all subsets with nonzero values.
Definition at line 44 of file mortar.py.
◆ mortar_skill_score()
| qdpy.algorithms.mortar.mortar_skill_score |
( |
| scores | ) |
|
Measure agreement between ordered skill levels and observed returns.
- Parameters
-
| scores | Finite scores, ordered by expected skill from weakest to strongest. |
- Returns
- Kendall tau-a, with tied outcomes contributing zero.
Count concordant and discordant pairs among a fixed panel of skill levels.
Definition at line 25 of file mortar.py.