How can I split data train, validation using for classificaiton learner

조회 수: 4 (최근 30일)
beyoglu
beyoglu 2023년 6월 5일
댓글: Govind KM 2023년 6월 6일
Hello, is there a way to select the train and validation data separately from the separate data in the workspace for classification learner? Classification Learner interface does it by splitting the train data into %train and %test as a deafult. I need this to take advantage of the classification learner.
Kind regards

답변 (1개)

Govind KM
Govind KM 2023년 6월 5일
You can set the percentage of data to be reserved for testing or even import a test data set through the Test section on the Classification Learner tab. You can refer to these documentation sites for more information :
  댓글 수: 2
beyoglu
beyoglu 2023년 6월 5일
Let's assume that we have data from three separate datasets, train validation and test. We will evaluate their performance. In the link, the random part of the data as train and test is explained.
best regards
Govind KM
Govind KM 2023년 6월 6일
While creating a new session, you can select holdout validation and select a percentage of data to be used as a validation set. This can help you if you want to set a specific number of samples for validation.
I don't think you can specify the validation data separately as of now.

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

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by