From 6f0966767fe4fc25686d06c10d3956bd8abd10b8 Mon Sep 17 00:00:00 2001 From: JuiP Date: Sat, 27 Feb 2021 01:02:40 +0530 Subject: [PATCH] Structure package --- estimators/__init__.py | 0 basic-usage.py => estimators/basic-usage.py | 0 cressieread.py => estimators/cressieread.py | 0 ds_parse.py => estimators/ds_parse.py | 0 ips_snips.py => estimators/ips_snips.py | 0 mle.py => estimators/mle.py | 0 .../pseudo_inverse.py | 0 .../test_pi.cpython-36-pytest-6.2.2.pyc | Bin 0 -> 1891 bytes {test => estimators/test}/test_pi.py | 0 requirements.txt | 1 - setup.py | 30 ++++++++++++++++++ 11 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 estimators/__init__.py rename basic-usage.py => estimators/basic-usage.py (100%) rename cressieread.py => estimators/cressieread.py (100%) rename ds_parse.py => estimators/ds_parse.py (100%) rename ips_snips.py => estimators/ips_snips.py (100%) rename mle.py => estimators/mle.py (100%) rename pseudo_inverse.py => estimators/pseudo_inverse.py (100%) create mode 100644 estimators/test/__pycache__/test_pi.cpython-36-pytest-6.2.2.pyc rename {test => estimators/test}/test_pi.py (100%) delete mode 100644 requirements.txt create mode 100644 setup.py diff --git a/estimators/__init__.py b/estimators/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/basic-usage.py b/estimators/basic-usage.py similarity index 100% rename from basic-usage.py rename to estimators/basic-usage.py diff --git a/cressieread.py b/estimators/cressieread.py similarity index 100% rename from cressieread.py rename to estimators/cressieread.py diff --git a/ds_parse.py b/estimators/ds_parse.py similarity index 100% rename from ds_parse.py rename to estimators/ds_parse.py diff --git a/ips_snips.py b/estimators/ips_snips.py similarity index 100% rename from ips_snips.py rename to estimators/ips_snips.py diff --git a/mle.py b/estimators/mle.py similarity index 100% rename from mle.py rename to estimators/mle.py diff --git a/pseudo_inverse.py b/estimators/pseudo_inverse.py similarity index 100% rename from pseudo_inverse.py rename to estimators/pseudo_inverse.py diff --git a/estimators/test/__pycache__/test_pi.cpython-36-pytest-6.2.2.pyc b/estimators/test/__pycache__/test_pi.cpython-36-pytest-6.2.2.pyc new file mode 100644 index 0000000000000000000000000000000000000000..55c05645d14718ddee49995bdde9d2f2b5747a03 GIT binary patch literal 1891 zcma)6O^72!6t3z{I!ULK%+8E6qj>1UEKWc&llk3+ak8Q-EXc4h;6kIcovE5kXFJ`! zRh`|<*nKg35`^)ncmT#=G4@hx>F|_(H|kFLGTf37A_zXIy{yr#}%L&&>KMfBaBdj`gn{olxT`$ zf{FGBWv~Y+kRma9g-jsJv`PiO0m?)xtgJVF{_YzW~PUxg2hVb zWS2g~WT}9%3Xlm@1+su@K=rI~@9jH?EJ3eU&N{bm+59vb2E^`Co8BAx_q~9IiJe6D zt=mWTgHsyX$th*j_PHH}!N~S(?uWgA+B}GoV-4CWhvf3I9RcxGfCQz`fE6f#Y_Ob- z@v_uHddp}L-IbR`KkR+{_cves^TXE%7jQLD6ARtz@}?%RCvf*m#0=0reP#VL8qoFr z&|iP&&N}6ZKk$->@%02`1#axO;*lut2i~Adyo0Jt0|=e%Ngp>)*_A1StNZMrZW6hE z%v<|GbnFHE0EB#p-e;f6anb3?Z4ml(D*Vxzn11Z^w$yk$)%-ry{MPCH{F5AiO-aVMg`B8Y2v51KU_atI)Cn0Jac%heorFn(P z{~oJLumBt*c7v$Lol@+^j1mwSec&+=ipnA|lRnbsRAr+1z1W$%xZKFd>X@2NMILkZFpSO3?Gk*<6V0BL0mpJrkBw3qQbu44lgP#NWD0{;rt z5qk-In{%Q(EkBzFg?Q1;Yv0Nfhr+d>D$Gxy;Fl^PD=0.9 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..d4e05d9 --- /dev/null +++ b/setup.py @@ -0,0 +1,30 @@ +import setuptools + +MAJOR = 1 +MINOR = 0 +MICRO = 0 +VERSION = f"{MAJOR}.{MINOR}.{MICRO}" + +with open("README.md", "r") as f: + long_description = f.read() + +setuptools.setup( + name="vw-estimators", + version=VERSION, + description="Python package of estimators to perform off-policy evaluation ", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/VowpalWabbit/estimators.git", + license="BSD 3-Clause License", + classifiers=[ + "Intended Audience :: Science/Research", + "License :: OSI Approved :: BSD License", + "Programming Language :: Python :: 3.6", + "Operating System :: OS Independent", + "Topic :: Scientific/Engineering" + ], + packages=["estimators"], + install_requires= ['scipy>=0.9'], + tests_require=['pytest'], + python_requires=">=3.6", +) \ No newline at end of file