MATLAB Answers

Sampling dataset into training(70%) and validation(30%) data

Bernard DUSHIMIMANA 님이 질문을 제출함. 27 Jul 2017
최근 활동 Swarooph 님이 댓글을 추가함. 28 Jul 2017
I have a dataset from which I would like to split into validation and training data. The original dataset, validation, and training should be stored in a table. How can I do that in matlab?

  댓글 수: 0

로그인 to comment.

답변 수: 1

Answer by Swarooph
on 27 Jul 2017

If you have the Statistics and Machine Learning Toolbox, cvpartition function is the easiest way to do this. Take a look at the doc here .

  댓글 수: 2

I would like you to take through an example. I am definitely new to MATLAB
Did the documentation help? You can also take a look at this classification example that uses the cvpartition function.

로그인 to comment.

Translated by