From 0711299ce7e5ccf5d128a5ee766059cf1437602a Mon Sep 17 00:00:00 2001 From: Sambit Panda <36676569+sampan501@users.noreply.github.com> Date: Tue, 7 Dec 2021 12:38:05 -0500 Subject: [PATCH 1/3] fix inccorect p-value in unit tests --- hyppo/independence/tests/test_mgc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyppo/independence/tests/test_mgc.py b/hyppo/independence/tests/test_mgc.py index 90fb46a58..8009ff919 100644 --- a/hyppo/independence/tests/test_mgc.py +++ b/hyppo/independence/tests/test_mgc.py @@ -38,7 +38,7 @@ def test_oned(self, sim, obs_stat, obs_pvalue): "sim, obs_stat, obs_pvalue", [ (linear, 0.463, 1 / 1000), # test linear simulation - (spiral, 0.091, 0.003), # test spiral simulation + (spiral, 0.091, 1 / 1000), # test spiral simulation ], ) def test_fived(self, sim, obs_stat, obs_pvalue): From 6a5ef9eab40f0b4eb72ba20adbe7b2f4e063de28 Mon Sep 17 00:00:00 2001 From: Sambit Panda <36676569+sampan501@users.noreply.github.com> Date: Tue, 7 Dec 2021 13:00:58 -0500 Subject: [PATCH 2/3] fix MGC unit tests --- hyppo/independence/tests/test_mgc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyppo/independence/tests/test_mgc.py b/hyppo/independence/tests/test_mgc.py index 8009ff919..8c86f5ccb 100644 --- a/hyppo/independence/tests/test_mgc.py +++ b/hyppo/independence/tests/test_mgc.py @@ -38,7 +38,7 @@ def test_oned(self, sim, obs_stat, obs_pvalue): "sim, obs_stat, obs_pvalue", [ (linear, 0.463, 1 / 1000), # test linear simulation - (spiral, 0.091, 1 / 1000), # test spiral simulation + (spiral, 0.091, 0.01), # test spiral simulation ], ) def test_fived(self, sim, obs_stat, obs_pvalue): From 1c847daa56aac7cfee53de08a37f74e31327fc17 Mon Sep 17 00:00:00 2001 From: Sambit Panda <36676569+sampan501@users.noreply.github.com> Date: Tue, 7 Dec 2021 13:03:54 -0500 Subject: [PATCH 3/3] update version to 0.2.2 --- docs/news.rst | 38 ++++++++++++++++++++++++++++++++++++++ hyppo/__init__.py | 2 +- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/docs/news.rst b/docs/news.rst index 2ff54e0ba..ab0a62db6 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -5,6 +5,44 @@ Changelog *Note: People with a "+" by their names contributed a patch for the first time.* +v0.2.2 +------ +| **Release date:** 7 December 2021 +| **Supports:** Python 3.6+. + +**New features:** + +* Functions now can be reproducible using a `random_state` parameter +* Add warning for redundant rows when running :class:`hyppo.independence.MGC` +* Tests now also retun a ``namedtuple`` + +**Bug Fixes:** + +* Change from L1 to L2 distance for the median heuristic +* Make median heuristic default for RBF and Gaussian kernels + +**Documentation:** + +* Update license in ``setup.py`` +* Change reference style and store reference in a ``refs.bib`` file +* Updated papers in documentation from preprint to published versions +* Rename badges in README + +**Maintenance:** + +* Added support for Python 3.9 +* Update pytest orbs version +* Make repository citeable with the new GitHub feature + +**Authors:** + ++ sampan501 ++ kareef928 + ++ rflperry ++ Verathagnus + ++ PSSF23 + ++ hadasarik + + v0.2.1 ------ | **Release date:** 25 February 2021 diff --git a/hyppo/__init__.py b/hyppo/__init__.py index ea0b03cff..f368d0cf2 100644 --- a/hyppo/__init__.py +++ b/hyppo/__init__.py @@ -4,4 +4,4 @@ import hyppo.time_series import hyppo.tools -__version__ = "0.2.1" +__version__ = "0.2.2"