如何在MATLAB中使用交叉验证测试? [英] How to use a cross validation test with MATLAB?
本文介绍了如何在MATLAB中使用交叉验证测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用10倍交叉验证来评估MATLAB中的离散化.我应该首先考虑属性和类列.
I would like to use 10-fold Cross-validation to evaluate a discretization in MATLAB. I should first consider the attributes and the class column.
推荐答案
In Statistics Toolbox there is CROSSVAL function, which performs 10-fold cross validation by default. Check it out.
另一个功能 CROSSVALIND 存在于生物信息学工具箱.
Another function CROSSVALIND exists in Bioinformatics Toolbox.
还有一个开源的Generic-CV工具: http://www.cs.technion.ac.il/~ronbeg/gcv /
Also there is an open source Generic-CV tool: http://www.cs.technion.ac.il/~ronbeg/gcv/
这篇关于如何在MATLAB中使用交叉验证测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文