How to use various combinations of samples to build model

조회 수: 2 (최근 30일)
NCA
NCA 2023년 3월 22일
댓글: Image Analyst 2023년 3월 27일
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.

채택된 답변

Image Analyst
Image Analyst 2023년 3월 23일
The Regression Learner app on the Apps tab of the Tool ribbon will do that for you.
  댓글 수: 2
NCA
NCA 2023년 3월 26일
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 2023년 3월 27일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Support Vector Machine Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by