How to use various combinations of samples to build model

3 Ansichten (letzte 30 Tage)
NCA
NCA am 22 Mär. 2023
Kommentiert: Image Analyst am 27 Mär. 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.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by