How to use various combinations of samples to build model

1 vue (au cours des 30 derniers jours)
NCA
NCA le 22 Mar 2023
Commenté : Image Analyst le 27 Mar 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.

Réponse acceptée

Image Analyst
Image Analyst le 23 Mar 2023
The Regression Learner app on the Apps tab of the Tool ribbon will do that for you.
  2 commentaires
NCA
NCA le 26 Mar 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 le 27 Mar 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by