我想知道如何在 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.
如本手册中所述,如何进行交叉验证