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

1 Ansicht (letzte 30 Tage)
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.

Akzeptierte Antwort

Cris LaPierre
Cris LaPierre am 10 Nov. 2021
Yes. The one that comes to mind is cvpartition.
  1 Kommentar
M.Sattar
M.Sattar am 15 Nov. 2021
Thank you so much, even if this is not the exact function i was looking for, but it helped me in my work
i appreciate

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Call Python from MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by