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

조회 수: 1 (최근 30일)
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.

채택된 답변

Cris LaPierre
Cris LaPierre 2021년 11월 10일
Yes. The one that comes to mind is cvpartition.
  댓글 수: 1
M.Sattar
M.Sattar 2021년 11월 15일
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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by