最快的监督教程:精度很低
嗨,我在教程中的最快的监督模块
https:// fasttext.cc/docs/en/supervised-tutorial.html
在教程中获取以下结果:
model = fasttext.train_supervised(input="cooking.train", lr=0.5, epoch=25, wordNgrams=2, bucket=200000, dim=50, loss='ova')
model.test("cooking.valid", k=-1)
(3000L, 0.702, 0.2)
精度为0.702,召回为0.2。
但是,当我在我的教程中运行相同的教程时,我会得到以下结果:
(3000, 0.003146031746031746, 1.0)
较新版本的FastExt发生了一些变化,但尚未记录。
我正在使用FastText版本0.9.2
Hi I am running the same tutorial on the supervised module of fastest in the tutorial
https://fasttext.cc/docs/en/supervised-tutorial.html
In the tutorial we get the below results:
model = fasttext.train_supervised(input="cooking.train", lr=0.5, epoch=25, wordNgrams=2, bucket=200000, dim=50, loss='ova')
model.test("cooking.valid", k=-1)
(3000L, 0.702, 0.2)
Where the precision is 0.702 and recall is 0.2.
But when I run the same tutorial at my I get the below results:
(3000, 0.003146031746031746, 1.0)
Has something changed with the newer version of fastext which is not documented yet.
I am using fasttext version 0.9.2
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论