自动下载推荐系统数据集的工具
rs-datasets的Python项目详细描述
欢迎来到数据集
这个工具允许你下载,解包和阅读
推荐者将数据集系统化为pandas.DataFrame
和data = Dataset()
一样简单。在
安装
pip install rs_datasets
文件
请参阅此项目的documentation以 请参阅可用的数据集和使用示例。在
使用示例
^{pr2}$ratings user_id item_id rating timestamp 0 1 1 4.0 964982703 1 1 3 4.0 964981247 2 1 6 4.0 964982224 items item_id ... genres 0 1 ... Adventure|Animation|Children|Comedy|Fantasy 1 2 ... Adventure|Children|Fantasy 2 3 ... Comedy|Romance [3 rows x 3 columns] tags user_id item_id tag timestamp 0 2 60756 funny 1445714994 1 2 60756 Highly quotable 1445714996 2 2 60756 will ferrell 1445714992 links item_id imdb_id tmdb_id 0 1 114709 862.0 1 2 113497 8844.0 2 3 113228 15602.0
加载的数据帧可用作类属性。在
- 项目
标签: