斯坦福大学NER的交叉验证 [英] Crossvalidation in Stanford NER
本文介绍了斯坦福大学NER的交叉验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在斯坦福大学NER 中使用交叉验证. 功能工厂列出了3个属性:
I'm trying to use cross validation in Stanford NER. The feature factory lists 3 properties:
numFolds int 1 The number of folds to use for cross-validation.
startFold int 1 The starting fold to run.
numFoldsToRun int 1 The number of folds to run.
我认为应该使用
进行交叉验证.但是我不认为它们真正起作用.将numFolds设置为1或10根本不会改变训练的运行时间.奇怪的是,使用numFoldsToRun会给出以下警告:
which I think should be used for cross validation. But I don't think they actually work. Setting numFolds to 1 or 10 doesn't change the running time for training at all. And strangely, using numFoldsToRun gives the following warning:
Unknown property: |numFoldsToRun|
推荐答案
您是对的.这些选项尚未实现.如果您要进行交叉验证实验,则必须自己准备数据集来完全手动进行. (对不起!)
You're right. These options haven't been implemented. If you want to run cross-validation experiments, you'll have to do it completely manually by preparing the data sets yourself. (Sorry!)
这篇关于斯坦福大学NER的交叉验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文