Skip to content

Commit

Permalink
Readme image and funciton argument edits
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Apr 4, 2021
1 parent 191aeaf commit 0b1111e
Show file tree
Hide file tree
Showing 7 changed files with 552 additions and 694 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ model_pred_cols = [
```python
fig, (ax1, ax2) = plt.subplots(ncols=2, sharey=False, figsize=(20, 5))

plot_cum_gain(
plot_cum_effect(
df=df_visual_eval,
n=100,
models=models,
Expand All @@ -229,13 +229,11 @@ plot_cum_gain(
treatment_col="w_test",
normalize=True,
random_seed=42,
figsize=None,
fontsize=20,
axis=ax1,
legend_metrics=True,
)

plot_qini(
plot_qini( # or plot_cum_gain
df=df_visual_eval,
n=100,
models=models,
Expand All @@ -244,8 +242,6 @@ plot_qini(
treatment_col="w_test",
normalize=True,
random_seed=42,
figsize=None,
fontsize=20,
axis=ax2,
legend_metrics=True,
)
Expand Down
Loading

0 comments on commit 0b1111e

Please sign in to comment.