Vowpal Wabbit - 格式错误的示例,只有一行可以有成本上下文强盗

问题描述

我是 Vowpal Wabbit 的新手。我已经成功地针对来自 DataFrame(~20 行)的一小部分数据测试了 VW 代理/学习器。但是当我将数据集增加到 2000 行时,出现格式错误

我发起的学习者是:

vw = pyvw.vw("--cb_explore_adf -q UA --quiet --epsilon 0.2")

我的 VW 格式数据如下所示:

shared |User user=46235223 time_of_day=2020-11-15T12:01:00.000Z
|Action article=politics on world news
|Action article=sports page about football 
|Action article=music about the 80s
|Action article=food regarding veganism

数据样本:

articleId   user    time_of_day            article
0001        1212    02-01-2021-16:06:01    Food regarding veganism                                     
0002        1422    03-01-2021-06:16:32    Sports page about football 
0003        8286    12-08-2021-15:43:05    Music about the 80s
0004        4528    27-11-2021-16:11:09    Food regarding veganism 

Vowpal Wabbit Formatting Error

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)