From 7aa48d7c7227cd52437f72f5c3af06134e588ddf Mon Sep 17 00:00:00 2001 From: Sambit Panda <36676569+sampan501@users.noreply.github.com> Date: Tue, 7 Dec 2021 13:12:15 -0500 Subject: [PATCH] release hyppo 0.2.2 (#236) * fix inccorect p-value in unit tests * fix MGC unit tests * update version to 0.2.2 --- docs/news.rst | 38 ++++++++++++++++++++++++++++ hyppo/__init__.py | 2 +- hyppo/independence/tests/test_mgc.py | 2 +- 3 files changed, 40 insertions(+), 2 deletions(-) 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" diff --git a/hyppo/independence/tests/test_mgc.py b/hyppo/independence/tests/test_mgc.py index 90fb46a58..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, 0.003), # test spiral simulation + (spiral, 0.091, 0.01), # test spiral simulation ], ) def test_fived(self, sim, obs_stat, obs_pvalue):