From 15c57c17375dc888e0c5f80354a01a1203dfed19 Mon Sep 17 00:00:00 2001 From: Tamas Spisak Date: Sun, 8 Aug 2021 21:28:11 +0200 Subject: [PATCH] test patched --- mlconfound/stats.py | 6 +++--- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mlconfound/stats.py b/mlconfound/stats.py index dea678c..a10314e 100755 --- a/mlconfound/stats.py +++ b/mlconfound/stats.py @@ -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 -------- @@ -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 -------- diff --git a/pyproject.toml b/pyproject.toml index 29aebf9..bc5dee6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "] license = "GPL-3.0-or-later"