Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ history_behavior_list.py
File
history_behavior_list.py
modelzoo/dien/data/script/history_behavior_list.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
item_to_cate_map = {}
2
with
open(
'item2catmap.txt'
,
'r'
)
as
f:
3
for
line in f:
4
linelist = line.strip().split(
'\t'
)
Callers
nothing calls this directly
Calls
4
strip
Method · 0.80
split
Method · 0.45
append
Method · 0.45
write
Method · 0.45
Tested by
no test coverage detected