Package: recogym
RecoGymPython code for the RecSys 2018 REVEAL workshop paper entitled 'RecoGym: A Reinforcement Learning Environment for the problem of Product Recommendation in Online Advertising'. A pre-print version of the paper can be found here -https://arxiv.org/abs/1808.00720RecoGymis a Open-AI gym RL environment for recommendation, which is defined by a model of user traffic patterns on e-commerce and the users response to recommendations on the publisher websites. We hope thatRecoGymwill be an important step forward for the field of recommendation systems research, that could open up an avenue of collaboration between the recommender systems and reinforcement learning communities and lead to better alignment between offline and online performance metrics.For getting starting withRecoGymplease view the 'Getting Started' Jupyter Notebook which will explain the functionality of the environment and detail the creation of a simple agent. The 'Compare Agent' notebook compares the recommendation performance of a selection of our included agents. The agent we include withRecoGymcan be found in the agents directory of this repository.Dependencies and RequirementsThe code has been designed to support python 3.6+ only. The project has the following dependencies
and version requirements:MarkupSafe==1.1.1Send2Trash==1.5.0appnope==0.1.0attrs==19.2.0backcall==0.1.0bleach==3.1.0cloudpickle==1.2.2cycler==0.10.0datetime==4.3decorator==4.4.0defusedxml==0.6.0entrypoints==0.3future==0.17.1gym==0.14.0icc==rt-2019.0intel==numpy-1.15.1intel==openmp-2019.0intel==scipy-1.1.0ipykernel==5.1.2ipython==7.8.0ipython==genutils-0.2.0ipywidgets==7.5.1jedi==0.15.1jinja2==2.10.3joblib==0.14.0jsonschema==3.0.2jupyter==1.0.0jupyter==client-5.3.3jupyter==console-6.0.0jupyter==core-4.5.0kiwisolver==1.1.0llvmlite==0.29.0matplotlib==3.1.1mistune==0.8.4mkl==2019.0mkl-fft==1.0.6mkl-random==1.0.1.1nbconvert==5.6.0nbformat==4.4.0notebook==6.0.1numba==0.45.1numpy==1.17.2pandas==0.25.1pandocfilters==1.4.2parso==0.5.1pexpect==4.7.0pickleshare==0.7.5prometheus==client-0.7.1prompt==toolkit-2.0.10ptyprocess==0.6.0pyglet==1.3.2pygments==2.4.2pyparsing==2.4.2pyrsistent==0.15.4python==dateutil-2.8.0pytz==2019.2pyzmq==18.1.0qtconsole==4.5.5recogym==0.1.2.3scikit==learn-0.21.3scipy==1.3.1simplegeneric==0.8.1six==1.12.0tbb==2019.0tbb4py==2019.0terminado==0.8.2testpath==0.4.2torch==1.2.0tornado==6.0.3tqdm==4.36.1traitlets==4.3.3wcwidth==0.1.7webencodings==0.5.1widgetsnbextension==3.5.1zope.interface==4.6.0In this repository we provide a Anaconda environment setup file with all the required python packages and versions all ready configured. You can install it as follows:# install conda envcondacreate-nreco-gympython=3.6
condaactivatereco-gym

pipinstallrecogym==0.1.2.3For MacOS users, you shall also installlibomp:brewinstalllibompCitePlease cite the associated paper for this work if you use this code:@article{rohde2018recogym,
  title={RecoGym: A Reinforcement Learning Environment for the problem of Product Recommendation in Online Advertising},
  author={Rohde, David and Bonner, Stephen and Dunlop, Travis and Vasile, Flavian and Karatzoglou, Alexandros},
  journal={arXiv preprint arXiv:1808.00720},
  year={2018}
}LicenseCopyright CRITEOLicensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.