Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Ball Python Package

Project description


The fundamental problems for data mining and statistical analysis are:

  • Whether distributions of two samples are distinct?
  • Whether two random variables are dependent?

Ball package provides solutions for these issues. Moreover, a variable screening (or feature screening) procedure is also implemented to tackle ultra high dimensional data. The core functions in Ball package are bd_test, bd, bcov_test, bcov, bcorsis and bcor.

These functions based on ball statistic have several advantages:

  • It’s applicable to univariate and multivariate data in Banach space.
  • There is no need for moment assumption, which means that outliers and heavy-tail data are no longer a problem.
  • They perform well in many setting without complex adjustments for parameters.

Particularly, for two-sample or K-sample problem, bd_test has been proved to cope well for imbalanced data, and bcov_test and bcorsis work well for detecting the relationship between complex responses and/or predictors, such as shape, compositional as well as censored data.

Install instructions

We recommend that compile C++ files by gcc instead of Visual Studio. You could download MinGW ( and then add the path MinGW/bin to system environment variable “path”.

Anaconda3 is needed, and the version should be greater than 3.4. You should add all the related path of Anaconda3 to system environment variable “path”, as well as the path of MinGW/bin.

Then you can pip install the Ball package!

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Ball, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size Ball-0.2.2.tar.gz (105.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page