Skip to content

Commit

Permalink
add tutorials to docs (#57)
Browse files Browse the repository at this point in the history
* fix black formatting

* upgrade to joblib and add default permutation test (#52) (#54)

* upgrade to joblib and add default permutation test

* fix assertion errors

* fix block_size error

* fix black formatting

* remove random state and local dcorr tests

* Update independence.ipynb

* reformat to black code

* match notebooks to figures in paper

* updated algorith speed code

* just run HHG on this test

* Update indep_alg_speed.ipynb

* updated benchmark code

* remove random forest module

* update figure 1 of paper

* update mgc references to hyppo

* Fix bold letters in index.rst

* correct code coverage calculation

* make header longer in contributing

* change references from mgc to hyppo

* make jupyter notebooks python in status bar

* automatically update pypi with tag of release

* automatically update package version

* change references to hypothesis testing

* change mgc to joblib backend

* remove redundancy of checking size and shape

* add tutorials jupyter notebooks to docs

* fix folder location of power csvs

* updated independence curves

* add samp size and dimension tutorials

* updated dimension curves

* add time series sims and updated code

* Update setup.py

* fix time series p-value of 2

* add time series simulations

* fix k sample module to localize code

* add tutorials for functions in hyppo

* add pypi install instructions

* add k-sample references

* Delete independence.ipynb

* add mgcx to time_series

* rerun independence notebook

* remove graspy reference

* fix travis indenting issue

* fix mgc assertion errors
  • Loading branch information
sampan501 authored Feb 25, 2020
1 parent 3b6a768 commit 2f42c6a
Show file tree
Hide file tree
Showing 640 changed files with 14,305 additions and 5,379 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.ipynb linguist-vendored=true
32 changes: 21 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
language: python

python:
- "3.5"
- "3.6"
- "3.7"
- '3.5'
- '3.6'
- '3.7'

jobs:
include:
- os: windows
language: sh
python: "3.7"
before_install:
- choco install python3 --params "/InstallDir:C:\\Python" --version 3.7.4
- export PATH="/c/Python:/c/Python/Scripts:$PATH"
- python -m pip install --upgrade pip wheel
- os: windows
language: sh
python: '3.7'
before_install:
- choco install python3 --params "/InstallDir:C:\\Python" --version 3.7.4
- export PATH="/c/Python:/c/Python/Scripts:$PATH"
- python -m pip install --upgrade pip wheel

branches:
only:
Expand All @@ -34,4 +34,14 @@ after_success:
- codecov

notifications:
- email: false
- email: false

deploy:
- provider: pypi
user: "sampanda501"
password:
secure: ETst5EjaQRrOPXYik7ut3xzTwIiOrUklyZsQ1AioqzKJS9MXfwmaXnf12l3scC9DB+DUA2XmpM1EsA5Rw+OBLJR2e3lK8N2fNJlabnjnh8jT9jEmHoUQc1RS6GjxWx1ZDgdBU6Q6O04TPlMOB3hjgegLeQyemG1z0/3Viboa+c748zrpqlHYQXoPMQ40WPp75wWM4fqWYyl1qgonMp24YiworwHI2oO06lg/DUoHneyJsaY4JBuGZmgxzq1ir9OFvYm5p7Qwe89dUfreQOEZh32WiHNx6EDzbM436bFuAJPtIywPIj8CJcxyXgWljiQ8BvsOVmDUsixC3HndCwVmV+gTUMTu9n1Ib7v1S0OLlm5IXgsy/HabVtLWeoAR1fr7xBBUcJPwbcfN/61lMJd1ENOGCqDUaYMvWEyBwOtncApU8P2W5i28otqXqz5S8cIPAr4dDo0b1XKEe+qt11KNFOUD43n+mEASd+L8MUSOziJoA5h0N4Fgygg8kHp+M1VNXQxIRGj1LyCoAITlL8R5c4s2dH/rZlWzKoPUCxmZn5xBEoKPC7EDY01iCPqsl7NO+Yy1udTV8+cD31kCJ+ZxJGpOcVgfgrGBJXraKo+3d237ZcJl9q/UvYxs11DhZMbiBrnd/IRiboI/eQWC5RArDZBVObyjGPImcJPq6AYh8H8=
on:
tags: true
repo: neurodata/hyppo
python: '3.7'
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# hyppo

[![Build Status](https://travis-ci.org/neurodata/hyppo.svg?branch=master)](https://travis-ci.org/neurodata/hyppo)
[![codecov](https://codecov.io/gh/neurodata/hyppo/branch/master/graph/badge.svg)](https://codecov.io/gh/neurodata/hyppo)
[![PyPI version](https://img.shields.io/pypi/v/hyppo.svg)](https://pypi.org/project/hyppo/)
[![License](https://img.shields.io/github/license/neurodata/hyppo)](https://hyppo.neurodata.io/license.html)
[![Build Status](https://travis-ci.org/neurodata/mgc.svg?branch=master)](https://travis-ci.org/neurodata/mgc)
[![codecov](https://codecov.io/gh/neurodata/mgc/branch/master/graph/badge.svg)](https://codecov.io/gh/neurodata/mgc)
[![PyPI version](https://img.shields.io/pypi/v/mgc.svg)](https://pypi.org/project/mgc/)
[![License](https://img.shields.io/github/license/neurodata/mgc)](https://mgc.neurodata.io/license.html)
[![arXiv shield](https://img.shields.io/badge/arXiv-1907.02088-red.svg?style=flat)](https://arxiv.org/abs/1907.02088)

`hyppo` (**HYP**othesis Testing in **P**yth**O**n, pronounced "Hippo") is an open-source software package for independence and k-sample testing.
`hyppo` (**HYP**othesis Testing in **P**yth**O**n, pronounced "Hippo") is an open-source software package for hypothesis testing.

- **Installation Guide:** [https://hyppo.neurodata.io/install.html](https://hyppo.neurodata.io/install.html)
- **Documentation:** [https://hyppo.neurodata.io/](https://hyppo.neurodata.io/)
- **Tutorials:** [https://hyppo.neurodata.io/tutorials.html](https://hyppo.neurodata.io/tutorials.html)
- **Source Code:** [https://github.com/neurodata/hyppo/tree/master/hyppo](https://github.com/neurodata/hyppo/tree/master/hyppo)
- **Issues:** [https://github.com/neurodata/hyppo/issues](https://github.com/neurodata/hyppo/issues)
- **Contribution Guide:** [https://hyppo.neurodata.io/contributing.html](https://hyppo.neurodata.io/contributing.html)
- **Installation Guide:** [https://mgc.neurodata.io/install.html](https://mgc.neurodata.io/install.html)
- **Documentation:** [https://mgc.neurodata.io/](https://mgc.neurodata.io/)
- **Tutorials:** [https://mgc.neurodata.io/tutorials.html](https://mgc.neurodata.io/tutorials.html)
- **Source Code:** [https://github.com/neurodata/mgc/tree/master/mgc](https://github.com/neurodata/mgc/tree/master/mgc)
- **Issues:** [https://github.com/neurodata/mgc/issues](https://github.com/neurodata/mgc/issues)
- **Contribution Guide:** [https://mgc.neurodata.io/contributing.html](https://mgc.neurodata.io/contributing.html)

`hyppo` intends to be a comprehensive independence and k-sample testing package and runs on all major versions of operating systems. It also includes novel tests not found in other packages that operate on multivariate data. It is quick to install and free of charge. If you need to use multivariate hypothesis testing, be sure to give `hyppo` a try!
`hyppo` intends to be a comprehensive hypothesis testing package and runs on all major versions of operating systems. It also includes novel tests not found in other packages that operate on multivariate data. It is quick to install and free of charge. If you need to use multivariate hypothesis testing, be sure to give `hyppo` a try!
88 changes: 84 additions & 4 deletions benchmarks/indep_power_dimension.ipynb

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions benchmarks/vs_dimension/circle_CCA.csv
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
4.666666666666667053e-03
1.333333333333333072e-02
1.633333333333333512e-02
1.400000000000000029e-02
1.533333333333333250e-02
2.200000000000000219e-02
2.000000000000000042e-02
2.000000000000000042e-02
1.766666666666666732e-02
1.933333333333333431e-02
2.333333333333333440e-02
2.666666666666666838e-02
2.566666666666666749e-02
2.499999999999999792e-02
2.166666666666666741e-02
3.433333333333333376e-02
2.466666666666667007e-02
2.999999999999999889e-02
2.299999999999999614e-02
2.766666666666666927e-02
4.599999999999999922e-03
1.520000000000000170e-02
1.679999999999999896e-02
1.479999999999999892e-02
1.899999999999999953e-02
1.480000000000000239e-02
1.519999999999999997e-02
1.839999999999999622e-02
1.640000000000000138e-02
2.299999999999999961e-02
2.680000000000000090e-02
2.519999999999999324e-02
2.179999999999999646e-02
1.700000000000000122e-02
2.639999999999999639e-02
2.479999999999999913e-02
2.219999999999999751e-02
2.660000000000000211e-02
2.939999999999999905e-02
2.400000000000000050e-02
40 changes: 20 additions & 20 deletions benchmarks/vs_dimension/circle_Dcorr.csv
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
7.523333333333331874e-01
6.500000000000000222e-02
7.433333333333333459e-02
8.000000000000000167e-02
7.233333333333334669e-02
6.733333333333334225e-02
5.699999999999999512e-02
5.700000000000000205e-02
4.566666666666666791e-02
5.166666666666666630e-02
5.999999999999999778e-02
6.733333333333332837e-02
5.599999999999999423e-02
5.199999999999999761e-02
5.033333333333333409e-02
5.699999999999999512e-02
4.533333333333333659e-02
5.099999999999999672e-02
4.400000000000000439e-02
5.166666666666666630e-02
8.211999999999999300e-01
9.979999999999999982e-02
8.439999999999998892e-02
7.660000000000000142e-02
6.520000000000000795e-02
5.939999999999999447e-02
5.639999999999999181e-02
5.859999999999999931e-02
5.679999999999999633e-02
5.419999999999999124e-02
5.040000000000000036e-02
5.620000000000000689e-02
4.880000000000000310e-02
5.100000000000000366e-02
5.079999999999999793e-02
5.380000000000000060e-02
4.879999999999999616e-02
5.199999999999999067e-02
5.279999999999999971e-02
4.680000000000000132e-02
38 changes: 19 additions & 19 deletions benchmarks/vs_dimension/circle_HHG.csv
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
1.000000000000000000e+00
9.303333333333333455e-01
9.033333333333333215e-01
8.673333333333332895e-01
8.303333333333332567e-01
7.936666666666667425e-01
8.006666666666667487e-01
7.459999999999999964e-01
7.116666666666665586e-01
6.689999999999999281e-01
6.606666666666666243e-01
6.353333333333333055e-01
6.239999999999999991e-01
5.443333333333333357e-01
5.626666666666667593e-01
5.060000000000000053e-01
4.936666666666666980e-01
4.823333333333333361e-01
4.779999999999999805e-01
4.716666666666666785e-01
9.324000000000000066e-01
8.986000000000000654e-01
8.875999999999999446e-01
8.421999999999998376e-01
8.134000000000000119e-01
7.681999999999999940e-01
7.257999999999998897e-01
7.030000000000000693e-01
6.687999999999998391e-01
6.353999999999999648e-01
6.026000000000000245e-01
5.802000000000000490e-01
5.667999999999999705e-01
5.549999999999999378e-01
5.237999999999999323e-01
5.032000000000000917e-01
4.747999999999999998e-01
4.385999999999999899e-01
4.402000000000000357e-01
36 changes: 18 additions & 18 deletions benchmarks/vs_dimension/circle_Hsic.csv
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
9.996666666666667034e-01
6.133333333333332998e-02
4.166666666666666435e-02
3.733333333333333642e-02
3.899999999999999994e-02
9.992000000000000881e-01
6.880000000000000004e-02
4.180000000000000382e-02
3.039999999999999994e-02
3.200000000000000067e-02
3.966666666666666952e-02
2.933333333333333279e-02
2.699999999999999969e-02
3.633333333333333554e-02
3.433333333333333376e-02
3.233333333333333198e-02
3.799999999999999906e-02
3.899999999999999994e-02
3.899999999999999994e-02
3.433333333333333376e-02
3.520000000000000212e-02
2.959999999999999784e-02
3.520000000000000212e-02
4.060000000000000414e-02
3.580000000000000543e-02
3.919999999999999873e-02
3.679999999999999938e-02
3.740000000000000269e-02
3.699999999999999817e-02
3.633333333333333554e-02
4.200000000000000261e-02
4.433333333333333570e-02
3.660000000000000059e-02
3.440000000000000002e-02
3.840000000000000357e-02
2.919999999999999679e-02
3.860000000000000236e-02
3.440000000000000002e-02
20 changes: 20 additions & 0 deletions benchmarks/vs_dimension/circle_MGC.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
1.000000000000000000e+00
8.146000000000001018e-01
7.820000000000000284e-01
7.193999999999999284e-01
6.735999999999999766e-01
6.220000000000001084e-01
5.979999999999999760e-01
5.637999999999999678e-01
5.512000000000000233e-01
5.180000000000000160e-01
4.898000000000000687e-01
4.656000000000000694e-01
4.410000000000000031e-01
4.435999999999999943e-01
4.336000000000000409e-01
4.134000000000000452e-01
3.977999999999999869e-01
3.834000000000000186e-01
3.781999999999999806e-01
3.720000000000000528e-01
38 changes: 19 additions & 19 deletions benchmarks/vs_dimension/circle_RV.csv
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
6.666666666666667095e-03
6.800000000000000488e-03
1.339999999999999872e-02
1.399999999999999856e-02
1.266666666666666635e-02
1.666666666666666644e-02
2.033333333333333173e-02
1.133333333333333241e-02
1.199999999999999852e-02
1.833333333333333690e-02
1.633333333333333512e-02
1.899999999999999953e-02
2.233333333333333351e-02
2.000000000000000042e-02
2.399999999999999703e-02
2.699999999999999969e-02
2.533333333333333270e-02
2.366666666666666918e-02
2.233333333333333351e-02
2.000000000000000042e-02
2.766666666666666233e-02
2.533333333333333270e-02
2.020000000000000268e-02
1.600000000000000033e-02
1.999999999999999695e-02
1.799999999999999864e-02
1.859999999999999848e-02
1.800000000000000211e-02
2.060000000000000026e-02
2.440000000000000155e-02
2.259999999999999856e-02
2.320000000000000534e-02
2.260000000000000203e-02
2.520000000000000018e-02
2.579999999999999655e-02
2.740000000000000074e-02
2.379999999999999824e-02
2.479999999999999913e-02
2.419999999999999929e-02
40 changes: 20 additions & 20 deletions benchmarks/vs_dimension/cubic_CCA.csv
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
1.000000000000000000e+00
1.000000000000000000e+00
9.940000000000001057e-01
9.713333333333333819e-01
9.193333333333333357e-01
8.816666666666667096e-01
8.233333333333332504e-01
7.783333333333333215e-01
7.489999999999999991e-01
7.176666666666666750e-01
6.500000000000000222e-01
6.423333333333333117e-01
5.919999999999999707e-01
5.766666666666666607e-01
5.220000000000001306e-01
5.393333333333333313e-01
4.503333333333333077e-01
4.576666666666666661e-01
4.390000000000000013e-01
4.066666666666666763e-01
4.533333333333333659e-01
9.998000000000001330e-01
9.958000000000000185e-01
9.652000000000000579e-01
9.284000000000001140e-01
8.868000000000000327e-01
8.245999999999999996e-01
7.731999999999999984e-01
7.232000000000000650e-01
6.854000000000000092e-01
6.586000000000000743e-01
6.176000000000000378e-01
6.016000000000000236e-01
5.345999999999999641e-01
5.342000000000000082e-01
5.252000000000000002e-01
5.029999999999998916e-01
5.076000000000000512e-01
4.533999999999999697e-01
4.400000000000000577e-01
4.176000000000000267e-01
38 changes: 19 additions & 19 deletions benchmarks/vs_dimension/cubic_Dcorr.csv
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
1.000000000000000000e+00
1.000000000000000000e+00
9.969999999999998863e-01
9.773333333333332762e-01
9.460000000000000631e-01
8.929999999999999050e-01
8.373333333333331518e-01
8.079999999999999405e-01
7.236666666666665693e-01
7.263333333333332753e-01
6.473333333333334272e-01
6.423333333333333117e-01
6.173333333333334005e-01
5.523333333333333428e-01
5.336666666666666226e-01
5.016666666666665941e-01
4.879999999999999893e-01
4.913333333333333441e-01
5.066666666666667096e-01
4.386666666666667047e-01
4.283333333333332882e-01
9.955999999999999295e-01
9.785999999999999144e-01
9.452000000000000401e-01
8.955999999999999517e-01
8.240000000000000657e-01
7.900000000000000355e-01
7.369999999999999885e-01
7.127999999999998781e-01
6.891999999999999238e-01
6.381999999999999895e-01
6.096000000000000307e-01
5.904000000000000359e-01
5.412000000000001254e-01
5.250000000000001332e-01
5.288000000000000478e-01
5.088000000000001410e-01
4.773999999999999910e-01
4.702000000000000068e-01
4.404000000000000137e-01
Loading

0 comments on commit 2f42c6a

Please sign in to comment.