How do I partition data sets for cross validation in MATLAB?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Aaron Woods
am 13 Sep. 2021
Beantwortet: Swetha Polemoni
am 16 Sep. 2021
I'm trying to split, or partition, the data into two groups. Testing Data and Training Data. Ideally I want to write a function that can randomly divide the data into a variable sized patition. So that I could do specifi and leave one out cross validation. I'm not sure how I'll do this though.
0 Kommentare
Akzeptierte Antwort
Swetha Polemoni
am 16 Sep. 2021
Hi
It is my understanding that you want to partition the dats randomly. You can use either cvpartition from Statistics and Machine Learning Toolbox or randperm to serve the purpose.
The following answer might help you to understand how to use 'randperm'
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Gaussian Process Regression finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!