Split the data into 70% training and 30% test in classification learner?

4 ビュー (過去 30 日間)
Hadeel H
Hadeel H 2022 年 4 月 12 日
回答済み: Cris LaPierre 2022 年 4 月 12 日
I am using classification learner to train my model. Is there a way in classification learner app to split the data into 70% training and 30% for testing in the classification learner app without coding ?

採用された回答

Cris LaPierre
Cris LaPierre 2022 年 4 月 12 日
What version of MATLAB are you using? In R2022a, there is an option to set aside a percentage of the data to use as test data.
I'm not sure in what version this was added, but do recall that earlier versions did not have this. In that case, you would need to code your data partion before using the app. When that is the case, use cvpartition.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeClassification Learner App についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by