【发布时间】:2021-06-26 14:27:31
【问题描述】:
我是张量流的新手。我想使用 TensorFlow Recommenders 库和提供的简单代码在我的数据集上训练推荐模型:
https://github.com/tensorflow/recommenders
我想知道如何使用(加载并提供给模型)以下格式的自定义 .csv 文件,而不是加载内置的 Movielens 数据集?
| user_id | item_id | rating |
|---|---|---|
| 2 | 8 | 3 |
| 5 | 12 | 4 |
| 6 | 4 | 2 |
| ... | ... | ... |
我的 TensorFlow 版本:
张量流==2.4.0
tensorflow-datasets==4.2.0
tensorflow-recommenders==0.4.0
【问题讨论】:
标签: python tensorflow tensorflow-datasets recommendation-engine recommender-systems