Comments (8)
- Q1
I think you can generate a field calledsession_id
in your inter atomic file to indicate which session this interaction belongs to. And in each session, the sequence order is dependent on timestamp.
Then you can write something like these in your config file to load the data.
USER_ID_FIELD: session_id
load_col:
inter: [session_id, item_id, number of times, timestamp]
- Should each user id appear only once?
The same user id can appear in different sessions.
from recbole.
Thanks, and GRU4rec will know to use the session-id field as the session without any further indication?
from recbole.
Thanks, and GRU4rec will know to use the session-id field as the session without any further indication?
Yes, it is.
from recbole.
Thanks, so in case I have a 'session_id' column, then its OK to have the time stamps repeatable between sessions, since the GRU4Rec will take the 'session_id' as the session key anyway?
from recbole.
Hi
as for this:
USER_ID_FIELD: session_id
load_col:
inter: [session_id, item_id, number of times, timestamp]
So now I understand that by indicating that the user id field is actually the session id, that's how GRU4Rec will know how to use it?
what is "number of times" - is this an example for an inter feature? should I indicate here all my additional columns of inter?
from recbole.
Thanks, so in case I have a 'session_id' column, then its OK to have the time stamps repeatable between sessions, since the GRU4Rec will take the 'session_id' as the session key anyway?
Yes
from recbole.
Hi
as for this:
USER_ID_FIELD: session_id
load_col:
inter: [session_id, item_id, number of times, timestamp]So now I understand that by indicating that the user id field is actually the session id, that's how GRU4Rec will know how to use it?
what is "number of times" - is this an example for an inter feature? should I indicate here all my additional columns of inter?
Your understanding is correct.
number of times
is an example for an inter feature.
You only need to indicate the used features in load_col
(e.g. the feature used for filtering dataset, the feature used in the model).
from recbole.
Hi according to our thread, I only need to change the USER_ID_FIELD and load_col:.
But according to this: #608 I need to change additional parameters and add my inter features as list items as well. Which one should I follow?
Many thanks!!
from recbole.
Related Issues (20)
- 使用recbole1.2.0时发现ml-1m的数据数量对不上
- [💡SUG] 请问如何输入id,利用case study或其他函数,输出测试集中用户实际购买的商品?
- Models can not distinguish explicit and implicit scenarios.
- 关于Recbole1.2.0版本安装问题
- [💡SUG] 目前的bert4rec中能实现seq -> seq 么? HOT 1
- [🐛BUG] 运行SRGNN和LESSR时报了同样的错误
- [🐛BUG] ValueError: I/O operation on closed file. HOT 1
- [💡SUG] 我想请教怎么添加物品的类别属性信息到模型中? HOT 1
- [🐛BUG] No module named 'recbole.model.general_recommender.mf'
- An Attentive Inductive Bias for Sequential Recommendation beyond the Self-Attention没有这篇论文的实现 HOT 1
- 噪声鲁棒性实验的超参数 HOT 1
- [🐛BUG] 分布式训练后的数据加载问题 HOT 2
- [💡SUG] 新增指标时需要用到项目向量 HOT 1
- 关于retailrocket数据集的一个小问题 HOT 3
- [🐛BUG] 负采样未利用显反馈样本 HOT 1
- 打印输出预测正确的item_id HOT 1
- 请教:更改seed会改变训练/测试集吗? HOT 1
- torch.distributed.DistBackendError: [5] is setting up NCCL communicator and retrieving ncclUniqueId from [0] via c10d key-value store by key '0', but store->get('0') got error: Socket Timeout HOT 1
- [💡SUG] How is lightSANs model utilising timestamp column in .inter data? HOT 1
- SOS:loss.backward()和self.optimizer.step()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recbole.