Skip to content

readme.md example code not consistent with example.py #4

@achimkoh

Description

@achimkoh

Hi, I noticed that some lines in the example are different from example.py, and seem to call (presumably) deprecated functions.

Regarding from fairml import plot_generic_dependence_dictionary:
There is no plot_generic_dependence_dictionary. Importing plot_dependencies worked for me.

Also,
fig = plot_dependencies( total.get_compress_dictionary_into_key_median(), reverse_values=False, title="FairML feature dependence" ) results in:
AttributeError: 'AuditResult' object has no attribute 'get_compress_dictionary_into_key_median', while total.median() works.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions