Where to find model parameters for Classification and Regression Learner Apps?

조회 수: 3 (최근 30일)
Where can I find model parameters such as R squared, RMSE etc for Classification and Regression Learner Apps once the model is exported?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2019년 2월 26일
The exported structure contains the model as one of the fields. This model field in turn contains all the parameters that would be otherwise found in the model output if the corresponding function was invoked. For example, if Regression Learner App is used and "Stepwise Linear Model" is chosen from the drop-down for Model Type, once the training is complete, the RMSE, R squared and other model parameters are displayed in the app. The model can be exported into a structure and its parameters, say for example, R squared can be accessed by:
>> RSquared = trainedModel.LinearModel.Rsquared.Ordinary;
Not all models will have all the parameters. For example, if you use an ensemble of bagged trees in the Classification Learner App, you will not get R squared value. If you are looking for a parameter that is not listed, please check the documentation to ensure it is generated for the type of model you are using.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Classification Learner App에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by