我想知道如何在CRF++中进行交叉验证。它是在文档中写的:
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.如何进行本手册中提到的交叉验证
发布于 2016-09-22 17:49:28
这本手册试图告诉你,你可以通过自己在待定集合上执行交叉验证或测试来计算出C参数的最佳值。CRF++没有这样的功能。谢谢
发布于 2015-06-06 04:11:27
如果我的理解正确的话,CRF++没有内置的交叉验证功能。我们必须分开做这件事
https://stackoverflow.com/questions/24467852
复制相似问题