mdbs/README.md

30 lines
911 B
Markdown
Raw Normal View History

需要的 python包: numpy
2025-08-07 11:28:34 +08:00
执行python main.py后自动将运行结果需要四个参数
# 数据格式
event_dict 级联数据, 该demo中给出生产event_dict示例生产中须自行构建event_dict
event_dict可使用json或者python字典,形式如下:
{
event_id : [
{
'user_id': id_1,
'act_time' : time_1,
},
{
'user_id': id_2,
'act_time' : time_2,
},
....
]
}
其中user_id为用户唯一标识act_time为用户参与事件event_id的时间格式为时间戳
# 参数必选项
2025-05-28 15:41:34 +08:00
result_path 计算出的结果保存路径;
2025-05-23 14:32:44 +08:00
anchor_budget m点预算
# 参数可选项
anchor_screen m点参与时间的筛选标准默认为1取值0-1可不填写
obs_time 可观测时间,默认为-1可不填写
max_cas_num 处理的事件数量,默认为-1可不填写