匿名用户2021年11月11日
106阅读

技术信息

授权协议
Apache-2.0 License

作品详情

RecSim:ACofigurableRecommederSystemsSimulatioPlatform

RecSimisacofigurableplatformforauthorigsimulatioevirometsforrecommedersystems(RSs)thataturallysupportssequetialiteractiowithusers.RecSimallowsthecreatioofewevirometsthatreflectparticularaspectsofuserbehavioraditemstructureatalevelofabstractiowell-suitedtopushigthelimitsofcurretreiforcemetlearig(RL)adRStechiquesisequetialiteractiverecommedatioproblems.Evirometscabeeasilycofiguredthatvaryassumptiosabout:userpreferecesaditemfamiliarity;userlatetstateaditsdyamics;adchoicemodelsadotheruserresposebehavior.WeoutliehowRecSimoffersvaluetoRLadRSresearchersadpractitioers,adhowitcaserveasavehicleforacademic-idustrialcollaboratio.ForadetaileddescriptiooftheRecSimarchitecturepleasereadIeetal.Pleasecitethepaperifyouusethecodefromthisrepositoryiyourwork.

Bibtex@article{ie2019recsim,title={RecSim:ACofigurableSimulatioPlatformforRecommederSystems},author={EugeeIeadChih-weiHsuadMartiMladeovadVihaJaiadSamitNarvekaradJigWagadRuiWuadCraigBoutilier},year={2019},eprit={1909.04847},archivePrefix={arXiv},primaryClass={cs.LG}}

Disclaimer

ThisisotaofficiallysupportedGoogleproduct.

What'sew12/13/2019:Added(abstract)classesforbothmulti-userevirometsadagets.Addedbaditalgorithmsforgeeralizedliearmodels.IstallatioadSampleUsage

ItisrecommededtoistallRecSimusig(https://pypi.org/project/recsim/):

pipistallrecsim

However,thelatestversioofDopamieisotiPyPIasofDecember,2019.WewattoistallthelatestversiofromDopamie'srepositorylikethefollowigbeforeweistallRecSim.NotethatDopamierequiresTesorflow1.15.0whichisthefial1.xreleaseicludigGPUsupportforUbutuadWidows.

pipistallgit+https://github.com/google/dopamie.git

Herearesomesamplecommadsyoucouldusefortestigtheistallatio:

gitcloehttps://github.com/google-research/recsimcdrecsim/recsimpythomai.py--logtostderr\--base_dir="/tmp/recsim/iterest_exploratio_full_slate_q"\--aget_ame=full_slate_q\--eviromet_ame=iterest_exploratio\--episode_log_file='episode_logs.tfrecord'\--gi_bidigs=simulator.ruer_lib.Ruer.max_steps_per_episode=100\--gi_bidigs=simulator.ruer_lib.TraiRuer.um_iteratios=10\--gi_bidigs=simulator.ruer_lib.TraiRuer.max_traiig_steps=100\--gi_bidigs=simulator.ruer_lib.EvalRuer.max_eval_episodes=5

Youcouldthestartatesorboardadviewtheoutput

tesorboard--logdir=/tmp/recsim/iterest_exploratio_full_slate_q/--port=2222

Youcouldalsofidthesimulatedlogsi/tmp/recsim/episode_logs.tfrecord

Tutorials

Togetstarted,pleasecheckoutourColabtutorials.IRecSim:Overview,wegiveabriefoverviewaboutRecSim.Wethetalkabouteachcofigurablecompoet:evirometadrecommederaget.

Documetatio

Pleaserefertothewhitepaperforthehigh-leveldesig.

功能介绍

RecSim: A Configurable Recommender Systems Simulation Platform RecSim is a configurable platform ...

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论