collection of utility functions for correlation analysis
Check the examples folder for notebooks.
Compute correlation matrix and its p-values
EDA, Dig deeper into results
corr_vs_pval
and then look up the variable indicies with flatten
afterwards.Utility functions
Parameter Stability
Variable Selection, Search Functions
n=3,5,..
of variables with low and insignificant correlations among each other. (See binsel package for an application.)find_best
-- Find the N "best", i.e. high and most significant, correlationsfind_worst
-- Find the N "worst", i.e. insignificant/random and low, correlationsThe korr
git repo is available as PyPi package
pip install korr
python3.7 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt --no-cache-dir
pip install -r requirements-dev.txt --no-cache-dir
pip install -r requirements-demo.txt --no-cache-dir
(If your git repo is stored in a folder with whitespaces, then don't use the subfolder .venv
. Use an absolute path without whitespaces.)
flake8 --ignore=F401
pytest
.pyc
files: find . -type f -name "*.pyc" | xargs rm
__pycache__
folders: find . -type d -name "__pycache__" | xargs rm -rf
Publish
pandoc README.md --from markdown --to rst -s -o README.rst
python setup.py sdist
twine upload -r pypi dist/*
Please open an issue for support.
Please contribute using Github Flow. Create a branch, add commits, and open a pull request.