필터 지우기
필터 지우기

Is it correct that the Regression Learner Toolbox uses the best parameters for each model?

조회 수: 3 (최근 30일)
Is it correct that the Regression Learner Toolbox uses the best parameters for each model? For example, in the case of trees, the accuracy depends on how many branches there are. Do regression learners use these parameters most accurately? Do svm, nnr, linear regression, etc. also use parameters with optimal accuracy?

채택된 답변

Yatharth
Yatharth 2023년 9월 5일
Hi,
I understand that you want to know whether the result obtained by the parameters selected by the toolbox are the best results or there is scope of improvement via manual tuning of parameters. However as you mentioned "accuracy" and "Optimal Accuracy" that depends on your data and your expectations from the model.
Let's assume you are using a Linear Regression Model:
Then the model contains an intercept and linear terms for each predictor. A least-square fit is used to determine the model parameters - which are the intercept and the coefficient of the linear term (the predicted response is compared to the true response and then an error is calculated -> algorithm tries to minimize the overall error)
So for the chosen set of parameters, the results are "optimal".
But you can of course tune your model by changing certain hyperparameters which might lead to better predictions. There is always the tradeoff between performance and accuracy. You have to distinguish between accuracy looking at the training data and validation/test data (keyword "overfitting").
I hope this helps.
  댓글 수: 1
Ive J
Ive J 2023년 9월 5일
편집: Ive J 2023년 9월 5일
This doesn't address what OP was asking. More: this is rather a comparison between apples and oranges. In case of a generalized linear model, we estimate true parameters of a model (a parameterized model). This is not the case for other methods in the Regression Learner Toolbox: NNs, GPR, trees, etc. These models have hyperparameters to be optimized in a proper manner (nested CV for instance on the training set). This is not however the case for linear regression. Of course, you can be talking about penalized regression models (LASSO, ridge or elastic nets) which do contain hyperparameters.

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

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