필터 지우기
필터 지우기

Problem in finding the global minima of a regression model

조회 수: 7 (최근 30일)
Giuseppe Matera
Giuseppe Matera 2022년 1월 31일
댓글: Giuseppe Matera 2022년 2월 2일
Hi,
I have created a regression model using the Matlab Regression Learner App in order to fit the best curve to a series of parameters. I succeed in creating a trainedModel (1x1 struct); however I do not really know what I have to do in order to proceed.
I have exported the model in the workspace and tried to use surrogateopt to find the global minima. The problem is that, being really new to Matlab, I cannot understand why the function does not accept the trainedModel.predictFcn as a valid function.
Could you please give me a sort of guidance I need to follow, as detailed as possible, in order to achieve my objective.
Thanks in advance.
Giuseppe.

채택된 답변

Alan Weiss
Alan Weiss 2022년 2월 1일
If you have a trained regression model then I think that there is nothing left to minimize. The training is, in fact, the solution of the minimum, where the software minimizes the sum of squared differences between the data and the model predictions. This is the best curve you refer to.
Or perhaps I misunderstand what you are trying to do. If so, please ask again with more detail.
Alan Weiss
MATLAB mathematical toolbox documentation
  댓글 수: 12
Alan Weiss
Alan Weiss 2022년 2월 2일
To plot in 4 or 5 dimensions is tough. I am not familiar with a general technique. You could try using parallelplot, but I'm not sure that this will satisfy you.
Alan Weiss
MATLAB mathematical toolbox documentation
Giuseppe Matera
Giuseppe Matera 2022년 2월 2일
I will definitly have a look at it.
Thanks again for all your help and time.
Best regards.
Giuseppe.

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

추가 답변 (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