Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Ball Statistics in Python

Travis Build Status AppVeyor Build Status PyPI version

Introdution

The fundamental problems for data mining, statistical analysis, and machine learning are:

  • whether several distributions are different?
  • whether random variables are dependent?
  • how to pick out useful variables/features from a high-dimensional data?

These issues can be tackled by Ball statistics, which enjoy following admirable advantages:

  • available for most of datasets (e.g., traditional tabular data, brain shape, functional connectome, wind direction and so on)
  • insensitive to outliers, distribution-free and model-free;
  • theoretically guaranteed and computationally efficient.

Installation

Pypi version

To install the Ball Python package from Pypi, just run:

pip install Ball
  • Git version (development)

Windows

Ball support compilation with MinGW. You need to install MinGW (https://sourceforge.net/projects/mingw/). Next, you should clone or download the Ball repo. Then run the following from the root of the Ball directory:

sh configure.sh your_python_path your_python_version_number # e.g.  sh configure.sh C:/anaconda3 35

Overview: Ball package

Three most importance functions in Ball:

bd.test bcov.test bcorsis
Feature Hypothesis test Hypothesis test Feature screening
Type Test of equal distributions Test of independence SIS and ISIS
Optional weight ✔️ ✔️ ✔️
Parallel programming ✔️ ✔️ ✔️
p-value ✔️ ✔️
Limit distribution Two-sample test only Independence test only
Censored data Comming soon
Interaction screening ✔️
GWAS optimization Comming soon
  • SIS: Sure Independence Screening
  • ISIS: Iterative Sure Independence Screening (SIS)
  • GWAS: Genome-Wide Association Study

Reference

Bug report

If you find any bugs, or if you experience any crashes, please report to us. If you have any questions just ask, we won't bite. Open an issue or send email to Jin Zhu at zhuj1jqx@gmail.com