Skip to main content

Approximate randomisation library

Project description


Hypothesis thesting with approximate randomisation

CircleCI Maintainability Test Coverage

Approximate randomisation is a significance testing approach suitable for NLP problems.

🤔 Why not a traditional t-test?

While randomisation tests are just as good as analytical approaches such as the t-test, they are better when the assumptions of the latter are not met and they are also quite simple to implement.

🖥️ Installation

pip install randhy


  1. William Morgan, Statistical Hypothesis Tests for NLP - Stanford Computer Science (slides)
  2. Wassily Hoeffding. 1952. The Large-Sample Power of Tests Based on Permutations of Observations. Annals ofMathematical Statistics, 23, 169–192.
  3. Eric W. Noreen. 1989. Computer Intensive Methods forTesting Hypothesis. John Wiley & Sons

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
randhy-2.0.2-py3-none-any.whl (2.9 kB) Copy SHA256 hash SHA256 Wheel py3
randhy-2.0.2.tar.gz (2.6 kB) Copy SHA256 hash SHA256 Source None

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