├── .github └── workflows │ └── pythonpackage.yml ├── .gitignore ├── LICENSE ├── README.md ├── examples ├── bandits_playground.ipynb ├── basic-usage.py └── ds_parse.py ├── pyproject.toml ├── requirements-dev.txt ├── requirements.txt ├── setup.py ├── src └── estimators │ ├── __init__.py │ ├── bandits │ ├── __init__.py │ ├── base.py │ ├── cats_utils.py │ ├── clopper_pearson.py │ ├── cressieread.py │ ├── cs.py │ ├── gaussian.py │ ├── ips.py │ ├── mle.py │ └── snips.py │ ├── ccb │ ├── __init__.py │ ├── base.py │ ├── first_slot.py │ ├── multislot.py │ └── pdis_cressieread.py │ ├── math.py │ ├── py.typed │ └── slates │ ├── __init__.py │ ├── base.py │ ├── gaussian.py │ └── pseudo_inverse.py └── tests ├── test_bandits.py ├── test_bandits_cressieread.py ├── test_bandits_ips.py ├── test_bandits_mle.py ├── test_bandits_snips.py ├── test_ccb.py ├── test_ccb_first_slot.py ├── test_math.py ├── test_multislot.py ├── test_slates.py ├── test_slates_pseudo_inverse.py └── utils.py /.github/workflows/pythonpackage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/.github/workflows/pythonpackage.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/README.md -------------------------------------------------------------------------------- /examples/bandits_playground.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/examples/bandits_playground.ipynb -------------------------------------------------------------------------------- /examples/basic-usage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/examples/basic-usage.py -------------------------------------------------------------------------------- /examples/ds_parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/examples/ds_parse.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/requirements-dev.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | scipy>=0.9 2 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/setup.py -------------------------------------------------------------------------------- /src/estimators/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/estimators/bandits/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/estimators/bandits/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/src/estimators/bandits/base.py -------------------------------------------------------------------------------- /src/estimators/bandits/cats_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/src/estimators/bandits/cats_utils.py -------------------------------------------------------------------------------- /src/estimators/bandits/clopper_pearson.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/src/estimators/bandits/clopper_pearson.py -------------------------------------------------------------------------------- /src/estimators/bandits/cressieread.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/src/estimators/bandits/cressieread.py -------------------------------------------------------------------------------- /src/estimators/bandits/cs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/src/estimators/bandits/cs.py -------------------------------------------------------------------------------- /src/estimators/bandits/gaussian.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/src/estimators/bandits/gaussian.py -------------------------------------------------------------------------------- /src/estimators/bandits/ips.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/src/estimators/bandits/ips.py -------------------------------------------------------------------------------- /src/estimators/bandits/mle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/src/estimators/bandits/mle.py -------------------------------------------------------------------------------- /src/estimators/bandits/snips.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/src/estimators/bandits/snips.py -------------------------------------------------------------------------------- /src/estimators/ccb/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/estimators/ccb/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/src/estimators/ccb/base.py -------------------------------------------------------------------------------- /src/estimators/ccb/first_slot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/src/estimators/ccb/first_slot.py -------------------------------------------------------------------------------- /src/estimators/ccb/multislot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/src/estimators/ccb/multislot.py -------------------------------------------------------------------------------- /src/estimators/ccb/pdis_cressieread.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/src/estimators/ccb/pdis_cressieread.py -------------------------------------------------------------------------------- /src/estimators/math.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/src/estimators/math.py -------------------------------------------------------------------------------- /src/estimators/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/estimators/slates/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/estimators/slates/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/src/estimators/slates/base.py -------------------------------------------------------------------------------- /src/estimators/slates/gaussian.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/src/estimators/slates/gaussian.py -------------------------------------------------------------------------------- /src/estimators/slates/pseudo_inverse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/src/estimators/slates/pseudo_inverse.py -------------------------------------------------------------------------------- /tests/test_bandits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/tests/test_bandits.py -------------------------------------------------------------------------------- /tests/test_bandits_cressieread.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/tests/test_bandits_cressieread.py -------------------------------------------------------------------------------- /tests/test_bandits_ips.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/tests/test_bandits_ips.py -------------------------------------------------------------------------------- /tests/test_bandits_mle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/tests/test_bandits_mle.py -------------------------------------------------------------------------------- /tests/test_bandits_snips.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/tests/test_bandits_snips.py -------------------------------------------------------------------------------- /tests/test_ccb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/tests/test_ccb.py -------------------------------------------------------------------------------- /tests/test_ccb_first_slot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/tests/test_ccb_first_slot.py -------------------------------------------------------------------------------- /tests/test_math.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/tests/test_math.py -------------------------------------------------------------------------------- /tests/test_multislot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/tests/test_multislot.py -------------------------------------------------------------------------------- /tests/test_slates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/tests/test_slates.py -------------------------------------------------------------------------------- /tests/test_slates_pseudo_inverse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/tests/test_slates_pseudo_inverse.py -------------------------------------------------------------------------------- /tests/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VowpalWabbit/estimators/HEAD/tests/utils.py --------------------------------------------------------------------------------