Skip to content

Commit

Permalink
test patched
Browse files Browse the repository at this point in the history
  • Loading branch information
spisakt committed Aug 8, 2021
1 parent 200f8bf commit 15c57c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions mlconfound/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ def full_confound_test(y, yhat, c, num_perms=1000, cat_y=False, cat_yhat=False,
--------
See `notebooks/quickstart.ipynb` for more detailed examples.
>>> partial_confound_test(y=[1,2,3,4,5,6], yhat=[1.5,2.3,2.9,4.2,5,5.7], c=[3,5,4,6,1,2], random_state=42).p
0.693
>>> full_confound_test(y=[1,2,3,4,5,6], yhat=[1.5,2.3,2.9,4.2,5,5.7], c=[3,5,4,6,1,2], random_state=42).p
0.004
See Also
--------
Expand Down Expand Up @@ -399,7 +399,7 @@ def partial_confound_test(y, yhat, c, num_perms=1000, cat_y=False, cat_yhat=Fals
See `notebooks/quickstart.ipynb` for more detailed examples.
>>> partial_confound_test(y=[1,2,3,4,5,6], yhat=[1.5,2.3,2.9,4.2,5,5.7], c=[3,5,4,6,1,2], random_state=42).p
0.693
0.692
See Also
--------
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mlconfound"
version = "0.9.3"
version = "0.9.4"
description = "Tools for analyzing and quantifying effects of counfounder variables on machine learning model predictions."
authors = ["Tamas Spisak <[email protected]>"]
license = "GPL-3.0-or-later"
Expand Down

0 comments on commit 15c57c1

Please sign in to comment.