Closed esherman-credo closed 1 year ago
@IanAtCredo I will fix this, it is only triggered by equal_opportunity
in the example above, which is a FAIRNESS type metric. I will update tests to include this type of metric as well.
@esherman-credo good find 🙌
@fabrizio-credo Ian suggested I just take care of it with the gini pr. See https://github.com/credo-ai/credoai_lens/pull/205
https://github.com/credo-ai/credoai_lens/blob/f73d4bf75a4a2aac8944031cc071459e7f5d3f1f/credoai/evaluators/performance.py#L226 and https://github.com/credo-ai/credoai_lens/blob/f73d4bf75a4a2aac8944031cc071459e7f5d3f1f/credoai/evaluators/performance.py#L239 both use
self
which is not passed to this static method. Throws aself not Defined
error.Likely introduced during recent changes to process_metrics handling?
More details: On a fresh conda environment for gini feature development with fresh install of lens. Running quickstart.ipynb
This cell:
(Part of) Traceback: