Leave One Out Cross Validation Hyperparameter Tuning

2 ビュー (過去 30 日間)
Mirko Job
Mirko Job 2018 年 12 月 15 日
編集済み: Mirko Job 2018 年 12 月 15 日
Hi,
I have a dataset of motion data from different subjects which is used to do activity recognition.
To make u understand something like this
SUBJECTS DATA1 DATA2 DATA3 ........ ACTIVITY
1 32133 322332 212121 WALKING
1 54322 424242 342757 LYING
2 32133 322332 212121 WALKING
2 52322 424652 321217 RUNNING
Now my prediction is the activity column and i know there are specific function that can separate my dataset in training test and tuning hyperparameters ....
However while i'm building the classifier model i want to do a specific cross-validation in which every fold is made by all data from all subjects except one for testing. So i was thinking to use the built-in function of MATLAB and bayesopt to tune the hyperparameter of the model.
I have a data set of around 16600 observation and if i use the 'LeaveOut' option in cvpartion it gave me back the same number of folds.
Does anyone can give some advice on this ?
Every help or documentation is really appreciate.
P.S.
Observations from all subjects are not always the same number

回答 (0 件)

カテゴリ

Help Center および File ExchangeModel Building and Assessment についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by