gxtrobot / bustag

a tag and recommend system for old bus driver 给老司机用的一个番号推荐系统
MIT License
3.86k stars 586 forks source link

0.2.0模型训练不能 #46

Open eronyako opened 4 years ago

eronyako commented 4 years ago

点击训练模型后所有数值均为0,命令行提示 \bustag\model\classifier.py:37: DataConversionWarning: A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel(). /do-trainin

gxtrobot commented 4 years ago

你的数据库是新的还是用的原来的

如果是以前版本就有的数据库, 可能是有问题

建议新建个目录运行, 老得数据可以导入

eronyako commented 4 years ago

数据库没有导入数据库,使用新目录运行,一切全新。

gxtrobot commented 4 years ago

你是不是只有喜欢的打标数据, 这样会出错, 喜欢不喜欢都要有才行

还有问题,可以加个群, 我来看看, 效果好点

TinyFatty commented 4 years ago

一样的问题,全新目录打标喜欢不喜欢都有,点击训练模型后所有数值均为0,推荐页里所有新增的都被归类到了不喜欢