Help with Leave One Out Cross Validation

Hello everyone!
I'm in a very large pickle right now, as it is my exam period, and we have to create a MatLab document wherein we have to build a lot of classifiers and those kinds of things.
I have a dataset (found here (<http://archive.ics.uci.edu/ml/datasets/seeds#))>, and I need to perform a Leave One Out Cross Validation on it, but I'm at a loss of how to even get started.
Can anyone give me some tips on how to get started? I'd really appreciate it.
Thank you guys,
-Mads

回答 (2 件)

Sean de Wolski
Sean de Wolski 2013 年 1 月 9 日

0 投票

I would start with crossval.
doc crossval
It looks like crossval even has a builtin in option for 'leaveout' which does this.
Mads
Mads 2013 年 1 月 9 日

0 投票

Thank you for the quick reply.
It says that crossval is a "Loss estimate using cross-validation" - what does "loss estimate" mean?
I've also found cvpartition, which also has an option for leave-out, but I'm unsure of which data to feed into the function, or even what I'm supposed to get out of it.
Thanks for taking the time.
-Mads

1 件のコメント

CHHAVI
CHHAVI 2020 年 7 月 25 日
How you did cross validation/ leave one out?. please help

サインインしてコメントする。

製品

タグ

質問済み:

2013 年 1 月 9 日

コメント済み:

2020 年 7 月 25 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by