A library for Sequential Sample Ratio Mismatch (SRM) test.
Project description
SSRM: A Sequential Sample Ratio Mismatch Test
A package for sequential testing of Sample Ratio Mismatch (SRM).
Contributors:
- Michael Lindon (michael.lindon@optimizely.com )
Installation
We recommend that you use an isolated virtual environment to install and run the code in this repo (See: virtualenv and pyenv)
- You can clone the repository from the command-line:
git clone git@github.com:optimizely/ssrm.gitWe highly recommend that you branch off ofmasterand pull in upstream changes regularly. - Install dependencies: Run
make install.- If you wish to develop in the repo, run
make install-dev. Also, see the contributing doc here
Tip: have a look in the Makefile to learn more about what this, and other make recipes do!
- If you wish to develop in the repo, run
- Run tests:
make checkto run all checks.make testto run unit tests.
Tutorials
We provide a tutorial notebook that walks through an example of running a
Sequential SRM test
here. Run jupyter lab, and open notebooks/introduction.ipynb.
Documentation
The latest reference documentation is here.
Contributing
See the contributing doc here.
Credits
First-party code (under ssrm_test) is copyright Optimizely, Inc. and contributors, licensed under Apache 2.0.
Additional Code
This software incorporates code from the following open source projects:
numpy https://numpy.org/index.html
- Copyright © 2005-2020, NumPy Developers.
- License (BSD): https://numpy.org/license.html#license
scipy https://www.scipy.org/scipylib/index.html
- Copyright © 2001-2002 Enthought, Inc. 2003-2019, SciPy Developers.
- License (BSD): https://www.scipy.org/scipylib/license.html
toolz https://github.com/pytoolz/toolz
- Copyright © 2013 Matthew Rocklin
- License (New BSD): https://github.com/pytoolz/toolz/blob/master/LICENSE.txt
typing https://github.com/python/typing
- Copyright © 2001-2014 Python Software Foundation; All Rights Reserved.
- License (Python Software Foundation License (PSF)): https://github.com/python/typing/blob/master/LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ssrm_test-0.1.5.tar.gz.
File metadata
- Download URL: ssrm_test-0.1.5.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.4 Darwin/19.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f968115429f05d447fb5a6285a67c7626cb99686f0ad98502a4a8946e470ea3
|
|
| MD5 |
d1c3362bb7eabcfca34f2f8a5bc894cd
|
|
| BLAKE2b-256 |
574ea3d9ef455eda8ccfdf5ac7eca28de10417589291b66e3f12ee40cf14a4f2
|
File details
Details for the file ssrm_test-0.1.5-py3-none-any.whl.
File metadata
- Download URL: ssrm_test-0.1.5-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.4 Darwin/19.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75c8e2758c486be7be904c181abdb4354255caf20b1ce77f4721e7132d64c898
|
|
| MD5 |
cc772240599dad1e44b191aff7080946
|
|
| BLAKE2b-256 |
7e3e00bd9dce69eb3b2d913e3fb0441ac15550d395065a3daf10cbeb89922d3b
|