RecommendationSystemDemo:基于Surprise实现的具有完整功能的推荐系统服务,并利用Flask框架实现了简单的接口调用-源码

上传者: 42134240 | 上传时间: 2021-07-19 15:29:42 | 文件大小: 3.97MB | 文件类型: ZIP
RecommendationSystemDemo 基于Surprise实现的具有完整功能的推荐系统服务,并利用Flask框架实现了简单的接口调用。 封装了完整的更新日志数据,训练,根据id查询推荐结果等功能。 包含了常见的SVD,FM等算法。 一,文件说明: python版本:3.6 requirements.txt在yx_recommender_system下 my_data:本地用于测试的电影数据 yx_recommender_system:封装好的推荐系统核心代码,对web服务调用者透明。 demo_server.py:网络服务端代码。 server_implement.py:推荐服务功能实现。 demo_client.py:客户端代码,因不一定用python初始化所以暂未实现。 yxdemo.py:调用推荐系统的参考demo,执行结果参考如下: 分别是推荐给用户id为

文件下载

资源详情

[{"title":"( 78 个子文件 3.97MB ) RecommendationSystemDemo:基于Surprise实现的具有完整功能的推荐系统服务,并利用Flask框架实现了简单的接口调用-源码","children":[{"title":"RecommendationSystemDemo-main","children":[{"title":"my_data","children":[{"title":"surprisedata","children":[{"title":"logs","children":[{"title":"log_runTrain_time.csv <span style='color:#111;'> 166B </span>","children":null,"spread":false},{"title":"log_user_rates.csv <span style='color:#111;'> 1.12MB </span>","children":null,"spread":false},{"title":"add_col.py <span style='color:#111;'> 391B </span>","children":null,"spread":false}],"spread":true},{"title":"data","children":[{"title":"items.csv <span style='color:#111;'> 48.14KB </span>","children":null,"spread":false},{"title":"users.csv <span style='color:#111;'> 10.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"recs","children":[{"title":"recs_item_neighbor.csv <span style='color:#111;'> 70.36KB </span>","children":null,"spread":false},{"title":"recs_item_hotest.csv <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"recs_final_2020_2_10.csv <span style='color:#111;'> 502.45KB </span>","children":null,"spread":false},{"title":"recs_item_user_favorite.csv <span style='color:#111;'> 37.88KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"img","children":[{"title":"res.png <span style='color:#111;'> 18.57KB </span>","children":null,"spread":false},{"title":"1.png <span style='color:#111;'> 25.31KB </span>","children":null,"spread":false},{"title":"2.png <span style='color:#111;'> 23.45KB </span>","children":null,"spread":false}],"spread":true},{"title":"fakedata","children":[{"title":"fake_user_item_data.csv <span style='color:#111;'> 207B </span>","children":null,"spread":false},{"title":"fake_user_item_data.npy <span style='color:#111;'> 448B </span>","children":null,"spread":false},{"title":"fake_user_data.csv <span style='color:#111;'> 112B </span>","children":null,"spread":false},{"title":"user_item_data_database.csv <span style='color:#111;'> 435B </span>","children":null,"spread":false},{"title":"make_fake_data_id.py <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"make_fake_data_true.py <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"user_item_data_read.csv <span style='color:#111;'> 207B </span>","children":null,"spread":false}],"spread":true},{"title":"movielens","children":[{"title":"items_top_n_neighbors.csv <span style='color:#111;'> 70.41KB </span>","children":null,"spread":false},{"title":"u.data <span style='color:#111;'> 1.89MB </span>","children":null,"spread":false},{"title":"movies.csv <span style='color:#111;'> 48.14KB </span>","children":null,"spread":false},{"title":"user_top_n_favorites.csv <span style='color:#111;'> 39.24KB </span>","children":null,"spread":false},{"title":"movielens2csv.py <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"u.genre <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"top_n_hotest_items.csv <span style='color:#111;'> 285B </span>","children":null,"spread":false},{"title":"user_rates_origin.csv <span style='color:#111;'> 956.24KB </span>","children":null,"spread":false},{"title":"u.item <span style='color:#111;'> 230.80KB </span>","children":null,"spread":false},{"title":"users.csv <span style='color:#111;'> 10.98KB </span>","children":null,"spread":false},{"title":"u.info <span style='color:#111;'> 36B </span>","children":null,"spread":false},{"title":"user_rates.csv <span style='color:#111;'> 6.06MB </span>","children":null,"spread":false}],"spread":false},{"title":"suprisedata","children":[{"title":"logs","children":[{"title":"log_runTrain_time.csv <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"log_user_rates.csv <span style='color:#111;'> 1.88MB </span>","children":null,"spread":false}],"spread":true},{"title":"data","children":[{"title":"users_bak.csv <span style='color:#111;'> 10.98KB </span>","children":null,"spread":false},{"title":"user_rates_origin.py <span style='color:#111;'> 782B </span>","children":null,"spread":false},{"title":"user_rates_origin_bak.csv <span style='color:#111;'> 956.24KB </span>","children":null,"spread":false},{"title":"items.csv <span style='color:#111;'> 54.78KB </span>","children":null,"spread":false},{"title":"users.csv <span style='color:#111;'> 14.74KB </span>","children":null,"spread":false},{"title":"user_rates_matrix.csv <span style='color:#111;'> 6.06MB </span>","children":null,"spread":false},{"title":"items_bak.csv <span style='color:#111;'> 48.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"recs","children":[{"title":"recs_item_manual_set.csv <span style='color:#111;'> 240B </span>","children":null,"spread":false},{"title":"recs_final_2020_1_9.csv <span style='color:#111;'> 726.94KB </span>","children":null,"spread":false},{"title":"recs_item_neighbor.csv <span style='color:#111;'> 70.36KB </span>","children":null,"spread":false},{"title":"recs_item_hotest.csv <span style='color:#111;'> 26.06KB </span>","children":null,"spread":false},{"title":"recs_item_user_favorite.csv <span style='color:#111;'> 48.13KB </span>","children":null,"spread":false},{"title":"recs_final_2020_1_11.csv <span style='color:#111;'> 823.30KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"yx_recommender_system","children":[{"title":"recommender_system.py <span style='color:#111;'> 41.35KB </span>","children":null,"spread":false},{"title":"algorithms","children":[{"title":"__init__.py <span style='color:#111;'> 400B </span>","children":null,"spread":false},{"title":"predictions.py <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"my_algorithm.py <span style='color:#111;'> 5.99KB </span>","children":null,"spread":false},{"title":"algo_base_bak.py <span style='color:#111;'> 10.63KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"random_pred.cpython-36.pyc <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"FM.cpython-36.pyc <span style='color:#111;'> 3.64KB </span>","children":null,"spread":false},{"title":"predictions.cpython-37.pyc <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"algo_base.cpython-37.pyc <span style='color:#111;'> 9.89KB </span>","children":null,"spread":false},{"title":"my_algorithm.cpython-36.pyc <span style='color:#111;'> 2.89KB </span>","children":null,"spread":false},{"title":"random_pred.cpython-37.pyc <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"baseline_only.cpython-37.pyc <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"knns.cpython-37.pyc <span style='color:#111;'> 14.28KB </span>","children":null,"spread":false},{"title":"algo_base.cpython-36.pyc <span style='color:#111;'> 9.84KB </span>","children":null,"spread":false},{"title":"__init__.cpython-37.pyc <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 593B </span>","children":null,"spread":false}],"spread":false},{"title":"random_pred.py <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"FM.py <span style='color:#111;'> 9.24KB </span>","children":null,"spread":false}],"spread":true},{"title":"model_dm.out <span style='color:#111;'> 840.88KB </span>","children":null,"spread":false},{"title":"tests.py <span style='color:#111;'> 10.68KB </span>","children":null,"spread":false},{"title":"requirements.txt <span style='color:#111;'> 65B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 22B </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"recommender_system.cpython-36.pyc <span style='color:#111;'> 27.81KB </span>","children":null,"spread":false},{"title":"data_loader.cpython-36.pyc <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 169B </span>","children":null,"spread":false}],"spread":true},{"title":"model.txt <span style='color:#111;'> 1.31MB </span>","children":null,"spread":false}],"spread":true},{"title":"server_implement.py <span style='color:#111;'> 1006B </span>","children":null,"spread":false},{"title":"yxdemo.py <span style='color:#111;'> 830B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"demo_client.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 4.04KB </span>","children":null,"spread":false},{"title":"demo_server.py <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明