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

4 visualizaciones (últimos 30 días)
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 ?

Respuesta aceptada

Cris LaPierre
Cris LaPierre el 12 de Abr. de 2022
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.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by