Skip to main content

Approximate randomisation library

Project description

randhy

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

References

  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.

Source Distribution

randhy-2.0.2.tar.gz (2.6 kB view hashes)

Uploaded source

Built Distribution

randhy-2.0.2-py3-none-any.whl (2.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page