Skip to content

Commit

Permalink
release hyppo 0.2.2 (#236)
Browse files Browse the repository at this point in the history
* fix inccorect p-value in unit tests

* fix MGC unit tests

* update version to 0.2.2
  • Loading branch information
sampan501 committed Dec 7, 2021
1 parent b8c04d0 commit 7aa48d7
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 2 deletions.
38 changes: 38 additions & 0 deletions docs/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion hyppo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
import hyppo.time_series
import hyppo.tools

__version__ = "0.2.1"
__version__ = "0.2.2"
2 changes: 1 addition & 1 deletion hyppo/independence/tests/test_mgc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 7aa48d7

Please sign in to comment.