Clear Filters
Clear Filters

Is there any built-in function for splitting the data to training and testing sets ?

1 view (last 30 days)
Hello Matlab community!
I havan't used Matlab to code machine learning models befor so , i am very familiar with python and sklearn , i just wonder if there is any functions in matlab to split the data randommly into train and test sets.
Thanks in advanced.

Accepted Answer

Cris LaPierre
Cris LaPierre on 10 Nov 2021
Yes. The one that comes to mind is cvpartition.

More Answers (0)

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!