Skip to content

Feature/meta information verona - #110

Open
Ver0Ha wants to merge 27 commits into
mainfrom
feature/meta-information-verona
Open

Ver0Ha wants to merge 27 commits into
mainfrom
feature/meta-information-verona

Conversation

@Ver0Ha

@Ver0Ha Ver0Ha commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

Meta-I pipeline:

  • metai.py script: helper functions for confidence binning, correct/incorrect trial counts (per bin), entropy calculations (H₂(r), H₂(r|c)), and d'
  • metainformation_theoretic.py: metaI_d_prime (normalizer for meta-Ir1), fit_metaI (single participant meta-I, meta-Ir1, meta-Ir2 estimation), EstimatorMetaI (participant level estimation wrapping fit_metaI)
  • meta-i.ipynb: example notebook

lenarddome and others added 27 commits October 23, 2026 13:24
 Add metainformation_theoretic.py implementing Dayan (2023) meta-I.
ignore_invalid further passed down the call chain to enable unit tests for edge cases of confidence binning.
ignore_invalid added to enable unit tests for edge cases of confidence binning.
test units cover entropy, count and dprime functions
test units cover the meta-I of an ideal Baysian observer given d' (metaI_d_prime), meta-I parameter (fit_metaI) and participation level (EstimatorMetaI) estimations.
…atorMetaI.estimate().\

catches fitting errors as RunTimeWarning to enable bin optimization without bringing analysis to a halt.
switched from execute_parallel/decompose to joblib.Parallel and delayed, as decompose requires an 'observed' column not present in meta-I data structure
no equivalence test against an independent reimplementation is included because meta-I depends on bin_ratings for quantile binning, which cannot be independently exactly replicated
@Ver0Ha
Ver0Ha requested a review from lenarddome November 27, 2026 15:26

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants