Borrar filtros
Borrar filtros

How to use various combinations of samples to build model

2 visualizaciones (últimos 30 días)
NCA
NCA el 22 de Mzo. de 2023
Comentada: Image Analyst el 27 de Mzo. de 2023
I am trying to use different combinations of the samples in my data(X) on each iteration to build a SVR model with fitrsvm until the model performance improves. I am not sure how to do this.

Respuesta aceptada

Image Analyst
Image Analyst el 23 de Mzo. de 2023
The Regression Learner app on the Apps tab of the Tool ribbon will do that for you.
  2 comentarios
NCA
NCA el 26 de Mzo. de 2023
Thanks for the suggestion but the regression learner app allows for the selection of the predictor variables to include in the analysis and not the observations. I do not want to use the observations as the predictors.
I found out that I can use 'perms' but unfortuanletly the combinations of my data is too big for MATLAB to handle.
Image Analyst
Image Analyst el 27 de Mzo. de 2023
Not true. The Regression Learner app allows you to input training data, called "predictors" and output (true answer) variables that it calls "response" but what you call "observations".
In addition you can tell it how many of the predictor rows you want to use for training, how many for validation, and how many for testing. I suggest you take another, closer, look.

Iniciar sesión para comentar.

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