首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >crf++中的交叉验证

crf++中的交叉验证
EN

Stack Overflow用户
提问于 2014-06-28 22:34:19
回答 2查看 617关注 0票数 2

我想知道如何在CRF++中进行交叉验证。它是在文档中写的:

代码语言:javascript
复制
crf_learn -f 3 -c 1.5 template_file train_file model_file

-c float:

With this option, you can change the hyper-parameter for the CRFs. With larger C value,
CRF tends to overfit to the give training corpus. This parameter trades the balance
between overfitting and underfitting. The results will significantly be influenced 
by this parameter. You can find an optimal value by using held-out data or more 
general model selection method such as cross validation.

如何进行本手册中提到的交叉验证

EN

回答 2

Stack Overflow用户

发布于 2016-09-22 17:49:28

这本手册试图告诉你,你可以通过自己在待定集合上执行交叉验证或测试来计算出C参数的最佳值。CRF++没有这样的功能。谢谢

票数 1
EN

Stack Overflow用户

发布于 2015-06-06 04:11:27

如果我的理解正确的话,CRF++没有内置的交叉验证功能。我们必须分开做这件事

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/24467852

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档