Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ audit_model returns an overloaded dictionary where keys are the column names of

"""
from fairml import audit_model
from fairml import plot_generic_dependence_dictionary
from fairml import plot_dependencies
```

Above, we provide a quick explanation of the key fairml functionality. Now we move into building an example model that we'd like to audit.
Expand Down Expand Up @@ -121,11 +121,11 @@ print(total)

# generate feature dependence plot
fig = plot_dependencies(
total.get_compress_dictionary_into_key_median(),
total.median(),
reverse_values=False,
title="FairML feature dependence"
)
plt.savefig("fairml_ldp.eps", transparent=False, bbox_inches='tight')
fig.savefig("fairml_ldp.eps", transparent=False, bbox_inches='tight')
```

The demo above produces the figure below.
Expand Down